Top "Entity" questions

In computer science an entity is an object which has an identity and can be uniquely determined, holds storable information or can be processed.

Entity Framework - Is there a way to automatically eager-load child entities without Include()?

Is there a way to decorate your POCO classes to automatically eager-load child entities without having to use Include() every …

entity-framework-4.1 entity code-first entity-framework-4.3
cascade={"remove"} VS orphanRemoval=true VS ondelete="CASCADE

I tried to gather few information about those following way to delete automatically child entity when a parent entity is …

symfony doctrine entity cascade
org.postgresql.util.PSQLException: ERROR: column user0_.id does not exist - Hibernate

I have a model class that is mapped to a postgres database using hibernate. My model class is: @Entity @Table(…

java postgresql hibernate jpa entity
Update entity framework objects

I transfer data between the entity framework and the business layer and user layer by using Data Transfer Objects. I …

entity-framework entity
Should I write equals() and hashCode() methods in JPA entities?

I want to check if entity is in a Collection member (@OneToMany or @ManyToMany) of another entity: if (entity2.getEntities1().…

java jpa entity equals hashcode
What is difference between @Entity and @embeddable

The difference between @entity and @embeddable annotation when each one is added before class declaration? the first create class as …

java hibernate jakarta-ee entity
Symfony2: spl_object_hash() expects parameter 1 to be object, string given in Doctrine

I am trying to populate the database with the object User and Person by executing persist and flush. First of …

database symfony doctrine-orm entity
What are the HTML entities for up and down triangles?

I've found the outlined versions, but I want the solid up and down triangles. Does anyone know these entities?

html entity
Symfony 2.0 getting service inside entity

Im seraching over and cannot find answer. I have database role model in my application. User can have a role …

php service symfony doctrine-orm entity
JPA, How to use the same class (entity) to map different tables?

I have two tables: Ta and Tb. They have exactly the same table structure but different table names. I try …

java jpa entity