Class ReactivePersistenceProvider

  • All Implemented Interfaces:
    jakarta.persistence.spi.PersistenceProvider

    public class ReactivePersistenceProvider
    extends Object
    implements jakarta.persistence.spi.PersistenceProvider
    A JPA PersistenceProvider for Hibernate Reactive.
    See Also:
    HibernatePersistenceProvider
    • Constructor Detail

      • ReactivePersistenceProvider

        public ReactivePersistenceProvider()
    • Method Detail

      • createEntityManagerFactory

        public jakarta.persistence.EntityManagerFactory createEntityManagerFactory​(String persistenceUnitName,
                                                                                   Map properties)

        Note: per-spec, the values passed as properties override values found in persistence.xml

        Specified by:
        createEntityManagerFactory in interface jakarta.persistence.spi.PersistenceProvider
      • createContainerEntityManagerFactory

        public jakarta.persistence.EntityManagerFactory createContainerEntityManagerFactory​(jakarta.persistence.spi.PersistenceUnitInfo info,
                                                                                            Map properties)

        Note: per-spec, the values passed as properties override values found in PersistenceUnitInfo

        Specified by:
        createContainerEntityManagerFactory in interface jakarta.persistence.spi.PersistenceProvider
      • generateSchema

        public void generateSchema​(jakarta.persistence.spi.PersistenceUnitInfo info,
                                   Map map)
        Specified by:
        generateSchema in interface jakarta.persistence.spi.PersistenceProvider
      • generateSchema

        public boolean generateSchema​(String persistenceUnitName,
                                      Map map)
        Specified by:
        generateSchema in interface jakarta.persistence.spi.PersistenceProvider
      • getEntityManagerFactoryBuilder

        protected EntityManagerFactoryBuilder getEntityManagerFactoryBuilder​(jakarta.persistence.spi.PersistenceUnitInfo info,
                                                                             Map<?,​?> integration)
      • getProviderUtil

        public jakarta.persistence.spi.ProviderUtil getProviderUtil()
        Specified by:
        getProviderUtil in interface jakarta.persistence.spi.PersistenceProvider