Package org.hibernate.jpa.boot.spi
Class Bootstrap
- java.lang.Object
-
- org.hibernate.jpa.boot.spi.Bootstrap
-
public final class Bootstrap extends Object
Entry into the bootstrap process.
-
-
Method Summary
-
-
-
Method Detail
-
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
-
-