[hibernate-issues] [Hibernate-JIRA] Resolved: (HHH-2201) session.iterate() does not exist

Diego Pires Plentz (JIRA) noreply at atlassian.com
Sun Jul 8 05:24:52 EDT 2007


     [ http://opensource.atlassian.com/projects/hibernate/browse/HHH-2201?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Diego Pires Plentz resolved HHH-2201.
-------------------------------------

       Resolution: Fixed
    Fix Version/s: 3.2.5

> 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
>             Fix For: 3.2.5
>
>   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: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the hibernate-issues mailing list