root layout

패스트캠퍼스

  1. 강의 질문
  2. 개발/데이터

part1. jpa 실습

2025.06.05 00:43 작성

댓글 작성 메소드에서

public static Comment createComment(Post post, User user, String comment) {    return new Comment(null, post, user, new CommentContent(comment));}

브레이크 포인트 찍어보니까 여기서 null 이라고만 뜨는데 어떤부분인지..잘못찾겠는데..  혹시 어디서 오류날가능성이있는지 알려주실수있나요>



답변 

연관 질문

커뮤니티 질문보기