SQLIntegrityConstraintViolationException - parent key not found

신수정·2024년 3월 27일

SQLIntegrityConstraintViolationException


parent key not found 오류라서
참조되는 키를 확인해봄.

senderId는 session에서 get하니까 로그인 된 상태에서는 senderId가 sysout 됨.

receiverId에서 오류가 나는 것을 확인해보니 없는 회원가입이 되어있지 않은 아이디를 입력해서 오류가 난 것.

profile
안녕하세요:)

0개의 댓글