MongoDB를 제어하기 위한 MongoTemplate과 MongoRepository 차이점과 사용방법에 대해 기술한다. MongoTemplate과 MongoRepository의 차이 이 두가지 방식은 약간 상반되는 목표를 가진다. 편리함(Convenient) MongoRepository 간단한 CRUD를 처리할때 용이하며 간단한 만큼 세세한 제어가 불가능하다. CRUD 및 find 메서드, sort와 pagnation에 대한 동적인 Query Derivation 기능이 제공 강력한 사용성(powerful to use) MongoTemplete 복잡한 수준의 쿼리에 대한 제어가 가능함. Repository보다 복잡한 제어가 가능하지만 직접 제어기능을 구현해야하는 번거로움이 있다. 위 두가지 기능을 적절히..
maven을 이용한 springframework 개발환경 설정. pom 파일만 있으면 끝. pom.xml 4.0.0 com.rocksea rocksea war 0.0.1-SNAPSHOT rocksea Maven Webapp http://maven.apache.org junit junit 3.8.1 test org.springframework spring-webmvc 3.1.2.RELEASE org.springframework spring-core 3.1.2.RELEASE rocksea WEB-INF/web.xml Archetype Created Web Application index.jsp dispatcher org.springframework.web.servlet.DispatcherServlet 1 d..
- Total
- Today
- Yesterday
- Business English
- mongoDB
- 해외여행
- Python
- 비지니스 영어
- 베트남
- PostgreSQL
- ubuntu
- 조동사
- JBOSS
- hadoop
- 가정법
- AWS
- NGINX
- redis
- maven
- 대명사 구문
- nodejs
- 비교구문
- 영작
- 영문법
- hdfs
- 다낭
- it
- memcached
- 도덕경
- 여행
- k8s
- 스페인 여행
- Python Django
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |