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.