You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
대댓글 도메인 안에서 부모, 자식 관계를 설정하는 코드를 추가
자식 댓글의 컬렉션 변화가 쿼리에 반영되게끔
cascading 규칙을 ALL로 적용
이번엔 단방향 연관관계 설정을 사용해봄
따라서 부모 댓글은 엔티티가 아닌 `Long` id를 직접 표현
또한 자식 댓글을 추가할 수 있는 메서드 추가 제
대댓글 도메인 안에서 부모, 자식 관계를 설정하는 코드를 추가
자식 댓글의 컬렉션 변화가 쿼리에 반영되게끔
cascading 규칙을 ALL로 적용
이번엔 단방향 연관관계 설정을 사용해봄
따라서 부모 댓글은 엔티티가 아닌 `Long` id를 직접 표현
또한 자식 댓글을 추가할 수 있는 메서드 추가 제
대댓글 기능을 위한 도메인 정보를 업데이트 한다.
ArticleComment
에parentCommentId
추가The text was updated successfully, but these errors were encountered: