Well, then let’s not discuss use cases - I know that I can workaround the issue by querying differently and i do not have a real use case at the moment where the bug is limiting me. But could you please explain, how hibernate conforms to the following quote of the JPA spec?
If the distinct method is not used or distinct(false) is invoked on the criteria query object, duplicate values are not eliminated.
Because I think it does not conform - I just do not get the possibility to use distinct(false) properly, even if I want to, for whatever reason. |