This is a continuation to questions like this: why does hibernate hql distinct cause an sql distinct on left join?
You may have noticed that findAll()
repository methods return duplicates, while findAll(Pageble pageble)
works fine.
So, I would like to share additional way to obtain unique results.