docd new HQL features

git-svn-id: https://svn.jboss.org/repos/hibernate/trunk/Hibernate3/doc@6347 1b8cb986-b30d-0410-93ca-fae66ebed9b2
This commit is contained in:
Gavin King 2005-04-05 04:03:44 +00:00
parent 0131d8337d
commit 383c3575ee
1 changed files with 3 additions and 3 deletions

View File

@ -190,9 +190,9 @@ from Cat as cat
</para> </para>
<programlisting><![CDATA[select cat.name from DomesticCat cat <programlisting><![CDATA[select cat.name from DomesticCat cat
where cat.name like 'fri%' where cat.name like 'fri%']]></programlisting>
select cust.name.firstName from Customer as cust]]></programlisting> <programlisting><![CDATA[select cust.name.firstName from Customer as cust]]></programlisting>
<para> <para>
Queries may return multiple objects and/or properties as an array of type Queries may return multiple objects and/or properties as an array of type
@ -797,7 +797,7 @@ where cat.name not in (
<para> <para>
For subqueries with more than one expression in the select list, you can use a "row constructor". For subqueries with more than one expression in the select list, you can use a "row constructor".
<para> </para>
<programlisting><![CDATA[from Cat as cat <programlisting><![CDATA[from Cat as cat
where not ( cat.name, cat.color ) in ( where not ( cat.name, cat.color ) in (