| Package | Description |
|---|---|
| org.eclipse.persistence.internal.jpa | |
| org.eclipse.persistence.jpa |
| Modifier and Type | Class and Description |
|---|---|
class |
EntityManagerFactoryDelegate
Purpose: Provides the implementation for the EntityManager Factory.
|
class |
EntityManagerFactoryImpl
Wraps our implementation of EntityManagerFactory
Most operations are forwarded to the delegate.
|
| Modifier and Type | Field and Description |
|---|---|
protected JpaEntityManagerFactory |
EntityManagerFactoryDelegate.owner
Pointer to the EntityManagerFactoryImpl that created me
|
| Modifier and Type | Method and Description |
|---|---|
JpaEntityManagerFactory |
EntityManagerFactoryDelegate.getOwner()
INTERNAL:
Get the EntityManagerFactoryImpl that created this
|
| Constructor and Description |
|---|
EntityManagerFactoryDelegate(AbstractSession databaseSession,
JpaEntityManagerFactory owner)
Will return an instance of the Factory.
|
EntityManagerFactoryDelegate(EntityManagerSetupImpl setupImpl,
Map properties,
JpaEntityManagerFactory owner) |
EntityManagerFactoryDelegate(String persistenceUnitName,
Map<String,Object> properties,
List<ClassDescriptor> descriptors,
JpaEntityManagerFactory owner)
Create a dynamic persistence unit which does not use the persistence.xml.
|
| Modifier and Type | Method and Description |
|---|---|
static JpaEntityManagerFactory |
JpaHelper.getEntityManagerFactory(jakarta.persistence.EntityManager em)
Given an EntityManager return the EntityManagerFactory that created it.
|
static JpaEntityManagerFactory |
JpaHelper.getEntityManagerFactory(jakarta.persistence.EntityManagerFactory emf)
Given a JPA EntityManagerFactory attempt to cast it to a EclipseLink EMF.
|
Copyright © 2007–2021 Eclipse.org - EclipseLink Project. All rights reserved.