ax-boot-framework icon indicating copy to clipboard operation
ax-boot-framework copied to clipboard

JPA Data Source 두개 사용하는데 오류

Open humbledude opened this issue 7 years ago • 0 comments

JPA 용 Data Source 를 2개 설정해 보았는데요, SchemaGenerator 에서 No qualifying bean of type... 에러가 발생 합니다. (2개의 DataSource 셋업에서 같은 type의 bean 이 정의 되어서 그렇습니다)

SchemaGenerator 에서 Autowired 로 가져오는 bean 을 Qualifier 라든지 사용해서 좀 더 제한 해두면, 이런 문제가 없을꺼 같은데요..

humbledude avatar Feb 12 '18 06:02 humbledude