Details
-
Type:
Bug
-
Status: Resolved
-
Priority:
Minor
-
Resolution: Won't Fix
-
Affects Version/s: 1.1.2.RELEASE
-
Fix Version/s: 1.1.3.RELEASE
-
Component/s: PERSISTENCE
-
Labels:None
Description
I have found another issue !
The HQL in the "public static long count<<Objectname>>() {..." Method doesn't seem to fit ....
If you have a composite Primary Key it says ... "select count(o) from IscsProduct o" which gets transformed into something like "select count((pkrow1,pkrow2,pkrow3,pkrow4)) from table" and there I get the SQL error "count takes just one parameter" So I replaced it with count and it works ....