Abdulkadir Selçukoğlu (JAVA Notlarım)
Friday, April 6, 2012
EJB EntityManager Example
1 -
@PersistenceContext(unitName = "EJB_ApplicationPU")
EntityManager em;
2 -
EntityManagerFactory emf = Persistence.createEntityManagerFactory("EJB_ApplicationPU");
EntityManager em = emf.createEntityManager();
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment