]
Diego Pires Plentz resolved HHH-2719.
-------------------------------------
Resolution: Fixed
Thanks!
adddress --> address
--------------------
Key: HHH-2719
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HHH-2719
Project: Hibernate3
Issue Type: Bug
Components: documentation
Affects Versions: 3.2.4
Environment:
http://www.hibernate.org/hib_docs/v3/reference/en/html/querysql.html
Reporter: Elliotte Rusty Harold
Assignee: Diego Pires Plentz
Priority: Minor
In the docs page at
http://www.hibernate.org/hib_docs/v3/reference/en/html/querysql.html
notice that "address" is sometimes (but not always) spelled with three d's:
sql-query name="personsWith">
<return alias="person" class="eg.Person"/>
<return-join alias="address"
property="person.mailingAddress"/>
SELECT person.NAME AS {person.name},
person.AGE AS {person.age},
person.SEX AS {person.sex},
adddress.STREET AS {address.street},
adddress.CITY AS {address.city},
adddress.STATE AS {address.state},
adddress.ZIP AS {address.zip}
FROM PERSON person
JOIN ADDRESS adddress
ON person.ID = address.PERSON_ID AND address.TYPE='MAILING'
WHERE person.NAME LIKE :namePattern
</sql-query>
This occurs in two examples on this page.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: