I don’t quite understand the issue. Do you have a query error or are you receiving wrong results? Either way, I would recommend you switch to using the JPA Criteria API as the legacy Hibernate Criteria API is going away in 6.0
I don’t quite understand the issue. Do you have a query error or are you receiving wrong results? Either way, I would recommend you switch to using the JPA Criteria API as the legacy Hibernate Criteria API is going away in 6.0