[jboss-cvs] JBossAS SVN: r95352 - projects/docs/enterprise/5.0/Hibernate/Hibernate_Annotations_Reference_Guide/en-US.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Wed Oct 21 21:28:18 EDT 2009
Author: laubai
Date: 2009-10-21 21:28:18 -0400 (Wed, 21 Oct 2009)
New Revision: 95352
Modified:
projects/docs/enterprise/5.0/Hibernate/Hibernate_Annotations_Reference_Guide/en-US/Revision_History.xml
projects/docs/enterprise/5.0/Hibernate/Hibernate_Annotations_Reference_Guide/en-US/entity.xml
projects/docs/enterprise/5.0/Hibernate/Hibernate_Annotations_Reference_Guide/en-US/setup.xml
Log:
Added changes for PDF build.
Modified: projects/docs/enterprise/5.0/Hibernate/Hibernate_Annotations_Reference_Guide/en-US/Revision_History.xml
===================================================================
--- projects/docs/enterprise/5.0/Hibernate/Hibernate_Annotations_Reference_Guide/en-US/Revision_History.xml 2009-10-22 00:57:51 UTC (rev 95351)
+++ projects/docs/enterprise/5.0/Hibernate/Hibernate_Annotations_Reference_Guide/en-US/Revision_History.xml 2009-10-22 01:28:18 UTC (rev 95352)
@@ -8,15 +8,15 @@
<revhistory>
<revision>
<revnumber>1.0</revnumber>
- <date></date>
+ <date>Thu Oct 21 2009</date>
<author>
- <firstname></firstname>
- <surname></surname>
- <email></email>
+ <firstname>Laura</firstname>
+ <surname>Bailey</surname>
+ <email>lbailey at redhat.com</email>
</author>
<revdescription>
<simplelist>
- <member></member>
+ <member>Initial draft.</member>
</simplelist>
</revdescription>
</revision>
Modified: projects/docs/enterprise/5.0/Hibernate/Hibernate_Annotations_Reference_Guide/en-US/entity.xml
===================================================================
--- projects/docs/enterprise/5.0/Hibernate/Hibernate_Annotations_Reference_Guide/en-US/entity.xml 2009-10-22 00:57:51 UTC (rev 95351)
+++ projects/docs/enterprise/5.0/Hibernate/Hibernate_Annotations_Reference_Guide/en-US/entity.xml 2009-10-22 01:28:18 UTC (rev 95352)
@@ -1307,10 +1307,9 @@
<row>
<entry>Bag semantic</entry>
- <entry>java.util.List, java.util.Collection</entry>
+ <entry><para>java.util.List</para><para>java.util.Collection</para></entry>
- <entry>@org.hibernate.annotations.CollectionOfElements or
- @OneToMany or @ManyToMany</entry>
+ <entry><para>@org.hibernate.annotations.CollectionOfElements</para><para>or @OneToMany</para><para>or @ManyToMany</para></entry>
</row>
<row>
Modified: projects/docs/enterprise/5.0/Hibernate/Hibernate_Annotations_Reference_Guide/en-US/setup.xml
===================================================================
--- projects/docs/enterprise/5.0/Hibernate/Hibernate_Annotations_Reference_Guide/en-US/setup.xml 2009-10-22 00:57:51 UTC (rev 95351)
+++ projects/docs/enterprise/5.0/Hibernate/Hibernate_Annotations_Reference_Guide/en-US/setup.xml 2009-10-22 01:28:18 UTC (rev 95352)
@@ -149,13 +149,13 @@
using the programmatic API</para>
<programlisting> sessionFactory = new <emphasis role="bold">AnnotationConfiguration()
- .addPackage("test.animals") //the fully qualified package name
- .addAnnotatedClass(Flight.class)
- .addAnnotatedClass(Sky.class)
- .addAnnotatedClass(Person.class)
- .addAnnotatedClass(Dog.class)</emphasis>
-<emphasis role="bold"> .addResource("test/animals/orm.xml")</emphasis>
- configure()..buildSessionFactory();</programlisting>
+ .addPackage("test.animals") //the fully qualified package name
+ .addAnnotatedClass(Flight.class)
+ .addAnnotatedClass(Sky.class)
+ .addAnnotatedClass(Person.class)
+ .addAnnotatedClass(Dog.class)</emphasis>
+<emphasis role="bold">.addResource("test/animals/orm.xml")</emphasis>
+ configure()..buildSessionFactory();</programlisting>
<para>You can also use the Hibernate EntityManager which has its own
configuration mechanism. Please refer to this project documentation for
More information about the jboss-cvs-commits
mailing list