| Modifier and Type | Field and Description |
|---|---|
| public static final String | JPA_CAPABILITY_NAME
The name of the JPA extender capability. |
| public static final String | JPA_SPECIFICATION_VERSION
The version of the extender capability for the JPA Service specification |
| public static final String | JPA_UNIT_NAME
The name of the persistence unit. |
| public static final String | JPA_UNIT_PROVIDER
The class name of the provider that registered the service and implements the JPA javax.persistence.PersistenceProvider interface. |
| public static final String | JPA_UNIT_VERSION
The version of the persistence unit bundle. |
| Modifier and Type | Method and Description |
|---|---|
| public EntityManagerFactory | Returns: An EntityManagerFactory for the persistence unit associated with this service. Must not be null.Properties to be used, in addition to those in the
persistence descriptor, for configuring the EntityManagerFactory
for the persistence unit. 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. |
| public Bundle | Returns: The Bundle which provides thePersistenceProvider
implementation used by this EntityManagerFactoryBuilder.This method returns the |
| public String | Returns: the name of thePersistenceProvider implementationThis method returns the name of the |
| JPA_CAPABILITY_NAME | back to summary |
|---|---|
| public static final String JPA_CAPABILITY_NAME The name of the JPA extender capability.
| |
| JPA_SPECIFICATION_VERSION | back to summary |
|---|---|
| public static final String JPA_SPECIFICATION_VERSION The version of the extender capability for the JPA Service specification
| |
| JPA_UNIT_NAME | back to summary |
|---|---|
| public static final String JPA_UNIT_NAME The name of the persistence unit. | |
| JPA_UNIT_PROVIDER | back to summary |
|---|---|
| public static final String JPA_UNIT_PROVIDER The class name of the provider that registered the service and implements the JPA javax.persistence.PersistenceProvider interface. | |
| JPA_UNIT_VERSION | back to summary |
|---|---|
| public static final String JPA_UNIT_VERSION The version of the persistence unit bundle. | |
| createEntityManagerFactory | back to summary |
|---|---|
| public 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.
| |
| getPersistenceProviderBundle | back to summary |
|---|---|
| public Bundle getPersistenceProviderBundle() This method returns the
If the
| |
| getPersistenceProviderName | back to summary |
|---|---|
| public String getPersistenceProviderName() This method returns the name of the
| |