session.iterate() does not exist
--------------------------------
Key: HHH-2201
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HHH-2201
Project: Hibernate3
Type: Bug
Components: documentation
Versions: 3.2.0.ga
Reporter: Andres Gonzalez
Priority: Minor
In Section "14.15. Tips & Tricks":
You can count the number of query results without actually returning them:
( (Integer) session.iterate("select count(*) from ....").next() ).intValue()
I don't find any session.iterate() method... Maybe it should read:
( (Integer) session.createQuery("select count(*) from
....").iterate().next() ).intValue()
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://opensource.atlassian.com/projects/hibernate/secure/Administrators....
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira