I have a Java Spring Boot application with the following entities related to the below exception
SProduct
@Entity
@Table(
name =
Firstly, it is a Hibernate Error handled by org.hibernate.engine
and has nothing to do with Spring Boot.
It can occur if you're fetching large amounts of data, like tens of thousands of entities with your HQL queries.
This can also be the case if you have mapped a one-to-many association which has many of child entities and due to bi-directional mapping the result-set is replicating infinitely.
Refer to link below for high performance JPA Tips.
https://vladmihalcea.com/14-high-performance-java-persistence-tips/