Update of /cvsroot/hibernate/Hibernate/doc/reference/src
In directory sc8-pr-cvs1:/tmp/cvs-serv679/doc/reference/src
Modified Files:
basic_or_mapping.xml examples.xml
Log Message:
calendar types
Index: basic_or_mapping.xml
===================================================================
RCS file: /cvsroot/hibernate/Hibernate/doc/reference/src/basic_or_mapping.xml,v
retrieving revision 1.35
retrieving revision 1.36
diff -C2 -d -r1.35 -r1.36
*** basic_or_mapping.xml 19 Nov 2002 10:42:18 -0000 1.35
--- basic_or_mapping.xml 21 Nov 2002 09:03:30 -0000 1.36
***************
*** 1071,1077 ****
<listitem>
<para>
! Type mappings from <literal>java.util.Date</literal> and its subclasses to
! SQL types <literal>DATE</literal>, <literal>TIME</literal> and
<literal>TIMESTAMP</literal> (or equivalent).
</para>
</listitem>
--- 1071,1087 ----
<listitem>
<para>
! Type mappings from <literal>java.util.Date</literal> and its subclasses
! to SQL types <literal>DATE</literal>, <literal>TIME</literal> and
<literal>TIMESTAMP</literal> (or equivalent).
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term><literal>calendar, calendar_date</literal></term>
+ <listitem>
+ <para>
+ Type mappings from <literal>java.util.Calendar</literal> to
+ SQL types <literal>TIMESTAMP</literal> and <literal>DATE</literal>
+ (or equivalent).
</para>
</listitem>
Index: examples.xml
===================================================================
RCS file: /cvsroot/hibernate/Hibernate/doc/reference/src/examples.xml,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** examples.xml 28 Oct 2002 08:50:20 -0000 1.3
--- examples.xml 21 Nov 2002 09:03:31 -0000 1.4
***************
*** 162,166 ****
<id name="id" column="id">
! <generator class="native"/>
</id>
--- 162,166 ----
<id name="id" column="id">
! <generator class="assigned"/> <!-- The Author must have the same identifier as the Person -->
</id>
|