본문 바로가기 메뉴 바로가기

Deve1oper

프로필사진
  • 글쓰기
  • 관리
  • 태그
  • 방명록
  • RSS

Deve1oper

검색하기 폼
  • 분류 전체보기 (18)
    • Linux (2)
    • JAVA (0)
    • React & Vue (1)
    • Spring & Spring Boot (2)
    • AWS & DOCKER (6)
    • DATABASE (6)
    • AHK (0)
    • VBA (0)
    • Git (1)
  • 방명록

Mapper namespcae (1)
Mybatis / 하나의 Mapper에 Namespace 여러개 선언?

Mybatis를 공부하기 위해 mapper파일 한개로만 테스트를 진행하고자 하나의 mapper.xml 파일에 dao별로 namespace을 선언하여 사용하려했다. 결론? 안된다. 그래서 하나의 mapper엔 하나의 namespace만 존재할 수 있다. 1:n -> 1:1 (Mapper:Namespace) 위와같이 namespace별로 각각 mapper파일이 필요하다. Mybatis를 테스트하면서 또 하나 알아간다.

DATABASE 2022. 12. 10. 16:48
이전 1 다음
이전 다음
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
TAG
  • Spring Group
  • linux 포트중복
  • docker 명령어
  • mysql oracle
  • oracle db
  • spring boot sh파일
  • colima
  • 메모리 삭제
  • aws git
  • Mybatis vs JPA
  • 리눅스 메모리 캐시
  • gitignore 적용오류
  • docker --context
  • vue npm
  • Docker
  • SQL Mapper
  • docker context
  • mybatis
  • nginx
  • git gitignore
  • colima docker
  • Linux caches
  • gitignore 적용안됨
  • aws git pull
  • Mapper namespcae
  • vue project
  • aws spring boot
  • Spring Artifact
  • aws build
  • aws
more
«   2025/07   »
일 월 화 수 목 금 토
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
글 보관함

Blog is powered by Tistory / Designed by Tistory

티스토리툴바