Class Bootstrap


  • public final class Bootstrap
    extends java.lang.Object
    Entry into the bootstrap process.
    • Method Detail

      • getEntityManagerFactoryBuilder

        public static EntityManagerFactoryBuilder getEntityManagerFactoryBuilder​(java.net.URL persistenceXmlUrl,
                                                                                 java.lang.String persistenceUnitName,
                                                                                 java.util.Map integration)
        Intended for use in Hibernate tests
        Parameters:
        persistenceXmlUrl - The URL to a persistence.xml
        persistenceUnitName - The name of the persistence-unit to parse
        integration - setting overrides
        Returns:
        The EMFB
      • getEntityManagerFactoryBuilder

        public static EntityManagerFactoryBuilder getEntityManagerFactoryBuilder​(java.net.URL persistenceXmlUrl,
                                                                                 java.lang.String persistenceUnitName,
                                                                                 PersistenceUnitTransactionType transactionType,
                                                                                 java.util.Map integration)
        Intended for use in Hibernate tests
        Parameters:
        persistenceXmlUrl - The URL to a persistence.xml
        persistenceUnitName - The name of the persistence-unit to parse
        integration - setting overrides
        Returns:
        The EMFB