minchul / hibernate-generic-dao

Automatically exported from code.google.com/p/hibernate-generic-dao
0 stars 0 forks source link

left join fetch is not working. #117

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
when we make fetch with a related list, setMaxResult give error. because your 
code generate left join fethc and hibernate doesnt allow to query with it to 
get TotalCount. So remove fetch please. only left or right join is enough. No 
need fetch word.

Original issue reported on code.google.com by ozalpnuri on 30 Apr 2015 at 8:22