From jbosstools-commits at lists.jboss.org Fri Feb 1 12:25:12 2008 Content-Type: multipart/mixed; boundary="===============1836509906631009557==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r6092 - trunk/hibernatetools/docs/reference/en/modules. Date: Fri, 01 Feb 2008 12:25:12 -0500 Message-ID: --===============1836509906631009557== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: ochikvina Date: 2008-02-01 12:25:12 -0500 (Fri, 01 Feb 2008) New Revision: 6092 Modified: trunk/hibernatetools/docs/reference/en/modules/ant.xml Log: http://jira.jboss.com/jira/browse/JBDS-236 - puting text in Tip form in ann= otationconfiguration section, completing the sentence in the jbdcconfigurat= ion section Modified: trunk/hibernatetools/docs/reference/en/modules/ant.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- trunk/hibernatetools/docs/reference/en/modules/ant.xml 2008-02-01 16:42= :15 UTC (rev 6091) +++ trunk/hibernatetools/docs/reference/en/modules/ant.xml 2008-02-01 17:25= :12 UTC (rev 6092) @@ -287,11 +287,12 @@ exists, and a - hibernate.properties + hibernate.properties + fileset is used instead. - Hibernate will still read any global /hibernate.= properties + Tip: + Hibernate will still read any global = hibernate.properties available in the classpath, but the specified properties file = here will override those values for any non-global property. @@ -318,10 +319,15 @@ An <annotationconfiguration> is used when you want to read the metamodel from EJB3/= Hibernate Annotations - based POJO's. To use it remember to put the jars file needed for u= sing hibernate annotations - in the classpath of the - <taskdef> - . + based POJO's. + = + + Tip: + To use it remember to put the jar files needed for using hib= ernate annotations + in the classpath of the + <taskdef> + , i. e. hibernate-annotations.jar and hibernate-commo= ns-annotations.jar. + = The <annotationconfiguration> @@ -423,7 +429,9 @@ is used to perform reverse engineering of the database= from a JDBC connection. = - This configuration works by reading the connection properties = from + This configuration works by reading the connection properties = either from + hibernate.cfg.xml or + hibernate.properties with a file= set. = The @@ -518,9 +526,7 @@ ]]> - - -
+
Exporters = Exporters are the parts that does the actual job of converting t= he hibernate metamodel @@ -882,6 +888,8 @@
= + = +
Using properties to configure Exporters = @@ -892,7 +900,7 @@ <propertyset> and each exporter will have access to them directly in t= he templates and via - Exporter.setProperties(). + Exporter.setProperties(). =
<literal><property></literal> and @@ -901,9 +909,11 @@ <para>The <emphasis> <property><property></property> </emphasis> allows you bind a string value to a key. The value wil= l be available in the - templates via $<key>. The following example will assign the = string value <emphasis> + templates via <emphasis> + <property>$<key></property></emphasis>. The following exam= ple will assign the string value <emphasis> <property>"true"</property> - </emphasis> to the variable <literal>$descriptors.</literal></para> + </emphasis> to the variable <emphasis> + <property>$descriptors</property></emphasis>.</para> = <programlisting><![CDATA[<property key=3D"descriptors" value=3D"true= "/>]]></programlisting> = --===============1836509906631009557==--