728x90
반응형
https://m.blog.naver.com/l1523/221949572078
[Mybatis] 계층적 매핑 resultMap
마이바티스 resultMap <resultMap>은 SQL 외부에 정의된 태그로 SQL 결과 데이터를 어떻게 ...
blog.naver.com
https://europani.tistory.com/212
[Mybatis] resultMap, association, collection
●resultMap : 복잡한 결과매핑을 할때 사용함 (Map은 Mapping을 의미) - id : resultMap의 아이디 - type : resultMap의 자료형(=resultType) SELECT comment_no, user_id, comment_content, reg_date FROM tcomment WHERE comment_no = #{comment
europani.tistory.com
728x90
반응형
'DB' 카테고리의 다른 글
| [MSSQL] NUMERIC DECIMAL 차이 ? (0) | 2023.01.21 |
|---|---|
| [Mybatis] statementType CALLABLE (0) | 2023.01.17 |
| [MyBatis] < selectKey> (0) | 2023.01.12 |
| [DB][MySql] 컬럼 순서 변경 (0) | 2023.01.10 |
| [DB][MSSQL] 컬럼 코멘트 (column comment) 추가, 수정, 삭제 (0) | 2023.01.09 |