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.