public class EntityManagerFactoryBasedFunctionalTest extends BaseUnitTest implements EntityManagerFactoryProducer, EntityManagerFactoryScopeContainer
| Modifier and Type | Class and Description |
|---|---|
static class |
EntityManagerFactoryBasedFunctionalTest.TestingPersistenceUnitDescriptorImpl |
| Modifier and Type | Field and Description |
|---|---|
protected static Class<?>[] |
NO_CLASSES |
protected static String[] |
NO_MAPPINGS |
| Constructor and Description |
|---|
EntityManagerFactoryBasedFunctionalTest() |
castprotected static final String[] NO_MAPPINGS
protected static final Class<?>[] NO_CLASSES
public EntityManagerFactoryBasedFunctionalTest()
public EntityManagerFactory produceEntityManagerFactory()
produceEntityManagerFactory in interface EntityManagerFactoryProducerpublic void injectEntityManagerFactoryScope(EntityManagerFactoryScope scope)
EntityManagerFactoryScopeContainerinjectEntityManagerFactoryScope in interface EntityManagerFactoryScopeContainerpublic EntityManagerFactoryProducer getEntityManagerFactoryProducer()
EntityManagerFactoryScopeContainerEntityManagerFactoryProducer. Quite often this is also
implemented by the container itself.getEntityManagerFactoryProducer in interface EntityManagerFactoryScopeContainerprotected EntityManagerFactoryScope entityManagerFactoryScope()
protected EntityManagerFactory entityManagerFactory()
protected void entityManagerFactoryBuilt(EntityManagerFactory factory)
protected boolean strictJpaCompliance()
protected boolean exportSchema()
protected String[] getMappings()
protected void addConfigOptions(Map options)
protected Class<?>[] getAnnotatedClasses()
public String[] getEjb3DD()
protected org.hibernate.jpa.boot.spi.PersistenceUnitDescriptor buildPersistenceUnitDescriptor()
@AfterEach public final void afterTest()
protected boolean isCleanupTestDataRequired()
protected void cleanupTestData()
protected void inTransaction(Consumer<EntityManager> action)
protected <T> T inTransaction(Function<EntityManager,T> action)
Copyright © 2001-2019 Red Hat, Inc. All Rights Reserved.