public class HibernatePersistenceProvider extends Object implements PersistenceProvider
PersistenceProvider
implementationConstructor and Description |
---|
HibernatePersistenceProvider() |
public EntityManagerFactory createEntityManagerFactory(String persistenceUnitName, Map properties)
properties
override values found in persistence.xml
createEntityManagerFactory
in interface PersistenceProvider
protected EntityManagerFactoryBuilder getEntityManagerFactoryBuilderOrNull(String persistenceUnitName, Map properties)
protected EntityManagerFactoryBuilder getEntityManagerFactoryBuilderOrNull(String persistenceUnitName, Map properties, ClassLoader providedClassLoader)
protected EntityManagerFactoryBuilder getEntityManagerFactoryBuilderOrNull(String persistenceUnitName, Map properties, ClassLoaderService providedClassLoaderService)
public EntityManagerFactory createContainerEntityManagerFactory(PersistenceUnitInfo info, Map properties)
properties
override values found in PersistenceUnitInfo
createContainerEntityManagerFactory
in interface PersistenceProvider
public void generateSchema(PersistenceUnitInfo info, Map map)
generateSchema
in interface PersistenceProvider
public boolean generateSchema(String persistenceUnitName, Map map)
generateSchema
in interface PersistenceProvider
protected EntityManagerFactoryBuilder getEntityManagerFactoryBuilder(PersistenceUnitInfo info, Map integration)
protected EntityManagerFactoryBuilder getEntityManagerFactoryBuilder(PersistenceUnitDescriptor persistenceUnitDescriptor, Map integration, ClassLoader providedClassLoader)
protected EntityManagerFactoryBuilder getEntityManagerFactoryBuilder(PersistenceUnitDescriptor persistenceUnitDescriptor, Map integration, ClassLoaderService providedClassLoaderService)
public ProviderUtil getProviderUtil()
getProviderUtil
in interface PersistenceProvider
Copyright © 2001-2021 Red Hat, Inc. All Rights Reserved.