Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with Distinct with hibernate 4.3,5 #115

Open
GoogleCodeExporter opened this issue Nov 8, 2015 · 1 comment
Open

Issue with Distinct with hibernate 4.3,5 #115

GoogleCodeExporter opened this issue Nov 8, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

While using setDistinct(true) to the field it generates the sql as below

select distinct null from com.Test _it where _it.colourCode = :p1 order by 
_it.timeStamp desc

what could be the issue

Original issue reported on code.google.com by [email protected] on 6 Nov 2014 at 5:53

@GoogleCodeExporter
Copy link
Author

even for setDistinct(fasle) its giving same as 

select null from com.Test _it where _it.colourCode = :p1 order by _it.timeStamp 
desc

Original comment by [email protected] on 6 Nov 2014 at 6:28

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant