To set custom locations
for scanning repositories and entities of Spring Data JPA in Spring Boot,
add the following annotations:
@EnableJpaRepositories(basePackages = "com.izeye.application.core.repository")
@EntityScan(basePackages = "com.izeye.application.core.domain")
No comments:
Post a Comment