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 | 31 |
Tags
- 양방향 매핑
- 값 타입 비교
- SessionManagementFilter
- JPQL
- 값 타입 컬렉션
- field column mapping
- 임베디드 타입
- TABLE
- Remember-me
- 다대다
- AnonymousAuthenticationFilter
- 지연 로딩
- form login
- ddl-auto
- spring jpa
- 객제지향 쿼리 언어
- Database
- Spring Security
- jpa
- 즉시 로딩
- orphanRemovel
- 기본값 타입
- MySQL
- @MappedSuperclasss
- 기본 키 매핑
- 상속관계 매핑
- 세션 생성 정책
- 동시 세션 제어
- concurrentsessionfilter
- 세션 고정 보호
Archives
- Today
- Total
목록CASCADE (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