HHH-8904 minor edits

This commit is contained in:
Brett Meyer 2014-05-27 22:06:25 -04:00
parent 9fe3862e55
commit 43d8751e96
1 changed files with 8 additions and 7 deletions

View File

@ -1364,17 +1364,17 @@ hibernate.cache.use_structured_entries true</programlisting>
</section> </section>
<section xml:id="entityentry-lookup-buildtime-instrument"> <section xml:id="entityentry-lookup-buildtime-instrument">
<title>Buildtime instrument</title> <title>Build-time instrument</title>
<para>Besides above two approaches, Hibernate also provides you a <para>Besides the above two approaches, Hibernate also provides a
third choice which is build time bytecode enhancement. Applications third choice which is build time bytecode enhancement. Applications
should use enhanced entity classes annotated with either <classname>javax.persistence.Entity</classname> can use enhanced entity classes, annotated with either <classname>javax.persistence.Entity</classname>
or composite <classname>javax.persistence.Embeddable</classname>. or composite <classname>javax.persistence.Embeddable</classname>.
<section xml:id="entityentry-lookup-buildtime-instrument-ant"> <section xml:id="entityentry-lookup-buildtime-instrument-ant">
<title>Ant Task</title> <title>Ant Task</title>
<para>To use the task <classname>org.hibernate.tool.enhance.EnhancementTask</classname> <para>To use the task <classname>org.hibernate.tool.enhance.EnhancementTask</classname>
define a taskdef and call the task as the example shows. This code uses a define a taskdef and call the task, as shown below. This code uses a
pre defined classpathref and a property referencing the compiled classes pre-defined classpathref and a property referencing the compiled classes
directory. directory.
<programlisting role="XML">&lt;taskdef name="enhance" classname="org.hibernate.tool.enhance.EnhancementTask" classpathref="enhancement.classpath" /&gt; <programlisting role="XML">&lt;taskdef name="enhance" classname="org.hibernate.tool.enhance.EnhancementTask" classpathref="enhancement.classpath" /&gt;
&lt;enhance&gt; &lt;enhance&gt;
@ -1382,8 +1382,9 @@ hibernate.cache.use_structured_entries true</programlisting>
&lt;/enhance&gt;</programlisting> &lt;/enhance&gt;</programlisting>
</para> </para>
<note> <note>
<para>The EnhancementTask is intended as a replacement for <link linkend="performance-fetching-lazyproperties">InstrumentTask</link>. It is also incompatible so instrumented classels <para>The EnhancementTask is intended as a total replacement for <link linkend="performance-fetching-lazyproperties">InstrumentTask</link>.
will need building from source again.</para> Further, it is also incompatible with <link linkend="performance-fetching-lazyproperties">InstrumentTask</link>, so any existing instrumented classes
will need to be built from source again.</para>
</note> </note>
</section> </section>
<section xml:id="entityentry-lookup-buildtime-instrument-maven"> <section xml:id="entityentry-lookup-buildtime-instrument-maven">