79272081

Date: 2024-12-11 14:36:28
Score: 1
Natty:
Report link

Solution was in fetchData settings. It takes by default 10 rows (I understand it in that way).

Query query = entityManager.createNativeQuery(...);
List<Object[]> results = query.unwrap(org.hibernate.query.NativeQuery.class).setFetchSize(1000).getResultList();

Unwrap with fetchData is the solution.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Lukas Caniga