Top "Entitymanager" questions

The EntityManager is the representation of a PersistenceContext, allowing a user to manipulate data pulled from a database.

JPA @OneToOne throws Error when mapped to an abstract @Entity with subclasses

I have a problem when an Entity is mapped to another Entity which has a direct implementation on its subclasses. …

java hibernate jpa entitymanager one-to-one
how to @FilterJoinTable with EntityManager in Hibernate JPA?

I would like to limit the data that is coming from OneToMany relation. In my program the boss account can …

hibernate entitymanager hibernate-entitymanager
How to use JUnit tests with Spring Roo? (Problems with EntityManager)

I'm trying to write a JUnit test for a Spring Roo project. If my test requires use of the entity …

java junit spring-roo entitymanager
Cannot use JPA EntityManager

I would like to implement a program in Java able to interact with a database. I have already done something …

hibernate jpa persistence entitymanager persistence.xml
When using JPA entityManager why do you have to merge before you remove?

For a while now I have been wondering why when using JPA, do I have to write my delete methods …

jpa merge jpa-2.0 entitymanager