본문 바로가기

hoondev

검색하기
hoondev
프로필사진 hoondev3

  • 분류 전체보기 (38)
    • Spring JPA (28)
    • Spring Security (0)
    • Database (7)
    • Java (0)
Guestbook
Notice
Recent Posts
Recent Comments
Link
«   2025/06   »
일 월 화 수 목 금 토
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
  • 값 타입 비교
more
Archives
Today
Total
관리 메뉴
  • 글쓰기
  • 방명록
  • RSS
  • 관리

목록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
이전 Prev 1 Next 다음

Blog is powered by kakao / Designed by Tistory

티스토리툴바