mybatis

spring/spring db2

4. 데이터 접근 기술 - MyBatis(springboot, gradle)

1. MyBatis 소개 JdbcTemplate 보다 더 많은 기능을 제공하는 SQL Mapper JdbcTempate이 제공하는 대부분의 기능을 제공 SQL을 XML에 편리하게 작성 및 동적 쿼리를 매우 편리하게 작성 가능 project에서 동적 쿼리와 복잡한 쿼리가 많을 시 MyBatis를 사용하고, 단순 쿼리가 많을 시, JdbcTemplate을 선택해서 사용하면 된다. MyBatis 공식 사이트 : https://mybatis.org/mybatis-3/ko/index.html 현재 수행하는 MyBatis 방식은 spring boot에서 권장하는 방식 1.1. spring(maven)에서 spring boot(gradle)에서 Mybatis 사용방법 차이점 spring - maven pom.xml ..

wooweee
'mybatis' 태그의 글 목록