posted 18 years ago
Hi,
The following HQL is resulting in parsing error at count (1). The problem is at the numeric 1 I am using in the count function. If i use a column name instead of the constant, the query executes successfully. Is this a restriction of hibermate?
select count(1) from Csa c where c.equipment.equipmentType = 'MA'
Thanks for your help!
Hibernate version: 3.x
SCJP2<br />BEA Certified J2EE Developer