Class TestEntityManagerAutoConfiguration
java.lang.Object
org.springframework.boot.test.autoconfigure.orm.jpa.TestEntityManagerAutoConfiguration
@AutoConfiguration(after=HibernateJpaAutoConfiguration.class)
@ConditionalOnClass(jakarta.persistence.EntityManagerFactory.class)
public class TestEntityManagerAutoConfiguration
extends Object
Auto-configuration for
TestEntityManager
.- Since:
- 1.4.0
- Author:
- Phillip Webb
- See Also:
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
TestEntityManagerAutoConfiguration
public TestEntityManagerAutoConfiguration()
-
-
Method Details
-
testEntityManager
@Bean @ConditionalOnMissingBean public TestEntityManager testEntityManager(EntityManagerFactory entityManagerFactory)
-