docd new datetime stuff
git-svn-id: https://svn.jboss.org/repos/hibernate/trunk/Hibernate3/doc@6552 1b8cb986-b30d-0410-93ca-fae66ebed9b2
This commit is contained in:
parent
cc7621952a
commit
f814aec3d2
|
@ -528,6 +528,13 @@ where log.item.class = 'Payment' and log.item.id = payment.id]]></programlisting
|
||||||
<literal>current_timestamp()</literal>
|
<literal>current_timestamp()</literal>
|
||||||
</para>
|
</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
|
<listitem>
|
||||||
|
<para>
|
||||||
|
<literal>second(...)</literal>, <literal>minute(...)</literal>,
|
||||||
|
<literal>hour(...)</literal>, <literal>day(...)</literal>,
|
||||||
|
<literal>month(...)</literal>, <literal>year(...)</literal>,
|
||||||
|
</para>
|
||||||
|
</listitem>
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>
|
<para>
|
||||||
Any function or operator defined by EJB-QL 3.0: <literal>substring(), trim(),
|
Any function or operator defined by EJB-QL 3.0: <literal>substring(), trim(),
|
||||||
|
@ -542,9 +549,10 @@ where log.item.class = 'Payment' and log.item.id = payment.id]]></programlisting
|
||||||
</listitem>
|
</listitem>
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>
|
<para>
|
||||||
<literal>cast(... as ...)</literal> where the second argument is the name of
|
<literal>cast(... as ...)</literal>, where the second argument is the name of
|
||||||
a Hibernate type, if ANSI <literal>cast()</literal> is supported by the underlying
|
a Hibernate type, and <literal>extract(... from ...)</literal> if ANSI
|
||||||
database
|
<literal>cast()</literal> and <literal>extract()</literal> is supported by
|
||||||
|
the underlying database
|
||||||
</para>
|
</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
<listitem>
|
<listitem>
|
||||||
|
|
Loading…
Reference in New Issue