목록SQL (2)
wintertreey 님의 블로그
MyBatis란?MyBatis는 자바 개발자들이 데이터베이스를 쉽게 다룰 수 있도록 도와주는오픈 소스 ORM(Object-Relational Mapping) 프레임워크이다. MyBatis의 주요 장점유연성: SQL 쿼리를 직접 작성할 수 있으므로 매우 유연하다. 또한, MyBatis는 동적 쿼리를 작성할 수 있다.간결성: MyBatis는 SQL 쿼리와 프로그래밍 언어 코드를 분리하기 때문에 코드가 간결해져 유지보수에 용이성능: MyBatis는 캐시 기능을 제공하여 데이터베이스 연산 속도를 높일 수 있다.다양한 데이터베이스 지원: MyBatis는 다양한 데이터베이스에 대한 지원을 제공한다. Configuration.xml m..
참고하기https://cafe.daum.net/flowlife/HqLk/60 Daum 카페 cafe.daum.net ++ xml 파일 에러 환경셋팅시 configuration.xml에 에러 발생.preference에서 xml(web)에서 첫번째 체크박스 선택 요. 주의!!!DataMapper.xml작업시 resultType pack.DataDto로 변경요. (이유: 내가 만든 팩이 DataDto 이기에)이 둘이 같아야 한다. ++ 궁금한점!! module 체크박스는 왜 빈칸으로 두어야하는가?? 찾아보니 보안상의 문제부분이나 개발환경시 번거로울수 있기에 체크해제하라고 한것. 동료 HS님의 참고하신 설명글을 추가한다. 모듈 선택 시 module-info.java 파일 생성: 모듈 이름, 의존 모듈,..