public interface EntityManagerFactoryBuilder
Modifier and Type | Field and Description |
---|---|
static String |
JPA_UNIT_NAME
The name of the persistence unit.
|
static String |
JPA_UNIT_PROVIDER
The class name of the provider that registered the service and implements
the JPA javax.persistence.PersistenceProvider interface.
|
static String |
JPA_UNIT_VERSION
The version of the persistence unit bundle.
|
Modifier and Type | Method and Description |
---|---|
EntityManagerFactory |
createEntityManagerFactory(Map<String,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 String JPA_UNIT_NAME
static final String JPA_UNIT_VERSION
static final String JPA_UNIT_PROVIDER
EntityManagerFactory createEntityManagerFactory(Map<String,Object> props)
props
- Properties to be used, in addition to those in the persistence descriptor,
for configuring the EntityManagerFactory for the persistence unit.Copyright © 2013 JBoss by Red Hat. All Rights Reserved.