public interface EntityManagerFactoryBuilder
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
JPA_UNIT_NAME
The name of the persistence unit.
|
static java.lang.String |
JPA_UNIT_PROVIDER
The class name of the provider that registered the service and implements
the JPA javax.persistence.PersistenceProvider interface.
|
static java.lang.String |
JPA_UNIT_VERSION
The version of the persistence unit bundle.
|
Modifier and Type | Method and Description |
---|---|
javax.persistence.EntityManagerFactory |
createEntityManagerFactory(java.util.Map<java.lang.String,java.lang.Object> props)
Return an EntityManagerFactory instance configured according to the
properties defined in the corresponding persistence descriptor, as well
as the properties passed into the method.
|
static final java.lang.String JPA_UNIT_NAME
static final java.lang.String JPA_UNIT_VERSION
static final java.lang.String JPA_UNIT_PROVIDER
javax.persistence.EntityManagerFactory createEntityManagerFactory(java.util.Map<java.lang.String,java.lang.Object> props)
props
- Properties to be used, in addition to those in the
persistence descriptor, for configuring the EntityManagerFactory
for the persistence unit.