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.

How to get Id of last persisted entity using JPA

I am looking a smart and easily readable way to get the id of a persisted entity using JPA. The …

java jpa entity
custom query in entity field type

I build a form with entity type like this: $form = $this->createFormBuilder() ->add('users', 'entity', array( 'class' =&…

symfony entity dql
MapStruct implementation is not working in Spring Boot Web Application

I am a newbie to Spring Boot and MapStruct Tool. Earlier, A Project(written by other team using these technologies) …

spring-boot entity dto mapstruct
How to make Entity Framework cache some objects

I'm using Entity Framework. In my database are stored persons and country of their origins. When I'm loading a person …

.net entity-framework entity
Symfony2: get the id of the persisted object

I have two entity: User and Person. In the entity User I need the id of the associated person: user_…

database symfony persistence entity
How to access the entity inside the buildForm method of a form

I'm trying to get the entity inside the own form. I lazy remember a getData() method, but it doesn't exist …

forms symfony get entity
Entities equals(), hashCode() and toString(). How to correctly implement them?

I'm implementing equals(), hashCode() and toString() of my entities using all the available fields in the bean. I'm getting some …

java hibernate orm entity
Data binding directly to a store query (DbSet, DbQuery, DbSqlQuery) is not supported

Am coding on visual studio 2012 and using Entity Model as my Data layer. However, my drop down control with the …

c# linq visual-studio data-binding entity
JPA 2.0: Adding entity classes to PersistenceUnit *from different jar* automatically

I have a maven-built CDI-based Java SE app, which has a core module, and other modules. Core has the persistence.…

hibernate configuration entity jpa-2.0 entities
How to join two unrelated entities using JPA and Hibernate

I have two tables - one containing Address and another containing Photographs. The only common field between them is the …

java hibernate jpa join entity