-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Closed
Labels
type: enhancementA general enhancementA general enhancement
Description
Enhancement:
Given a repositorys find-method returning a single result or an java.util.Optional should limit the underlying query to 2.
This would help to get the expected Result in case of multiple rows (IncorrectResultSizeDataAccessException) even if the query leads to huge result set.
(We had a case leading to an out of memory exception cause the query found about 50000 rows. Unfortunately we could not use a UniqueConstraint.)
gabrgcr
Metadata
Metadata
Assignees
Labels
type: enhancementA general enhancementA general enhancement