object references an unsaved transient instance - save the transient instance before flushing

탱귤생귤·2024년 2월 23일

ERROR

목록 보기
25/33

문제 상황

연관 관계로 얽힌 테이블 두개가 저 에러가 나며 테이블 생성이 되지 않았다.

해결 방법

cascade = CascadeType.PERSIST를 붙여주며 해결했다.

0개의 댓글