注释类型 AutoConfigureDataJpa
@Target(TYPE) @Retention(RUNTIME) @Documented @Inherited @ImportAutoConfiguration public @interface AutoConfigureDataJpa
Auto-configuration imports
for typical Data JPA tests. Most tests should consider using@DataJpaTest
rather than using this annotation directly.- 从以下版本开始:
- 1.4.0
- 另请参阅:
DataJpaTest