Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- jpa
- 기본 키 매핑
- Spring Security
- field column mapping
- Remember-me
- spring jpa
- 동시 세션 제어
- orphanRemovel
- Database
- 객제지향 쿼리 언어
- @MappedSuperclasss
- concurrentsessionfilter
- TABLE
- MySQL
- JPQL
- ddl-auto
- 값 타입 컬렉션
- 상속관계 매핑
- 기본값 타입
- form login
- SessionManagementFilter
- 지연 로딩
- 다대다
- 임베디드 타입
- 양방향 매핑
- 세션 고정 보호
- 즉시 로딩
- 세션 생성 정책
- AnonymousAuthenticationFilter
- 값 타입 비교
Archives
- Today
- Total
목록orphanRemovel (1)
hoondev
[Spring JPA] 영속석 전이와 고아객체
영속성 전이 영속성 전이는 특정 엔티티를 영속 상태로 만들 때 연관된 엔티티도 함께 영속 상태로 만드는 것이다. @Entity public class Parent { @Id @GeneratedValue private Long id; private String name; @OneToMany(mappedBy = "parent") private List childes = new ArrayList(); public void addchild(Child child) { childes.add(child); child.setParent(this); } } @Entity public class Child { @Id @GeneratedValue private Long id; private String name; @Many..
Spring JPA
2023. 2. 3. 15:52