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>
<para>
string concatenation <literal>...||...</literal> or <literal>concat(...,...)</literal>
Parentheses <literal>( )</literal>, indicating grouping
</para>
</listitem>
<listitem>
<para>
SQL scalar functions like <literal>upper()</literal>, <literal>lower()</literal>,
<literal>abs()</literal>
<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> 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>
</listitem>
<listitem>
@ -512,31 +530,20 @@ where log.item.class = 'Payment' and log.item.id = payment.id]]></programlisting
</listitem>
<listitem>
<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>
</listitem>
<listitem>
<para>
<literal>case ... when ... then ... else ... end</literal> and
<literal>case when ... then ... else ... end</literal>
<literal>coalesce()</literal> and <literal>nullif()</literal>, if supported by
the underlying database
</para>
</listitem>
<listitem>
<para>
Parentheses <literal>( )</literal> indicate grouping
</para>
</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>
Any database-supported SQL scalar function like <literal>sign()</literal>,
<literal>trunc()</literal>, <literal>rtrim()</literal>, <literal>sin()</literal>
</para>
</listitem>
<listitem>