| Package | Description |
|---|---|
| javax.persistence |
Jakarta Persistence is the API for the management for persistence and object/relational mapping.
|
| javax.persistence.spi |
SPI for Jakarta Persistence providers
|
| org.eclipse.persistence.javax.persistence.osgi | |
| org.osgi.service.jpa |
| Modifier and Type | Method and Description |
|---|---|
static EntityManagerFactory |
Persistence.createEntityManagerFactory(String persistenceUnitName)
Create and return an EntityManagerFactory for the named
persistence unit.
|
static EntityManagerFactory |
Persistence.createEntityManagerFactory(String persistenceUnitName,
Map properties)
Create and return an EntityManagerFactory for the named persistence unit
using the given properties.
|
EntityManagerFactory |
EntityManager.getEntityManagerFactory()
Return the entity manager factory for the entity manager.
|
| Modifier and Type | Method and Description |
|---|---|
EntityManagerFactory |
PersistenceProvider.createContainerEntityManagerFactory(PersistenceUnitInfo info,
Map map)
Called by the container when an
EntityManagerFactory
is to be created. |
EntityManagerFactory |
PersistenceProvider.createEntityManagerFactory(String emName,
Map map)
Called by
Persistence class when an
EntityManagerFactory is to be created. |
| Modifier and Type | Method and Description |
|---|---|
EntityManagerFactory |
OSGiProviderResolver.createContainerEntityManagerFactory(PersistenceUnitInfo info,
Map props) |
EntityManagerFactory |
OSGiProviderResolver.createEntityManagerFactory(String unitName,
Map props) |
EntityManagerFactory |
OSGiProviderResolver.lookupEMF(String unitName)
Look up the Entity Manager Factory service based on the unit name.
|
EntityManagerFactory |
OSGiProviderResolver.lookupEMFBuilder(String unitName,
Map<?,?> props)
Look up the Entity Manager Factory Builder service based on the unit name.
|
| Modifier and Type | Method and Description |
|---|---|
EntityManagerFactory |
EntityManagerFactoryBuilder.createEntityManagerFactory(Map 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.
|
Copyright © 2019 Eclipse.org - EclipseLink Project. All rights reserved.