Package org.hibernate.reactive.provider
Class ReactivePersistenceProvider
- java.lang.Object
-
- org.hibernate.reactive.provider.ReactivePersistenceProvider
-
- All Implemented Interfaces:
jakarta.persistence.spi.PersistenceProvider
public class ReactivePersistenceProvider extends Object implements jakarta.persistence.spi.PersistenceProvider
A JPAPersistenceProvider
for Hibernate Reactive.- See Also:
HibernatePersistenceProvider
-
-
Constructor Summary
Constructors Constructor Description ReactivePersistenceProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description jakarta.persistence.EntityManagerFactory
createContainerEntityManagerFactory(jakarta.persistence.spi.PersistenceUnitInfo info, Map properties)
jakarta.persistence.EntityManagerFactory
createEntityManagerFactory(String persistenceUnitName, Map properties)
void
generateSchema(jakarta.persistence.spi.PersistenceUnitInfo info, Map map)
boolean
generateSchema(String persistenceUnitName, Map map)
protected EntityManagerFactoryBuilder
getEntityManagerFactoryBuilder(jakarta.persistence.spi.PersistenceUnitInfo info, Map<?,?> integration)
protected EntityManagerFactoryBuilder
getEntityManagerFactoryBuilder(PersistenceUnitDescriptor persistenceUnitDescriptor, Map<?,?> integration)
protected EntityManagerFactoryBuilder
getEntityManagerFactoryBuilderOrNull(String persistenceUnitName, Map<?,?> properties)
jakarta.persistence.spi.ProviderUtil
getProviderUtil()
-
-
-
Method Detail
-
createEntityManagerFactory
public jakarta.persistence.EntityManagerFactory createEntityManagerFactory(String persistenceUnitName, Map properties)
Note: per-spec, the values passed asproperties
override values found inpersistence.xml
- Specified by:
createEntityManagerFactory
in interfacejakarta.persistence.spi.PersistenceProvider
-
getEntityManagerFactoryBuilderOrNull
protected EntityManagerFactoryBuilder getEntityManagerFactoryBuilderOrNull(String persistenceUnitName, Map<?,?> properties)
-
createContainerEntityManagerFactory
public jakarta.persistence.EntityManagerFactory createContainerEntityManagerFactory(jakarta.persistence.spi.PersistenceUnitInfo info, Map properties)
Note: per-spec, the values passed asproperties
override values found inPersistenceUnitInfo
- Specified by:
createContainerEntityManagerFactory
in interfacejakarta.persistence.spi.PersistenceProvider
-
generateSchema
public void generateSchema(jakarta.persistence.spi.PersistenceUnitInfo info, Map map)
- Specified by:
generateSchema
in interfacejakarta.persistence.spi.PersistenceProvider
-
generateSchema
public boolean generateSchema(String persistenceUnitName, Map map)
- Specified by:
generateSchema
in interfacejakarta.persistence.spi.PersistenceProvider
-
getEntityManagerFactoryBuilder
protected EntityManagerFactoryBuilder getEntityManagerFactoryBuilder(jakarta.persistence.spi.PersistenceUnitInfo info, Map<?,?> integration)
-
getEntityManagerFactoryBuilder
protected EntityManagerFactoryBuilder getEntityManagerFactoryBuilder(PersistenceUnitDescriptor persistenceUnitDescriptor, Map<?,?> integration)
-
getProviderUtil
public jakarta.persistence.spi.ProviderUtil getProviderUtil()
- Specified by:
getProviderUtil
in interfacejakarta.persistence.spi.PersistenceProvider
-
-