I have a Java Spring Boot application with the following entities related to the below exception
SProduct
@Entity
@Table(
name =
In my case it was because of entities calling each other's hashcode recursively, if you use lombock remove it and make it yourself.Put breakpoint of debugger on the methods of two hashcodes. You'll sea that they are calling each other. Remove for example from the first entity's hashcode method second entity's link.