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.

Symfony2 - Access repository functions in Entity

Let's say that I have two tables in my database : Rabbits and Carrots. Rabbits can have 0 or multiples carrots and …

symfony entity
find out the differences between two java beans for version tracking

say i have a java bean/an entity with 100 fields (inherited or not it is not relevant in this case). …

java entity javabeans
Entity Framework 6 Error Unable to load the specified metadata resource

I'm using Entity Framework 6 and "model first" in my solution, I separated my "Data Model" classes into another project, so …

c# entity-framework entity-framework-4 entity-framework-5 entity
Doctrine2 - Get entity ID before flush

Is there any way to get an entity ID before the persist/flush? I mean: $entity = new PointData(); $form = $this-&…

doctrine-orm entity flush persist
JPA - multiple jars defining @Entity objects

We are developing a web application with Spring, Hibernate and Maven in a very modular fashion. There are core projects …

hibernate jpa annotations entity
Entity Framework 4.1 InverseProperty Attribute and ForeignKey

I will create two references between Employee and Team entities with foreign keys. So I defined two entities as follow …

c# mapping entity entity-framework-4.1 cascading-deletes
JPA entity id - long or Long

Should the ID of your Entity be long (primitive type) or Long (object type)? The ID is the primary key …

hibernate jpa types entity long-integer
OneToMany relationship is not working

My Tables: Product: id, name Offer: id, value, product_id Entities: @Entity @Table(name="product") public class Product implements Serializable { @…

java jpa entity one-to-many
Serialize Entity Framework object with children to XML file

I'm querying data with parent/child result sets using Entity Framework and I want to export this data to an …

entity-framework xml-serialization entity eager-loading xmlwriter
How to do recursive load with Entity framework?

I have a tree structure in the DB with TreeNodes table. the table has nodeId, parentId and parameterId. in the …

entity-framework load entity recursion