Skip to content

Commit 531b6ef

Browse files
authored
[BUG] JpaConfig에 basePackages 설정 (#22)
[BUG] JpaConfig에 basePackages 설정 (#22)
1 parent 2ab48b8 commit 531b6ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/brainpix/jpa/JpaConfig.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
@Configuration
1212
@EnableJpaAuditing
13-
@EnableJpaRepositories(excludeFilters = @ComponentScan.Filter(type = FilterType.ASSIGNABLE_TYPE, classes = AlarmRepository.class))
13+
@EnableJpaRepositories(basePackages = {"com.brainpix"}, excludeFilters = @ComponentScan.Filter(type = FilterType.ASSIGNABLE_TYPE, classes = AlarmRepository.class))
1414
public class JpaConfig {
1515

1616
}

0 commit comments

Comments
 (0)