Author: ochikvina
Date: 2009-09-23 11:53:25 -0400 (Wed, 23 Sep 2009)
New Revision: 17705
Modified:
trunk/hibernatetools/docs/reference/en/modules/plugins.xml
Log:
https://jira.jboss.org/jira/browse/JBDS-861 - updating the 'Creating a Hibernate
Mapping File' section;
Modified: trunk/hibernatetools/docs/reference/en/modules/plugins.xml
===================================================================
--- trunk/hibernatetools/docs/reference/en/modules/plugins.xml 2009-09-23 15:51:15 UTC
(rev 17704)
+++ trunk/hibernatetools/docs/reference/en/modules/plugins.xml 2009-09-23 15:53:25 UTC
(rev 17705)
@@ -33,11 +33,11 @@
<para>Hibernate mapping files are used to specify how your objects are related
to database
tables.</para>
- <para>For creating a skeleton mapping file, i. e. any <emphasis>
+ <para>To create basic mappings for properties and associations, i. e. generate
<emphasis>
<property>.hbm.xml</property>
- </emphasis>, Hibernate Tools provide a basic wizard which you can bring up by
navigating <emphasis>
+ </emphasis> files, Hibernate Tools provide a basic wizard which you can bring
up by navigating <emphasis>
<property>New > Hibernate XML mapping
file</property>.</emphasis></para>
-
+ <para>At first you'll be asked to select a package or multiple
individual classes to map.</para>
<figure>
<title>Hibernate XML Mapping File Wizard</title>
@@ -48,10 +48,9 @@
</mediaobject>
</figure>
- <para>At first you'll be asked to specify the location and the name
for a new mapping
- file. On the next dialog you should type or browse the class to map.</para>
+ <para>Next wizard page lists the mappings to be generated.</para>
<figure>
- <title>Specifying the Class to Map</title>
+ <title>Mappings to be generated</title>
<mediaobject>
<imageobject>
@@ -59,22 +58,8 @@
</imageobject>
</mediaobject>
</figure>
- <para>Pressing finish creates the file and opens it in the <link
- linkend="map_config_struct_editor">structured hbm.xml
editor</link>.</para>
+ <para>Pressing finish creates the files.</para>
- <para> If you start the wizard from the selected class, all values will be
detected there
- automatically.</para>
-
- <figure>
- <title>Creating Mapping File for Selected Class</title>
-
- <mediaobject>
- <imageobject>
- <imagedata fileref="images/plugins/plugins_0_b.png"/>
- </imageobject>
- </mediaobject>
- </figure>
-
</section>
<section id="hib_config_file">