일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- Data REST
- JUnit
- Spring Data REST
- ORM
- tomcat
- spring camp
- batch
- static inner class
- spring bean
- IntelliJ
- 코드 리뷰
- spring-mvc
- SuperTypeToken
- Spring
- JPA mapping
- 톰캣
- Spring Data JPA
- Spring Batch
- spring boot
- spring-webmvc #코드읽기
- spring batch 코드
- spring boot tomcat
- docker
- spring jpa
- ApplicationPidFileWriter
- 세미나
- spring-webmvc
- JPA
- REST API
- spring pid
- Today
- 1
- Total
- 916,386
목록Spring Data JPA (2)
woniper
가정 하나의 project에 의미가 다른 2개의 Event라는 @Entity가 필요하다. 당연히 package 경로는 다르다. 하나는 net.woniper.data.jpa.event1.Event (이하 event1) 하나는 net.woniper.data.jpa.event2.Event (이하 event2) package만 다르며, 클래스 명은 같다. 각각의 Event는 Repository가 존재한다. net.woniper.data.jpa.event1.EventRepository (이하 eventRepository1) net.woniper.data.jpa.event2.EventRepository (이하 eventRepository2) 예제 코드 net.woniper.data.jpa.event1.Event p..
Spring Data JPA란? Spring Project 중 하나다. Spring Data Project는 여러가지 Data Repository(JPA, mongoDB, Neo4j, Redis, Hadoop 등)를 지원한다. Data JPA는 JPA를 Spring에서 쉽게 사용하게 만든 프로젝트이다. EntityAbstractPersistable : PK Type에 Primary Key가 자동으로 셋팅된다. @Entity(name = "tbl_user") public class User extends AbstractPersistable { private String username; private String nickName; private String address; @Temporal(Temporal..