stackoverflow
-
@Many to Many 혹은 연관관계에서 stackOverFlow 에러 발생시Spring 2021. 8. 17. 11:19
연관관계 매핑시에 lombok의 데이터 사용시 내부적으로 toString을 불러내면서 연관관계의 객체를 연속해서 불러내게 된다. 이때 stackOverFlow 에러가 발생하게 되므로 롬복의 Data-> @Getter, @Setter로 변경해준다. (참고) https://stackoverflow.com/questions/17445657/hibernate-onetomany-java-lang-stackoverflowerror Hibernate OneToMany java.lang.StackOverflowError It's my first question here on stack, so please be gentle :D I'm trying to create hibernate OneToMany relationsh..