[jboss-cvs] JBossAS SVN: r78143 - projects/docs/enterprise/4.3.3/Hibernate/Object_Relational_Mapping/en-US.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Sun Sep 7 23:59:10 EDT 2008


Author: irooskov at redhat.com
Date: 2008-09-07 23:59:09 -0400 (Sun, 07 Sep 2008)
New Revision: 78143

Added:
   projects/docs/enterprise/4.3.3/Hibernate/Object_Relational_Mapping/en-US/Hibernate_Object_Relational_Mapping_CP03.ent
   projects/docs/enterprise/4.3.3/Hibernate/Object_Relational_Mapping/en-US/Hibernate_Object_Relational_Mapping_CP03.xml
Removed:
   projects/docs/enterprise/4.3.3/Hibernate/Object_Relational_Mapping/en-US/Object_Relational_Mapping.xml
Modified:
   projects/docs/enterprise/4.3.3/Hibernate/Object_Relational_Mapping/en-US/Association_Mappings.xml
   projects/docs/enterprise/4.3.3/Hibernate/Object_Relational_Mapping/en-US/Basic_O_R_Mapping.xml
   projects/docs/enterprise/4.3.3/Hibernate/Object_Relational_Mapping/en-US/Book_Info.xml
   projects/docs/enterprise/4.3.3/Hibernate/Object_Relational_Mapping/en-US/Collection_Mapping.xml
   projects/docs/enterprise/4.3.3/Hibernate/Object_Relational_Mapping/en-US/Component_Mapping.xml
   projects/docs/enterprise/4.3.3/Hibernate/Object_Relational_Mapping/en-US/Inheritance_Mapping.xml
Log:
update for build system


Modified: projects/docs/enterprise/4.3.3/Hibernate/Object_Relational_Mapping/en-US/Association_Mappings.xml
===================================================================
--- projects/docs/enterprise/4.3.3/Hibernate/Object_Relational_Mapping/en-US/Association_Mappings.xml	2008-09-08 03:54:27 UTC (rev 78142)
+++ projects/docs/enterprise/4.3.3/Hibernate/Object_Relational_Mapping/en-US/Association_Mappings.xml	2008-09-08 03:59:09 UTC (rev 78143)
@@ -1,13 +1,8 @@
 <?xml version='1.0'?>
 
 <!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN" "http://www.oasis-open.org/docbook/xml
-/4.3/docbookx.dtd"[
+/4.3/docbookx.dtd">
 
-<!ENTITY % RH_ENTITIES SYSTEM "./Common_Config/rh-entities.ent">
-%RH_ENTITIES;
-
-]>
-
 <chapter id="associations">
   <title>Association Mappings</title>
 

Modified: projects/docs/enterprise/4.3.3/Hibernate/Object_Relational_Mapping/en-US/Basic_O_R_Mapping.xml
===================================================================
--- projects/docs/enterprise/4.3.3/Hibernate/Object_Relational_Mapping/en-US/Basic_O_R_Mapping.xml	2008-09-08 03:54:27 UTC (rev 78142)
+++ projects/docs/enterprise/4.3.3/Hibernate/Object_Relational_Mapping/en-US/Basic_O_R_Mapping.xml	2008-09-08 03:59:09 UTC (rev 78143)
@@ -1,13 +1,8 @@
 <?xml version='1.0'?>
 
 <!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN" "http://www.oasis-open.org/docbook/xml
-/4.3/docbookx.dtd"[
+/4.3/docbookx.dtd">
 
-<!ENTITY % RH_ENTITIES SYSTEM "./Common_Config/rh-entities.ent">
-%RH_ENTITIES;
-
-]>
-
 <chapter id="mapping">
   <title>Basic O/R Mapping</title>
 
@@ -155,21 +150,22 @@
         <para>
           An example of utilizing user namespacing:
         </para>
-<programlisting><![CDATA[<?xml version="1.0"?>
-<!DOCTYPE hibernate-mapping PUBLIC
+<programlisting>
+&lt;?xml version="1.0"?&gt;
+&lt;!DOCTYPE hibernate-mapping PUBLIC
         "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
         "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd" [
-    <!ENTITY types SYSTEM "classpath://your/domain/types.xml">
-]>
+	&lt;!ENTITY types SYSTEM "classpath://your/domain/types.xml"&gt;
+	]&gt;
 
-<hibernate-mapping package="your.domain">
-    <class name="MyEntity">
-        <id name="id" type="my-custom-id-type">
+	&lt;hibernate-mapping package="your.domain"&gt;
+	&lt;class name="MyEntity"&gt;
+	&lt;id name="id" type="my-custom-id-type"&gt;
             ...
-        </id>
-    <class>
-    &types;
-</hibernate-mapping>]]></programlisting>
+	&lt;/id&gt;
+	&lt;class&gt;
+    &amp;types;
+    &lt;/hibernate-mapping&gt;</programlisting>
         <para>
           Where <literal>types.xml</literal> is a resource in the
           <literal>your.domain</literal> package and contains a custom
