Description
The optimization for only using the expressions needed for uniqueness for pagination broke a case when we omitted a part of the id due to it being constantified. I'm not entierly sure if we should just include the predicate or if it's better to include the full id in the pagination handling. The latter is the behavior that we had before.
Expected behavior
Actual behavior
Steps to reproduce
Environment
Version: 1.3.0
JPA-Provider:
DBMS:
Application Server: