[hibernate-issues] [Hibernate-JIRA] Resolved: (HHH-5093) CriteriaQuery using count leads to wrong query
Emmanuel Bernard (JIRA)
noreply at atlassian.com
Mon Apr 19 07:19:20 EDT 2010
[ http://opensource.atlassian.com/projects/hibernate/browse/HHH-5093?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Emmanuel Bernard resolved HHH-5093.
-----------------------------------
Resolution: Cannot Reproduce
> CriteriaQuery using count leads to wrong query
> ----------------------------------------------
>
> Key: HHH-5093
> URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-5093
> Project: Hibernate Core
> Issue Type: Bug
> Components: entity-manager
> Affects Versions: 3.5.0-Final
> Reporter: Frederic Müller
>
> Using "query.select(cb.count(root));" we get a query like this:
> select count() from test.Entity as generatedAlias0 left join generatedAlias0.message as generatedAlias1
> Tried almost everything but this problem doesn't seem to have been addressed for quite some time now.
> Seems like some other people still have the same problem and yet nobody seems to bother.
> https://forum.hibernate.org/viewtopic.php?p=2428452
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the hibernate-issues
mailing list