Articles about spring data jpa | UserComp.com

Number of Elements in Select List Exceeds Maximum Allowed - Hibernate 5.6 Update Issue
Number of Elements in Select List Exceeds Maximum Allowed - Hibernate 5.6 Update Issue

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
Spring Data JPA Duplicate Key Violation in Concurrent Postgres DB Transactions
Spring Data JPA Duplicate Key Violation in Concurrent Postgres DB Transactions

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