]
Diego Pires Plentz resolved HHH-1694.
-------------------------------------
Resolution: Fixed
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: