[hibernate-issues] [Hibernate-JIRA] Assigned: (HHH-1694) Documentation Outdated: "10.4.4. Queries in native SQL"

Diego Pires Plentz (JIRA) noreply at atlassian.com
Sun Jul 15 20:25:52 EDT 2007


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

Diego Pires Plentz reassigned HHH-1694:
---------------------------------------

    Assignee: Diego Pires Plentz

> Documentation Outdated: "10.4.4. Queries in native SQL"
> -------------------------------------------------------
>
>                 Key: HHH-1694
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-1694
>             Project: Hibernate3
>          Issue Type: Bug
>          Components: documentation
>    Affects Versions: 3.1.3
>            Reporter: Gamigin
>            Assignee: Diego Pires Plentz
>            Priority: Minor
>
> // Trying code from Hibernate 3.1 docs (section 10.4.4)
> List cats = session.createSQLQuery(
>     "SELECT {cat.*} FROM CAT {cat} WHERE ROWNUM<10",
>     "cat",
>     Cat.class
> ).list();
> This doesn't compile. createSQLQuery takes only one string and there are no overloads. The JavaDoc (http://www.hibernate.org/hib_docs/v3/api/) agrees with the compiler. The documentation must be out of date.
> Java 1.5.0_06
> Hibernate 3.1.2

-- 
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