[Spring boot] Bank App - MyBatis 설정 (DB 접근 기술)
·
Spring
🚀 학습 목표1. MyBatis 란 뭘까?2. MyBatis 의존성 설정 확인3. yml 파일 매퍼 설정 확인4. mapper 패키지 및 xml 파일 생성 📌 MyBatis 설정# MyBatis 설정mybatis: mapper-locations: - classpath:mapper/**/*.xml # MyBatis 매퍼 파일 경로 설정 (모든 XML 매퍼 파일 포함) configuration: map-underscore-to-camel-case: true # 데이터베이스의 언더스코어 네이밍을 카멜 케이스로 자동 매핑 log-impl: org.apache.ibatis.logging.stdout.StdOutImpl # MyBatis SQL 로그를 콘솔에 출력🔹 1. MyBatis란?..