EntityManagerFactory

EntityManagerFactory creates EntityManager. EntityManagerFactory itself is obtained by calling a static Persistence.createEntityManagerFactory method. An argument to this function is a persistence-unit name that you have specified in persistence.xml.

Get Java EE 8 Development with Eclipse now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.