This week's book giveaway is in the OCMJEA forum. We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line! See this thread for details.
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.