more HQL doc

git-svn-id: https://svn.jboss.org/repos/hibernate/trunk/Hibernate3/doc@7161 1b8cb986-b30d-0410-93ca-fae66ebed9b2
This commit is contained in:
Gavin King 2005-06-16 06:49:26 +00:00
parent a384692195
commit 702a2d04fc
1 changed files with 17 additions and 2 deletions

View File

@ -578,6 +578,20 @@ where log.item.class = 'Payment' and log.item.id = payment.id]]></programlisting
the underlying database
</para>
</listitem>
<listitem>
<para>
the HQL <literal>index()</literal> function, that applies to aliases of
a joined indexed collection
</para>
</listitem>
<listitem>
<para>
HQL functions that take collection-valued path expressions: <literal>size(),
minelement(), maxelement(), minindex(), maxindex()</literal>, along with the
special <literal>elements()</literal> and <literal>indices</literal> functions
which may be quantified using <literal>some, all, exists, any</literal>.
</para>
</listitem>
<listitem>
<para>
Any database-supported SQL scalar function like <literal>sign()</literal>,
@ -586,7 +600,7 @@ where log.item.class = 'Payment' and log.item.id = payment.id]]></programlisting
</listitem>
<listitem>
<para>
JDBC IN parameters <literal>?</literal>
JDBC-style positional parameters <literal>?</literal>
</para>
</listitem>
<listitem>
@ -596,7 +610,8 @@ where log.item.class = 'Payment' and log.item.id = payment.id]]></programlisting
</listitem>
<listitem>
<para>
SQL literals <literal>'foo'</literal>, <literal>69</literal>, <literal>'1970-01-01 10:00:01.0'</literal>
SQL literals <literal>'foo'</literal>, <literal>69</literal>, <literal>6.66E+2</literal>,
<literal>'1970-01-01 10:00:01.0'</literal>
</para>
</listitem>
<listitem>