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