Remove deprecated uuid.hex
git-svn-id: https://svn.jboss.org/repos/hibernate/trunk/Hibernate3/doc@7624 1b8cb986-b30d-0410-93ca-fae66ebed9b2
This commit is contained in:
parent
dd5fd0a403
commit
8614cc883e
|
@ -6,7 +6,7 @@
|
||||||
for different purposes, throughout Hibernate.
|
for different purposes, throughout Hibernate.
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
<sect1 id="components-dependentobjects">
|
<sect1 id="components-dependentobjects" revision="2" >
|
||||||
<title>Dependent objects</title>
|
<title>Dependent objects</title>
|
||||||
|
|
||||||
<para>
|
<para>
|
||||||
|
@ -78,7 +78,7 @@
|
||||||
|
|
||||||
<programlisting><![CDATA[<class name="eg.Person" table="person">
|
<programlisting><![CDATA[<class name="eg.Person" table="person">
|
||||||
<id name="Key" column="pid" type="string">
|
<id name="Key" column="pid" type="string">
|
||||||
<generator class="uuid.hex"/>
|
<generator class="uuid"/>
|
||||||
</id>
|
</id>
|
||||||
<property name="birthday" type="date"/>
|
<property name="birthday" type="date"/>
|
||||||
<component name="Name" class="eg.Name"> <!-- class attribute optional -->
|
<component name="Name" class="eg.Name"> <!-- class attribute optional -->
|
||||||
|
@ -120,7 +120,7 @@
|
||||||
|
|
||||||
<programlisting><![CDATA[<class name="eg.Person" table="person">
|
<programlisting><![CDATA[<class name="eg.Person" table="person">
|
||||||
<id name="Key" column="pid" type="string">
|
<id name="Key" column="pid" type="string">
|
||||||
<generator class="uuid.hex"/>
|
<generator class="uuid"/>
|
||||||
</id>
|
</id>
|
||||||
<property name="birthday" type="date"/>
|
<property name="birthday" type="date"/>
|
||||||
<component name="Name" class="eg.Name" unique="true">
|
<component name="Name" class="eg.Name" unique="true">
|
||||||
|
|
|
@ -599,7 +599,7 @@ alter table line_items
|
||||||
</class>]]></programlisting>
|
</class>]]></programlisting>
|
||||||
</sect2>
|
</sect2>
|
||||||
|
|
||||||
<sect2 id="example-mappings-association-alternatekeys" >
|
<sect2 id="example-mappings-association-alternatekeys" revision="2">
|
||||||
<title>Associations on alternate keys</title>
|
<title>Associations on alternate keys</title>
|
||||||
<programlisting><![CDATA[<class name="Person">
|
<programlisting><![CDATA[<class name="Person">
|
||||||
|
|
||||||
|
@ -640,7 +640,7 @@ alter table line_items
|
||||||
|
|
||||||
<class name="Account">
|
<class name="Account">
|
||||||
<id name="accountId" length="32">
|
<id name="accountId" length="32">
|
||||||
<generator class="uuid.hex"/>
|
<generator class="uuid"/>
|
||||||
</id>
|
</id>
|
||||||
|
|
||||||
<many-to-one name="user"
|
<many-to-one name="user"
|
||||||
|
|
|
@ -360,7 +360,7 @@ public class Cat {
|
||||||
|
|
||||||
</sect1>
|
</sect1>
|
||||||
|
|
||||||
<sect1 id="quickstart-mapping" revision="1">
|
<sect1 id="quickstart-mapping" revision="2">
|
||||||
<title>Mapping the cat</title>
|
<title>Mapping the cat</title>
|
||||||
|
|
||||||
<para>
|
<para>
|
||||||
|
@ -383,7 +383,7 @@ public class Cat {
|
||||||
generated by Hibernate with the UUID pattern. -->
|
generated by Hibernate with the UUID pattern. -->
|
||||||
<id name="id" type="string" unsaved-value="null" >
|
<id name="id" type="string" unsaved-value="null" >
|
||||||
<column name="CAT_ID" sql-type="char(32)" not-null="true"/>
|
<column name="CAT_ID" sql-type="char(32)" not-null="true"/>
|
||||||
<generator class="uuid.hex"/>
|
<generator class="uuid"/>
|
||||||
</id>
|
</id>
|
||||||
|
|
||||||
<!-- A cat has to have a name, but it shouldn' be too long. -->
|
<!-- A cat has to have a name, but it shouldn' be too long. -->
|
||||||
|
|
Loading…
Reference in New Issue