[jboss-cvs] JBossAS SVN: r78145 - projects/docs/enterprise/4.2.5/Hibernate/Object_Relational_Mapping/en-US.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Mon Sep 8 00:07:50 EDT 2008
Author: irooskov at redhat.com
Date: 2008-09-08 00:07:50 -0400 (Mon, 08 Sep 2008)
New Revision: 78145
Added:
projects/docs/enterprise/4.2.5/Hibernate/Object_Relational_Mapping/en-US/Hibernate_Object_Relational_Mapping_CP05.ent
projects/docs/enterprise/4.2.5/Hibernate/Object_Relational_Mapping/en-US/Hibernate_Object_Relational_Mapping_CP05.xml
Removed:
projects/docs/enterprise/4.2.5/Hibernate/Object_Relational_Mapping/en-US/Object_Relational_Mapping.xml
Modified:
projects/docs/enterprise/4.2.5/Hibernate/Object_Relational_Mapping/en-US/Association_Mappings.xml
projects/docs/enterprise/4.2.5/Hibernate/Object_Relational_Mapping/en-US/Basic_O_R_Mapping.xml
projects/docs/enterprise/4.2.5/Hibernate/Object_Relational_Mapping/en-US/Book_Info.xml
projects/docs/enterprise/4.2.5/Hibernate/Object_Relational_Mapping/en-US/Collection_Mapping.xml
projects/docs/enterprise/4.2.5/Hibernate/Object_Relational_Mapping/en-US/Component_Mapping.xml
projects/docs/enterprise/4.2.5/Hibernate/Object_Relational_Mapping/en-US/Inheritance_Mapping.xml
Log:
update for build system
Modified: projects/docs/enterprise/4.2.5/Hibernate/Object_Relational_Mapping/en-US/Association_Mappings.xml
===================================================================
--- projects/docs/enterprise/4.2.5/Hibernate/Object_Relational_Mapping/en-US/Association_Mappings.xml 2008-09-08 04:05:15 UTC (rev 78144)
+++ projects/docs/enterprise/4.2.5/Hibernate/Object_Relational_Mapping/en-US/Association_Mappings.xml 2008-09-08 04:07:50 UTC (rev 78145)
@@ -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.2.5/Hibernate/Object_Relational_Mapping/en-US/Basic_O_R_Mapping.xml
===================================================================
--- projects/docs/enterprise/4.2.5/Hibernate/Object_Relational_Mapping/en-US/Basic_O_R_Mapping.xml 2008-09-08 04:05:15 UTC (rev 78144)
+++ projects/docs/enterprise/4.2.5/Hibernate/Object_Relational_Mapping/en-US/Basic_O_R_Mapping.xml 2008-09-08 04:07:50 UTC (rev 78145)
@@ -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>
Modified: projects/docs/enterprise/4.2.5/Hibernate/Object_Relational_Mapping/en-US/Book_Info.xml
===================================================================
--- projects/docs/enterprise/4.2.5/Hibernate/Object_Relational_Mapping/en-US/Book_Info.xml 2008-09-08 04:05:15 UTC (rev 78144)
+++ projects/docs/enterprise/4.2.5/Hibernate/Object_Relational_Mapping/en-US/Book_Info.xml 2008-09-08 04:07:50 UTC (rev 78145)
@@ -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 CP05</title>
+ <subtitle>for Use with JBoss Enterprise Application Platform 4.2 CP05</subtitle>
<edition>1.0</edition>
- <pubsnumber>6</pubsnumber>
- <productname>Hibernate</productname>
- <productnumber>4.2.5</productnumber>
+ <pubsnumber>1</pubsnumber>
+ <productname>JBoss Enterprise Application Platform</productname>
+ <productnumber>4.2</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.2.5/Hibernate/Object_Relational_Mapping/en-US/Collection_Mapping.xml
===================================================================
--- projects/docs/enterprise/4.2.5/Hibernate/Object_Relational_Mapping/en-US/Collection_Mapping.xml 2008-09-08 04:05:15 UTC (rev 78144)
+++ projects/docs/enterprise/4.2.5/Hibernate/Object_Relational_Mapping/en-US/Collection_Mapping.xml 2008-09-08 04:07:50 UTC (rev 78145)
@@ -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.2.5/Hibernate/Object_Relational_Mapping/en-US/Component_Mapping.xml
===================================================================
--- projects/docs/enterprise/4.2.5/Hibernate/Object_Relational_Mapping/en-US/Component_Mapping.xml 2008-09-08 04:05:15 UTC (rev 78144)
+++ projects/docs/enterprise/4.2.5/Hibernate/Object_Relational_Mapping/en-US/Component_Mapping.xml 2008-09-08 04:07:50 UTC (rev 78145)
@@ -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.2.5/Hibernate/Object_Relational_Mapping/en-US/Hibernate_Object_Relational_Mapping_CP05.ent
===================================================================
--- projects/docs/enterprise/4.2.5/Hibernate/Object_Relational_Mapping/en-US/Hibernate_Object_Relational_Mapping_CP05.ent (rev 0)
+++ projects/docs/enterprise/4.2.5/Hibernate/Object_Relational_Mapping/en-US/Hibernate_Object_Relational_Mapping_CP05.ent 2008-09-08 04:07:50 UTC (rev 78145)
@@ -0,0 +1,2 @@
+<!ENTITY HOLDER "Red Hat, Inc">
+<!ENTITY YEAR "2008">
Added: projects/docs/enterprise/4.2.5/Hibernate/Object_Relational_Mapping/en-US/Hibernate_Object_Relational_Mapping_CP05.xml
===================================================================
--- projects/docs/enterprise/4.2.5/Hibernate/Object_Relational_Mapping/en-US/Hibernate_Object_Relational_Mapping_CP05.xml (rev 0)
+++ projects/docs/enterprise/4.2.5/Hibernate/Object_Relational_Mapping/en-US/Hibernate_Object_Relational_Mapping_CP05.xml 2008-09-08 04:07:50 UTC (rev 78145)
@@ -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.2.5/Hibernate/Object_Relational_Mapping/en-US/Inheritance_Mapping.xml
===================================================================
--- projects/docs/enterprise/4.2.5/Hibernate/Object_Relational_Mapping/en-US/Inheritance_Mapping.xml 2008-09-08 04:05:15 UTC (rev 78144)
+++ projects/docs/enterprise/4.2.5/Hibernate/Object_Relational_Mapping/en-US/Inheritance_Mapping.xml 2008-09-08 04:07:50 UTC (rev 78145)
@@ -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>
@@ -316,16 +311,14 @@
<property name="amount" column="CHEQUE_AMOUNT"/>
...
</class>]]></programlisting>
- <para>
- 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>[ <!ENTITY allproperties SYSTEM
- "allproperties.xml"> ]</literal> in the
- <literal>DOCTYPE</literal> declartion and
- <literal>&allproperties;</literal> in the mapping).
- </para>
+<para>
+ 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:</para>
+<screen>[ <!ENTITY allproperties SYSTEM "allproperties.xml"> ]</screen>
+<para>in the
+ <literal>DOCTYPE</literal> declartion and in the mapping declare an <code>allproperties</code> entity with an and sign ( & ) 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.2.5/Hibernate/Object_Relational_Mapping/en-US/Object_Relational_Mapping.xml
===================================================================
--- projects/docs/enterprise/4.2.5/Hibernate/Object_Relational_Mapping/en-US/Object_Relational_Mapping.xml 2008-09-08 04:05:15 UTC (rev 78144)
+++ projects/docs/enterprise/4.2.5/Hibernate/Object_Relational_Mapping/en-US/Object_Relational_Mapping.xml 2008-09-08 04:07:50 UTC (rev 78145)
@@ -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