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
- intellij
- 백준2742
- sqlSessionTemplate
- utf8mb4
- swap
- AWS
- 백준15552
- SpringBoot
- 백준
- 알고리즘
- Oracle
- 11022
- ubuntu
- 백준11022
- 백준2439
- 2438
- @MapperScan
- EC2
- 백준4673
- gradle
- gitlab
- Java
- 백준2438
- SqlSessionFactory
- gitlab삭제
- 언어셋
- 백준11021
- Lombok
- Jenkins
- tomcat
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 | 29 | 30 | 31 |
글 보관함