티스토리 뷰
Mybatis를 공부하기 위해 mapper파일 한개로만 테스트를 진행하고자
하나의 mapper.xml 파일에 dao별로 namespace을 선언하여 사용하려했다.
결론? 안된다.
그래서 하나의 mapper엔 하나의 namespace만 존재할 수 있다.
1:n -> 1:1 (Mapper:Namespace)
위와같이 namespace별로 각각 mapper파일이 필요하다.
Mybatis를 테스트하면서 또 하나 알아간다.
'DATABASE' 카테고리의 다른 글
Oracle / 테이블 스페이스 생성, 계정 생성, 권한 부여하기 (0) | 2025.01.09 |
---|---|
Oracle / M칩 MAC OS 에 Oracle DB 설치하고 접속하기 (0) | 2025.01.08 |
MySQL / ERROR! The server quit without updating PID file. (0) | 2024.01.09 |
Oracle / ORA-00054: resource busy and acquire with NOWAIT specified or timeout expired. (0) | 2023.06.08 |
JPA vs MyBatis 장단점? 차이? (0) | 2022.12.16 |
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
링크
TAG
- colima docker
- 메모리 삭제
- docker context
- colima
- SQL Mapper
- linux 포트중복
- aws git
- aws spring boot
- gitignore 적용안됨
- Mybatis vs JPA
- Linux caches
- Spring Artifact
- Mapper namespcae
- nginx
- vue project
- vue npm
- docker --context
- 리눅스 메모리 캐시
- mysql oracle
- git gitignore
- aws build
- Spring Group
- oracle db
- gitignore 적용오류
- spring boot sh파일
- aws git pull
- Docker
- docker 명령어
- aws
- mybatis
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 | 31 |
글 보관함