Package org.hibernate.jpa.boot.spi
Class Bootstrap
java.lang.Object
org.hibernate.jpa.boot.spi.Bootstrap
Entry into the bootstrap process.
-
Method Summary
Modifier and TypeMethodDescriptionstatic EntityManagerFactoryBuilder
getEntityManagerFactoryBuilder
(PersistenceUnitInfo persistenceUnitInfo, Map integration) static EntityManagerFactoryBuilder
getEntityManagerFactoryBuilder
(PersistenceUnitInfo persistenceUnitInfo, Map integration, ClassLoader providedClassLoader) static EntityManagerFactoryBuilder
getEntityManagerFactoryBuilder
(PersistenceUnitInfo persistenceUnitInfo, Map integration, Consumer<EntityManagerFactoryBuilderImpl.MergedSettings> mergedSettingsBaseline) For tests onlystatic EntityManagerFactoryBuilder
getEntityManagerFactoryBuilder
(PersistenceUnitInfo persistenceUnitInfo, Map integration, ClassLoaderService providedClassLoaderService) static EntityManagerFactoryBuilder
getEntityManagerFactoryBuilder
(URL persistenceXmlUrl, String persistenceUnitName, PersistenceUnitTransactionType transactionType, Map integration) Intended for use in Hibernate testsstatic EntityManagerFactoryBuilder
getEntityManagerFactoryBuilder
(URL persistenceXmlUrl, String persistenceUnitName, Map integration) Intended for use in Hibernate testsstatic EntityManagerFactoryBuilder
getEntityManagerFactoryBuilder
(PersistenceUnitDescriptor persistenceUnitDescriptor, Map integration) static EntityManagerFactoryBuilder
getEntityManagerFactoryBuilder
(PersistenceUnitDescriptor persistenceUnitDescriptor, Map integration, ClassLoader providedClassLoader) static EntityManagerFactoryBuilder
getEntityManagerFactoryBuilder
(PersistenceUnitDescriptor persistenceUnitDescriptor, Map integration, Consumer<EntityManagerFactoryBuilderImpl.MergedSettings> mergedSettingsBaseline) For tests onlystatic EntityManagerFactoryBuilder
getEntityManagerFactoryBuilder
(PersistenceUnitDescriptor persistenceUnitDescriptor, Map integration, ClassLoaderService providedClassLoaderService)
-
Method Details
-
getEntityManagerFactoryBuilder
public static EntityManagerFactoryBuilder getEntityManagerFactoryBuilder(PersistenceUnitDescriptor persistenceUnitDescriptor, Map integration) -
getEntityManagerFactoryBuilder
public static EntityManagerFactoryBuilder getEntityManagerFactoryBuilder(URL persistenceXmlUrl, String persistenceUnitName, Map integration) Intended for use in Hibernate tests- Parameters:
persistenceXmlUrl
- The URL to a persistence.xmlpersistenceUnitName
- The name of the persistence-unit to parseintegration
- setting overrides- Returns:
- The EMFB
-
getEntityManagerFactoryBuilder
public static EntityManagerFactoryBuilder getEntityManagerFactoryBuilder(URL persistenceXmlUrl, String persistenceUnitName, PersistenceUnitTransactionType transactionType, Map integration) Intended for use in Hibernate tests- Parameters:
persistenceXmlUrl
- The URL to a persistence.xmlpersistenceUnitName
- The name of the persistence-unit to parseintegration
- setting overrides- Returns:
- The EMFB
-
getEntityManagerFactoryBuilder
public static EntityManagerFactoryBuilder getEntityManagerFactoryBuilder(PersistenceUnitDescriptor persistenceUnitDescriptor, Map integration, ClassLoader providedClassLoader) -
getEntityManagerFactoryBuilder
public static EntityManagerFactoryBuilder getEntityManagerFactoryBuilder(PersistenceUnitDescriptor persistenceUnitDescriptor, Map integration, ClassLoaderService providedClassLoaderService) -
getEntityManagerFactoryBuilder
@Internal public static EntityManagerFactoryBuilder getEntityManagerFactoryBuilder(PersistenceUnitDescriptor persistenceUnitDescriptor, Map integration, Consumer<EntityManagerFactoryBuilderImpl.MergedSettings> mergedSettingsBaseline) For tests only -
getEntityManagerFactoryBuilder
public static EntityManagerFactoryBuilder getEntityManagerFactoryBuilder(PersistenceUnitInfo persistenceUnitInfo, Map integration) -
getEntityManagerFactoryBuilder
public static EntityManagerFactoryBuilder getEntityManagerFactoryBuilder(PersistenceUnitInfo persistenceUnitInfo, Map integration, ClassLoader providedClassLoader) -
getEntityManagerFactoryBuilder
public static EntityManagerFactoryBuilder getEntityManagerFactoryBuilder(PersistenceUnitInfo persistenceUnitInfo, Map integration, ClassLoaderService providedClassLoaderService) -
getEntityManagerFactoryBuilder
@Internal public static EntityManagerFactoryBuilder getEntityManagerFactoryBuilder(PersistenceUnitInfo persistenceUnitInfo, Map integration, Consumer<EntityManagerFactoryBuilderImpl.MergedSettings> mergedSettingsBaseline) For tests only
-