git-svn-id: https://svn.jboss.org/repos/hibernate/trunk/Hibernate3/doc@8461 1b8cb986-b30d-0410-93ca-fae66ebed9b2
This commit is contained in:
Christian Bauer 2005-10-26 10:35:00 +00:00
parent be1794052a
commit 67133cd7ff
1 changed files with 2 additions and 2 deletions

View File

@ -124,9 +124,9 @@ List cats = sess.createCriteria(Cat.class)
</para>
<programlisting><![CDATA[List cats = sess.createCriteria(Cat.class)
.add( Restrictions.like("name", "F%")
.add( Restrictions.like("name", "F%") )
.createCriteria("kittens")
.add( Restrictions.like("name", "F%")
.add( Restrictions.like("name", "F%") )
.list();]]></programlisting>
<para>