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.
|
||||
</para>
|
||||
|
||||
<sect1 id="components-dependentobjects">
|
||||
<sect1 id="components-dependentobjects" revision="2" >
|
||||
<title>Dependent objects</title>
|
||||
|
||||
<para>
|
||||
|
@ -78,7 +78,7 @@
|
|||
|
||||
<programlisting><![CDATA[<class name="eg.Person" table="person">
|
||||
<id name="Key" column="pid" type="string">
|
||||
<generator class="uuid.hex"/>
|
||||
<generator class="uuid"/>
|
||||
</id>
|
||||
<property name="birthday" type="date"/>
|
||||
<component name="Name" class="eg.Name"> <!-- class attribute optional -->
|
||||
|
@ -120,7 +120,7 @@
|
|||
|
||||
<programlisting><![CDATA[<class name="eg.Person" table="person">
|
||||
<id name="Key" column="pid" type="string">
|
||||
<generator class="uuid.hex"/>
|
||||
<generator class="uuid"/>
|
||||
</id>
|
||||
<property name="birthday" type="date"/>
|
||||
<component name="Name" class="eg.Name" unique="true">
|
||||
|
|
|
@ -599,7 +599,7 @@ alter table line_items
|
|||
</class>]]></programlisting>
|
||||
</sect2>
|
||||
|
||||
<sect2 id="example-mappings-association-alternatekeys" >
|
||||
<sect2 id="example-mappings-association-alternatekeys" revision="2">
|
||||
<title>Associations on alternate keys</title>
|
||||
<programlisting><![CDATA[<class name="Person">
|
||||
|
||||
|
@ -640,7 +640,7 @@ alter table line_items
|
|||
|
||||
<class name="Account">
|
||||
<id name="accountId" length="32">
|
||||
<generator class="uuid.hex"/>
|
||||
<generator class="uuid"/>
|
||||
</id>
|
||||
|
||||
<many-to-one name="user"
|
||||
|
|
|
@ -360,7 +360,7 @@ public class Cat {
|
|||
|
||||
</sect1>
|
||||
|
||||
<sect1 id="quickstart-mapping" revision="1">
|
||||
<sect1 id="quickstart-mapping" revision="2">
|
||||
<title>Mapping the cat</title>
|
||||
|
||||
<para>
|
||||
|
@ -383,7 +383,7 @@ public class Cat {
|
|||
generated by Hibernate with the UUID pattern. -->
|
||||
<id name="id" type="string" unsaved-value="null" >
|
||||
<column name="CAT_ID" sql-type="char(32)" not-null="true"/>
|
||||
<generator class="uuid.hex"/>
|
||||
<generator class="uuid"/>
|
||||
</id>
|
||||
|
||||
<!-- A cat has to have a name, but it shouldn' be too long. -->
|
||||
|
|
Loading…
Reference in New Issue