JPA vs MyBatis 장단점? 차이?
JPA와 MyBatis의 장단점으로 차이를 알아보고자 한다. JPA JPA는 JAVA ORM(Object Relational Mapping) 기술에 대한 API 표준 명세이며 Spring Data JPA를 통해 사용한다. DB 데이터와 Object와 매핑시킨다. - 장점 1. MySQL, MS-SQL, Oracle등 RDB에 종속적이지 않다. → 각 DB별 특정 쿼리를 작성할 필요없다. 2. 쿼리를 직접 작성할 필요없고, 기본적인 CRUD을 제공하기 때문에 빠른 개발이 가능하다. (SQL문) Select * From User where Email= "~" → (Repository) findByEmail("~"); 3. 테이블이 변경되면 엔티티만 변경하면 되기 때문에 간편하게 수정을 할 수 있다. - 단점..
DATABASE
2022. 12. 16. 05:13
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
링크
TAG
- Linux caches
- colima
- docker 명령어
- gitignore 적용안됨
- aws
- aws git
- mysql oracle
- Mybatis vs JPA
- aws git pull
- aws spring boot
- gitignore 적용오류
- colima docker
- 리눅스 메모리 캐시
- nginx
- SQL Mapper
- Spring Group
- spring boot sh파일
- git gitignore
- vue project
- vue npm
- docker --context
- Spring Artifact
- oracle db
- docker context
- Docker
- linux 포트중복
- Mapper namespcae
- mybatis
- 메모리 삭제
- aws build
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
글 보관함