From 8ae122f584bf9f941e34455e26c5c235aebe3e6c Mon Sep 17 00:00:00 2001 From: Brett Meyer Date: Tue, 27 May 2014 22:06:25 -0400 Subject: [PATCH] HHH-8904 minor edits --- .../docbook/manual/en-US/content/performance.xml | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/documentation/src/main/docbook/manual/en-US/content/performance.xml b/documentation/src/main/docbook/manual/en-US/content/performance.xml index 4c44b51545..54d974bbf9 100644 --- a/documentation/src/main/docbook/manual/en-US/content/performance.xml +++ b/documentation/src/main/docbook/manual/en-US/content/performance.xml @@ -1364,17 +1364,17 @@ hibernate.cache.use_structured_entries true
- Buildtime instrument - Besides above two approaches, Hibernate also provides you a + Build-time instrument + Besides the above two approaches, Hibernate also provides a third choice which is build time bytecode enhancement. Applications - should use enhanced entity classes annotated with either javax.persistence.Entity + can use enhanced entity classes, annotated with either javax.persistence.Entity or composite javax.persistence.Embeddable.
Ant Task To use the task org.hibernate.tool.enhance.EnhancementTask - define a taskdef and call the task as the example shows. This code uses a - pre defined classpathref and a property referencing the compiled classes + define a taskdef and call the task, as shown below. This code uses a + pre-defined classpathref and a property referencing the compiled classes directory. <taskdef name="enhance" classname="org.hibernate.tool.enhance.EnhancementTask" classpathref="enhancement.classpath" /> <enhance> @@ -1382,8 +1382,9 @@ hibernate.cache.use_structured_entries true </enhance> - The EnhancementTask is intended as a replacement for InstrumentTask. It is also incompatible so instrumented classels - will need building from source again. + The EnhancementTask is intended as a total replacement for InstrumentTask. + Further, it is also incompatible with InstrumentTask, so any existing instrumented classes + will need to be built from source again.