Details
-
Type:
Bug
-
Status: Resolved
-
Priority:
Major
-
Resolution: Won't Fix
-
Affects Version/s: 1.2.2.RELEASE
-
Fix Version/s: None
-
Component/s: @ CORE, PERSISTENCE
-
Labels:
-
Environment:Ubuntu 12.04, JDK 1.6.0_33, Maven 3.0.4, Oracle 10.2.0.4.0
Description
With some entities, Hibernate fails on runtime on list page because count method:
Missing right parenthesis
It seems a Hibernate conversion error from this HQL:
SELECT COUNT(o) FROM Entity o
Although it is a Hibernate error, there is an equivalent HQL that no fails:
SELECT COUNT(*) FROM Entity o
I attach a diff patch with modification.
Attachments
Issue Links
- relates to
-
ROO-2193 Count(o) not correct when using composite Primary Keys
-
- Resolved
-