docd function support

git-svn-id: https://svn.jboss.org/repos/hibernate/trunk/Hibernate3/doc@6518 1b8cb986-b30d-0410-93ca-fae66ebed9b2
This commit is contained in:
Gavin King 2005-04-26 09:39:53 +00:00
parent 66eda7d9c8
commit e60dabded2
1 changed files with 27 additions and 20 deletions

View File

@ -495,13 +495,31 @@ where log.item.class = 'Payment' and log.item.id = payment.id]]></programlisting
</listitem> </listitem>
<listitem> <listitem>
<para> <para>
string concatenation <literal>...||...</literal> or <literal>concat(...,...)</literal> Parentheses <literal>( )</literal>, indicating grouping
</para> </para>
</listitem> </listitem>
<listitem> <listitem>
<para> <para>
SQL scalar functions like <literal>upper()</literal>, <literal>lower()</literal>, <literal>in</literal>,
<literal>abs()</literal> <literal>not in</literal>,
<literal>between</literal>,
<literal>is null</literal>,
<literal>is not null</literal>,
<literal>is empty</literal>,
<literal>is not empty</literal>,
<literal>member of</literal> and
<literal>not member of</literal>
</para>
</listitem>
<listitem>
<para>
"Simple" case, <literal>case ... when ... then ... else ... end</literal>, and
"searched" case, <literal>case when ... then ... else ... end</literal>
</para>
</listitem>
<listitem>
<para>
string concatenation <literal>...||...</literal> or <literal>concat(...,...)</literal>
</para> </para>
</listitem> </listitem>
<listitem> <listitem>
@ -512,31 +530,20 @@ where log.item.class = 'Payment' and log.item.id = payment.id]]></programlisting
</listitem> </listitem>
<listitem> <listitem>
<para> <para>
Any function or operator defined by EJB-QL 3.0 Any function or operator defined by EJB-QL 3.0: <literal>substring(), trim(),
lower(), upper(), length(), locate(), abs(), sqrt(), bit_length()</literal>
</para> </para>
</listitem> </listitem>
<listitem> <listitem>
<para> <para>
<literal>case ... when ... then ... else ... end</literal> and <literal>coalesce()</literal> and <literal>nullif()</literal>, if supported by
<literal>case when ... then ... else ... end</literal> the underlying database
</para> </para>
</listitem> </listitem>
<listitem> <listitem>
<para> <para>
Parentheses <literal>( )</literal> indicate grouping Any database-supported SQL scalar function like <literal>sign()</literal>,
</para> <literal>trunc()</literal>, <literal>rtrim()</literal>, <literal>sin()</literal>
</listitem>
<listitem>
<para>
<literal>in</literal>,
<literal>not in</literal>,
<literal>between</literal>,
<literal>is null</literal>
<literal>is not null</literal>
<literal>is empty</literal>
<literal>is not empty</literal>
<literal>member of</literal>
<literal>not member of</literal>
</para> </para>
</listitem> </listitem>
<listitem> <listitem>