I am trying to use Hibernate detached criteria and have the following code:
This generates the above query with count(*). What should i add to get the count(*) in the query?
I tried projectionsCriteria.setProjection(Projections.count("column1")); and
that does not work. Any ideas?
SCJP 1.4, SCWCD 1.4<br /> <br />Thanks in advance!<br />Jayashree.
Evildoers! Eat my justice! And this tiny ad's justice too!
SKIP - a book about connecting industrious people with elderly land owners