[Spring] Mybatis 연동 (1) root-context.xml 파일에SqlSessionFactory와 SqlSession 설정을 추가해야한다. mybatis에서 SqlSession을 생성하기 위해 SqlSessionFactory를 사용한다. (참고 - http://www.mybatis.org/spring/ko/getting-started.html) mybatis와 spring 연동을 위해 pom.xml에mybatis, mybatis-spring 2개의 라이브러리를 추가한다. 마이바티스는 개발자가 지정한 SQL, 저장프로시저 그리고 몇가지 고급 매핑을 지원하는 퍼시스턴스 프레임워크이다. 마이바티스는 JDBC로 처리하는 상당부분의 코드와 파라미터 설정및 결과 매핑을 대신해준다. 마이바티스는 데이터..
Study/Spring
2018. 12. 24. 17:02
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
링크
TAG
- mybatis-spring
- react
- mysql
- Connection-Pool
- pom.xml
- dataSource
- clss
- Window10
- jUnit
- php
- 디렉터리
- root-context.xml
- Semantic
- spring
- sqldeveloper
- Resources
- postman
- web.xml이란?
- vscode
- instant
- Oracle
- servlet-context.xml
- 설치
- install
- cordova
- mybatis
- Get
- import
- 디스크 없음
- create-react-app
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
글 보관함