Re: Always getting distinct results in fetch?

2021-10-20 Thread Andrus Adamchik
Need to experiment with this one. Looks like it may need some adjustment. > On Oct 20, 2021, at 9:29 PM, Nikita Timofeev > wrote: > > Hi all, > > This behavior is still in 4.2. To make it odder, selecting a single > column would return all rows like with suppressDistinct() call. > This is caus

Re: Always getting distinct results in fetch?

2021-10-20 Thread Nikita Timofeev
Hi all, This behavior is still in 4.2. To make it odder, selecting a single column would return all rows like with suppressDistinct() call. This is caused by the logic deep inside mapping result rows to objects [1], that came, I believe, from the EJBQL. Not sure I know why it's there, though. [1]