You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We probably don't discover the distinct correctly here. As a workaround, you can define the countQuery attribute of the @Query annotation of the paging method to define the query explicitly
Alex opened DATAJPA-342 and commented
If I define a custom query of this type:
The resulting Page element has wrong Total Elements.
It seems like it gives the number of total records instead of the distinct ones.
I had to create another adhoc query just to have the correct count:
But this is tedious workaround that I would like to avoid
Affects: 1.3 GA
The text was updated successfully, but these errors were encountered: