]
Diego Pires Plentz reassigned HHH-2201:
---------------------------------------
Assignee: Diego Pires Plentz
session.iterate() does not exist
--------------------------------
Key: HHH-2201
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HHH-2201
Project: Hibernate3
Issue Type: Bug
Components: documentation
Affects Versions: 3.2.0.ga
Reporter: Andres Gonzalez
Assignee: Diego Pires Plentz
Priority: Minor
Original Estimate: 5 minutes
Remaining Estimate: 5 minutes
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: