Register / Login
Win a copy of
The Little Book of Impediments (e-book only)
this week in the
Agile and Other Processes
Object Relational Mapping
Container OR Application Managed EntityManager s
Ravi Kiran Va
posted 7 years ago
This is for ConatainerManaged
@PersistenceContext EntityManager em;
This is for Application Managed
@PersistenceUnit EntityManagerFactory emf;
Then, obtain an EntityManager
Please tell me why there are two types of FntityManagers and what is best choice ??
Save India From Corruption - Anna Hazare.
EntityTransaction.begin(); and EntityTransaction.commit();
Container-Manager EntityManager - Automatically joins JTA ?
Can I say an entity manager injected into session bean must be container managed?
EJB3 in Action - JTA transaction within a application-managed EntityManager within a container
EntityManager types in JPA