@@ -1099,7 +1095,7 @@
         <literal>dependent</literal>. The identifier class must override
         <literal>equals()</literal> and <literal>hashCode()</literal>
         and implement. <literal>Serializable</literal>. The disadvantage
-        of this approach is quite obvious&mdash;code duplication.
+        of this approach is code duplication.
       </para>
 
       <para>

Modified: projects/docs/enterprise/4.3.3/Hibernate/Object_Relational_Mapping/en-US/Book_Info.xml
===================================================================
--- projects/docs/enterprise/4.3.3/Hibernate/Object_Relational_Mapping/en-US/Book_Info.xml	2008-09-08 03:54:27 UTC (rev 78142)
+++ projects/docs/enterprise/4.3.3/Hibernate/Object_Relational_Mapping/en-US/Book_Info.xml	2008-09-08 03:59:09 UTC (rev 78143)
@@ -1,19 +1,14 @@
 <?xml version='1.0'?>
 
-<!DOCTYPE bookinfo PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN" "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"[
+<!DOCTYPE bookinfo PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN" "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd">
 
-<!ENTITY % RH_ENTITIES SYSTEM "./Common_Config/rh-entities.ent">
-%RH_ENTITIES;
-
-]>
-
 <bookinfo>
-  <title>Object Relational Mapping</title>
-  <subtitle>for Use with JBoss Enterprise Application Platform</subtitle>
+  <title>Hibernate Object Relational Mapping CP03</title>
+  <subtitle>for Use with JBoss Enterprise Application Platform 4.3 CP03</subtitle>
 	<edition>2.0</edition>
-	<pubsnumber>4</pubsnumber>
-	<productname>Hibernate</productname>
-	<productnumber>4.3.3</productnumber>
+	<pubsnumber>1</pubsnumber>
+	<productname>JBoss Enterprise Application Platform</productname>
+	<productnumber>4.3</productnumber>
   <mediaobject>
     <imageobject>
       <imagedata fileref="Common_Content/images/rhlogo-chapter-title.png"/>
@@ -30,7 +25,7 @@
   </publisher>
   <copyright>
     <year>&YEAR;</year>
-    <holder>&FORMAL-RHI;</holder>
+    <holder>&HOLDER;</holder>
   </copyright>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="Common_Content/Legal_Notice.xml"/>
 </bookinfo>

Modified: projects/docs/enterprise/4.3.3/Hibernate/Object_Relational_Mapping/en-US/Collection_Mapping.xml
===================================================================
--- projects/docs/enterprise/4.3.3/Hibernate/Object_Relational_Mapping/en-US/Collection_Mapping.xml	2008-09-08 03:54:27 UTC (rev 78142)
+++ projects/docs/enterprise/4.3.3/Hibernate/Object_Relational_Mapping/en-US/Collection_Mapping.xml	2008-09-08 03:59:09 UTC (rev 78143)
@@ -2,13 +2,8 @@
 
 <!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN" "http://www.oasis-open.org/docbook/
 xml
-/4.3/docbookx.dtd"[
+/4.3/docbookx.dtd">
 
-<!ENTITY % RH_ENTITIES SYSTEM "./Common_Config/rh-entities.ent">
-%RH_ENTITIES;
-
-]>
-
 <chapter id="collections">
   <title>Collection Mapping</title>
 

Modified: projects/docs/enterprise/4.3.3/Hibernate/Object_Relational_Mapping/en-US/Component_Mapping.xml
===================================================================
--- projects/docs/enterprise/4.3.3/Hibernate/Object_Relational_Mapping/en-US/Component_Mapping.xml	2008-09-08 03:54:27 UTC (rev 78142)
+++ projects/docs/enterprise/4.3.3/Hibernate/Object_Relational_Mapping/en-US/Component_Mapping.xml	2008-09-08 03:59:09 UTC (rev 78143)
@@ -2,13 +2,8 @@
 
 <!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN" "http://www.oasis-open.org/docbook/
 xml
-/4.3/docbookx.dtd"[
+/4.3/docbookx.dtd">
 
-<!ENTITY % RH_ENTITIES SYSTEM "./Common_Config/rh-entities.ent">
-%RH_ENTITIES;
-
-]>
-
 <chapter id="components">
   <title>Component Mapping</title>
 

Added: projects/docs/enterprise/4.3.3/Hibernate/Object_Relational_Mapping/en-US/Hibernate_Object_Relational_Mapping_CP03.ent
===================================================================
--- projects/docs/enterprise/4.3.3/Hibernate/Object_Relational_Mapping/en-US/Hibernate_Object_Relational_Mapping_CP03.ent	                        (rev 0)
+++ projects/docs/enterprise/4.3.3/Hibernate/Object_Relational_Mapping/en-US/Hibernate_Object_Relational_Mapping_CP03.ent	2008-09-08 03:59:09 UTC (rev 78143)
@@ -0,0 +1,2 @@
+<!ENTITY HOLDER "Red Hat, Inc">
+<!ENTITY YEAR "2008">

