Cannot use both: sqlSessionTemplate and sqlSessionFactory together. sqlSessionFactory is ignored.
@MapperScan을 사용하면 WARN 77008 --- [ restartedMain] o.m.s.mapper.ClassPathMapperScanner : Cannot use both: sqlSessionTemplate and sqlSessionFactory together. sqlSessionFactory is ignored. 위와 같은 warn이 나오게 되는데 @MapperScan(basePackages = {"conn.multiple.dbtwo.**.dao"}, sqlSessionFactoryRef = "oracleTwoSqlSessionFactory", sqlSessionTemplateRef = "oracleTwoSqlSessionTemplate") 위와 같이 @MapperScan에 'sqlSe..
개발/Spring boot
2019. 12. 10. 09:59
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
링크
TAG
- 2438
- 백준11021
- SpringBoot
- Java
- tomcat
- Oracle
- utf8mb4
- intellij
- 11022
- 백준
- 백준4673
- swap
- EC2
- @MapperScan
- AWS
- Jenkins
- gradle
- 백준15552
- ubuntu
- gitlab삭제
- 백준2439
- gitlab
- sqlSessionTemplate
- 알고리즘
- 백준2742
- 언어셋
- 백준11022
- Lombok
- SqlSessionFactory
- 백준2438
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |
글 보관함