@Configuration(proxyBeanMethods=false) @ConditionalOnClass(value=javax.persistence.EntityManagerFactory.class) @AutoConfigureAfter(value=HibernateJpaAutoConfiguration.class) public class TestEntityManagerAutoConfiguration extends Object
TestEntityManager
.AutoConfigureTestEntityManager
Constructor and Description |
---|
TestEntityManagerAutoConfiguration() |
Modifier and Type | Method and Description |
---|---|
TestEntityManager |
testEntityManager(EntityManagerFactory entityManagerFactory) |
@Bean @ConditionalOnMissingBean public TestEntityManager testEntityManager(EntityManagerFactory entityManagerFactory)