This article discusses a common issue faced when updating data using Hibernate 5.6's save() method, where the number of elements in the select list exceeds the maximum allowed number of 4096 elements. A solution is provided using Spring Data JPA and jpaRepo.save() method, which avoids generating many select statements and reducing the impact on the database.
Read More
In this tech support article, we discuss an issue that can occur when using Spring Data JPA to add new entities to a Postgres database in concurrent transactions. Specifically, we look at the duplicate key violation that can occur and how to resolve it.
Read More