Hi Christian, I think this behavior was changed in Hibernate 6, because in version 5 it works. What would be the recommendation for this case? In certain cases, I used to filter the data in the code after doing the query due to this issue https://hibernate.atlassian.net/browse/HHH-13278, but this solution is not efficient. |