Objects that leave the persistence layer are called detached objects
The set of managed entity instances within an entity manager at any
given time is called its persistence context.
There is an one-to-one correspondence between an EntityManagerFactory and a persistence unit.
----------------------------
correspondence timeunit ?
----------------------------
EntityManagerFactory emf =
Persistence.createEntityManagerFactory("EmployeeService");
1 to 1 EntityManagerFactory and persistence unit
No comments:
Post a Comment