[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
- spring
- mysql
- mybatis-spring
- Connection-Pool
- php
- 설치
- Window10
- mybatis
- pom.xml
- 디스크 없음
- react
- postman
- create-react-app
- root-context.xml
- web.xml이란?
- vscode
- Semantic
- Oracle
- import
- Get
- clss
- cordova
- servlet-context.xml
- jUnit
- Resources
- install
- 디렉터리
- dataSource
- instant
- sqldeveloper
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
글 보관함