HHH-1081
git-svn-id: https://svn.jboss.org/repos/hibernate/trunk/Hibernate3/doc@8461 1b8cb986-b30d-0410-93ca-fae66ebed9b2
This commit is contained in:
parent
be1794052a
commit
67133cd7ff
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue