Java javax.persistence EntityManagerFactory fields, constructors, methods, implement or subclass

Example usage for Java javax.persistence EntityManagerFactory fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for javax.persistence EntityManagerFactory.

The text is from its open source code.

Implementation

javax.persistence.EntityManagerFactory has the following implementations.
Click this link to see all its implementation.

Method

voidclose()
Close the factory, releasing any resources that it holds.
EntityManagercreateEntityManager()
Create a new application-managed EntityManager.
EntityManagercreateEntityManager(Map map)
Create a new application-managed EntityManager with the specified Map of properties.
EntityManagercreateEntityManager(SynchronizationType synchronizationType)
Create a new JTA application-managed EntityManager with the specified synchronization type.
EntityManagercreateEntityManager(SynchronizationType synchronizationType, Map map)
Create a new JTA application-managed EntityManager with the specified synchronization type and map of properties.
booleanequals(Object obj)
Indicates whether some other object is "equal to" this one.
CachegetCache()
Access the cache that is associated with the entity manager factory (the "second level cache").
ClassgetClass()
Returns the runtime class of this Object .
CriteriaBuildergetCriteriaBuilder()
Return an instance of CriteriaBuilder for the creation of CriteriaQuery objects.
MetamodelgetMetamodel()
Return an instance of Metamodel interface for access to the metamodel of the persistence unit.
MapgetProperties()
Get the properties and associated values that are in effect for the entity manager factory.
inthashCode()
Returns a hash code value for the object.
booleanisOpen()
Indicates whether the factory is open.
StringtoString()
Returns a string representation of the object.
Tunwrap(Class cls)
Return an object of the specified type to allow access to the provider-specific API.