]
Steve Ebersole closed HHH-1081.
-------------------------------
Closing stale resolved issues
missing parens in example code for Criteria Associations
--------------------------------------------------------
Key: HHH-1081
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HHH-1081
Project: Hibernate Core
Issue Type: Bug
Components: documentation
Affects Versions: 3.1 rc3
Reporter: Walter Gillett
Priority: Trivial
Fix For: 3.1 rc3
On
http://www.hibernate.org/hib_docs/v3/reference/en/html/querycriteria.html...
there is the following example code:
List cats = sess.createCriteria(Cat.class)
.add( Restrictions.like("name", "F%")
.createCriteria("kittens")
.add( Restrictions.like("name", "F%")
.list();
On trying to copy/paste this code I realized that the ".add" lines above (2nd
and 4th lines) need another right parenthesis at the end of the line.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: