Very good discussion and I learned some good points from this thread.
But i have some basic questions regard to this thread content:
-What is different between two following mechanisms?
[code]
@PersistenceUnit(unitName = "RCCLPU")
private EntityManagerFactory emf;
[/code]
and
[code]
private static EntityManagerFactory emf =
Persistence.createEntityManagerFactory("RCCLPU");
[/code]
- What are different between UserTransaction and EntityTransaction ?
- What are differences between "Container Managed" Entity Manager and
"Application Managed" one?
Thanks
--
View this message in context: http://www.nabble.com/Surprising-JPA-%28Toplink%29-Behaviour--%28glassfish-v1-UR1%29-tf3411814.html#a9536555
Sent from the java.net - glassfish users mailing list archive at Nabble.com.