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 |
---|---|
javax.persistence.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
javax.persistence.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 © OSGi Alliance (2000, 2015). All Rights Reserved. Licensed under the OSGi Specification License, Version 2.0