PersistenceProvider.
| Modifier and Type | Field and Description |
|---|---|
| private final PersistenceUtilHelper. | |
| private static final Logger | |
| private final ProviderUtil |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public EntityManagerFactory | createContainerEntityManagerFactory(PersistenceUnitInfo
metadata for use by the persistence provider info, Map<K, V> a Map of integration-level properties for use
by the persistence provider (may be null if no properties
are specified). These properties may include properties to
control schema generation.
If a Bean Validation provider is present in the classpath,
the container must pass the properties)ValidatorFactory instance in
the map with the key "jakarta.persistence.validation.factory".
If the containing archive is a bean archive, the container
must pass the BeanManager instance in the map with the key
"jakarta.persistence.bean.manager".Implements jakarta. EntityManagerFactory
is to be created.
|
| public EntityManagerFactory | createEntityManagerFactory(String
the name of the persistence unit persistenceUnitName, Map<K, V> a Map of properties for use by the
persistence provider. These properties may be used to
override the values of the corresponding elements in
the properties)persistence.xml file or specify values for
properties not specified in the persistence.xml
(and may be null if no properties are specified).Implements jakarta. Persistence class when an
EntityManagerFactory is to be created.
|
| public void | generateSchema(PersistenceUnitInfo
metadata for use by the persistence provider info, Map<K, V> properties for schema generation; these may
also include provider-specific properties map)Implements jakarta. |
| public boolean | generateSchema(String
the name of the persistence unit persistenceUnitName, Map<K, V> properties for schema generation; these may
also contain provider-specific properties. The
value of these properties override any values that
may have been configured elsewhere. map)Implements jakarta. |
| protected EntityManagerFactoryBuilder | |
| protected EntityManagerFactoryBuilder | getEntityManagerFactoryBuilder(PersistenceUnitDescriptor persistenceUnitDescriptor, Map<?, ?> integration, ClassLoader providedClassLoader)
|
| protected EntityManagerFactoryBuilder | getEntityManagerFactoryBuilder(PersistenceUnitDescriptor persistenceUnitDescriptor, Map<?, ?> integration, ClassLoaderService providedClassLoaderService)
|
| protected EntityManagerFactoryBuilder | |
| protected EntityManagerFactoryBuilder | getEntityManagerFactoryBuilderOrNull(String persistenceUnitName, Map<?, ?> properties, ClassLoader providedClassLoader)
|
| protected EntityManagerFactoryBuilder | getEntityManagerFactoryBuilderOrNull(String persistenceUnitName, Map<?, ?> properties, ClassLoaderService providedClassLoaderService)
|
| private EntityManagerFactoryBuilder | getEntityManagerFactoryBuilderOrNull(String persistenceUnitName, Map<?, ?> properties, ClassLoader providedClassLoader, ClassLoaderService providedClassLoaderService)
|
| public ProviderUtil | getProviderUtil()
Implements jakarta. |
| protected static Map |
| cache | back to summary |
|---|---|
| private final PersistenceUtilHelper. | |
| log | back to summary |
|---|---|
| private static final Logger log | |
| providerUtil | back to summary |
|---|---|
| private final ProviderUtil providerUtil | |
| HibernatePersistenceProvider | back to summary |
|---|---|
| public HibernatePersistenceProvider() | |
| createContainerEntityManagerFactory | back to summary |
|---|---|
| public EntityManagerFactory createContainerEntityManagerFactory(PersistenceUnitInfo info, Map<K, V> properties) Implements jakarta. Doc from jakarta. Called by the container when an Note per-spec, the values passed as
| |
| createEntityManagerFactory | back to summary |
|---|---|
| public EntityManagerFactory createEntityManagerFactory(String persistenceUnitName, Map<K, V> properties) Implements jakarta. Doc from jakarta. Called by Implementation Specification Per the specification, the values passed as
| |
| generateSchema | back to summary |
|---|---|
| public void generateSchema(PersistenceUnitInfo info, Map<K, V> map) Implements jakarta. Doc from jakarta. Create database schemas and/or tables and/or create DDL scripts as determined by the supplied properties. Called by the container when schema generation is to occur as a separate phase from creation of the entity manager factory.
| |
| generateSchema | back to summary |
|---|---|
| public boolean generateSchema(String persistenceUnitName, Map<K, V> map) Implements jakarta. Doc from jakarta. Create database schemas and/or tables and/or create DDL scripts as determined by the supplied properties. Called by the Persistence class when schema generation is to occur as a separate phase from creation of the entity manager factory.
| |
| getEntityManagerFactoryBuilder | back to summary |
|---|---|
| protected EntityManagerFactoryBuilder getEntityManagerFactoryBuilder(PersistenceUnitInfo info, Map<?, ?> integration) | |
| getEntityManagerFactoryBuilder | back to summary |
|---|---|
| protected EntityManagerFactoryBuilder getEntityManagerFactoryBuilder(PersistenceUnitDescriptor persistenceUnitDescriptor, Map<?, ?> integration, ClassLoader providedClassLoader) | |
| getEntityManagerFactoryBuilder | back to summary |
|---|---|
| protected EntityManagerFactoryBuilder getEntityManagerFactoryBuilder(PersistenceUnitDescriptor persistenceUnitDescriptor, Map<?, ?> integration, ClassLoaderService providedClassLoaderService) | |
| getEntityManagerFactoryBuilderOrNull | back to summary |
|---|---|
| protected EntityManagerFactoryBuilder getEntityManagerFactoryBuilderOrNull(String persistenceUnitName, Map<?, ?> properties) | |
| getEntityManagerFactoryBuilderOrNull | back to summary |
|---|---|
| protected EntityManagerFactoryBuilder getEntityManagerFactoryBuilderOrNull(String persistenceUnitName, Map<?, ?> properties, ClassLoader providedClassLoader) | |
| getEntityManagerFactoryBuilderOrNull | back to summary |
|---|---|
| protected EntityManagerFactoryBuilder getEntityManagerFactoryBuilderOrNull(String persistenceUnitName, Map<?, ?> properties, ClassLoaderService providedClassLoaderService) | |
| getEntityManagerFactoryBuilderOrNull | back to summary |
|---|---|
| private EntityManagerFactoryBuilder getEntityManagerFactoryBuilderOrNull(String persistenceUnitName, Map<?, ?> properties, ClassLoader providedClassLoader, ClassLoaderService providedClassLoaderService) | |
| getProviderUtil | back to summary |
|---|---|
| public ProviderUtil getProviderUtil() Implements jakarta. Doc from jakarta. Return the utility interface implemented by the persistence provider.
| |
| wrap | back to summary |
|---|---|
| protected static Map | |