Added: projects/docs/enterprise/4.3.3/Hibernate/Object_Relational_Mapping/en-US/Hibernate_Object_Relational_Mapping_CP03.xml
===================================================================
--- projects/docs/enterprise/4.3.3/Hibernate/Object_Relational_Mapping/en-US/Hibernate_Object_Relational_Mapping_CP03.xml	                        (rev 0)
+++ projects/docs/enterprise/4.3.3/Hibernate/Object_Relational_Mapping/en-US/Hibernate_Object_Relational_Mapping_CP03.xml	2008-09-08 03:59:09 UTC (rev 78143)
@@ -0,0 +1,20 @@
+<?xml version='1.0'?>
+<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN" "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd">
+
+<book id="Object_Relational_Mapping" lang="en-US">
+
+    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="Book_Info.xml"/>
+
+
+
+
+
+    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="Basic_O_R_Mapping.xml"/>
+    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="Collection_Mapping.xml"/>
+    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="Association_Mappings.xml"/>
+    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="Component_Mapping.xml"/>
+    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="Inheritance_Mapping.xml"/>
+<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="Revision_History.xml"/>
+
+</book>
+

Modified: projects/docs/enterprise/4.3.3/Hibernate/Object_Relational_Mapping/en-US/Inheritance_Mapping.xml
===================================================================
--- projects/docs/enterprise/4.3.3/Hibernate/Object_Relational_Mapping/en-US/Inheritance_Mapping.xml	2008-09-08 03:54:27 UTC (rev 78142)
+++ projects/docs/enterprise/4.3.3/Hibernate/Object_Relational_Mapping/en-US/Inheritance_Mapping.xml	2008-09-08 03:59:09 UTC (rev 78143)
@@ -2,13 +2,8 @@
 
 <!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN" "http://www.oasis-open.org/docbook/
 xml
-/4.3/docbookx.dtd"[
+/4.3/docbookx.dtd">
 
-<!ENTITY % RH_ENTITIES SYSTEM "./Common_Config/rh-entities.ent">
-%RH_ENTITIES;
-
-]>
-
 <chapter id="inheritance">
   <title>Inheritance Mapping</title>
 
@@ -320,12 +315,10 @@
         Notice that nowhere do we mention the <literal>Payment</literal>
         interface explicitly. Also notice that properties of
         <literal>Payment</literal> are mapped in each of the subclasses.
-        If you want to avoid duplication, consider using XML entities
-        (e.g. <literal>[ &lt;!ENTITY allproperties SYSTEM
-        "allproperties.xml"&gt; ]</literal> in the
-        <literal>DOCTYPE</literal> declartion and
-        <literal>&amp;allproperties;</literal> in the mapping).
-      </para>
+	If you want to avoid duplication, consider using XML entities:</para>
+<screen>[ &lt;!ENTITY allproperties SYSTEM "allproperties.xml"&gt; ]</screen> 
+	<para>in the
+        <literal>DOCTYPE</literal> declartion and in the mapping declare an <code>allproperties</code> entity with an and sign ( &amp; ) at the beginning and a semicolon ( ; )at the end. </para>
 
       <para>
         The disadvantage of this approach is that Hibernate does not

Deleted: projects/docs/enterprise/4.3.3/Hibernate/Object_Relational_Mapping/en-US/Object_Relational_Mapping.xml
===================================================================
--- projects/docs/enterprise/4.3.3/Hibernate/Object_Relational_Mapping/en-US/Object_Relational_Mapping.xml	2008-09-08 03:54:27 UTC (rev 78142)
+++ projects/docs/enterprise/4.3.3/Hibernate/Object_Relational_Mapping/en-US/Object_Relational_Mapping.xml	2008-09-08 03:59:09 UTC (rev 78143)
@@ -1,26 +0,0 @@
-<?xml version='1.0'?>
-<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN" "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
-
-<!ENTITY % RH_ENTITIES SYSTEM "./Common_Config/rh-entities.ent">
-%RH_ENTITIES;
-
-]>
-
-<book id="Object_Relational_Mapping" lang="en-US">
-
-    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="Book_Info.xml"/>
-
-
-
-
-
-    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="Basic_O_R_Mapping.xml"/>
-    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="Collection_Mapping.xml"/>
-    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="Association_Mappings.xml"/>
-    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="Component_Mapping.xml"/>
-    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="Inheritance_Mapping.xml"/>
-
-<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="Revision_History.xml"/>
-
-</book>
-




More information about the jboss-cvs-commits mailing list