public class EnhancementTask
extends org.apache.tools.ant.Task
<target name="enhance" depends="compile">
<taskdef name="enhance" classname="org.hibernate.tool.enhance.EnhancementTask">
<classpath refid="<some-ant-path-including-hibernate-core-jar>"/>
<classpath path="<your-classes-path>"/>
</taskdef>
<enhance base="${base}" dir="${base}" failOnError="true" enableLazyInitialization="true" enableDirtyTracking="false" enableAssociationManagement="false" enableExtendedEnhancement="false" />
</target>
Managed
Constructor and Description |
---|
EnhancementTask() |
Modifier and Type | Method and Description |
---|---|
void |
execute() |
void |
setBase(String base) |
void |
setDir(String dir) |
void |
setEnableAssociationManagement(boolean enableAssociationManagement) |
void |
setEnableDirtyTracking(boolean enableDirtyTracking) |
void |
setEnableExtendedEnhancement(boolean enableExtendedEnhancement) |
void |
setEnableLazyInitialization(boolean enableLazyInitialization) |
void |
setFailOnError(boolean failOnError) |
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType
public void setBase(String base)
public void setDir(String dir)
public void setFailOnError(boolean failOnError)
public void setEnableLazyInitialization(boolean enableLazyInitialization)
public void setEnableDirtyTracking(boolean enableDirtyTracking)
public void setEnableAssociationManagement(boolean enableAssociationManagement)
public void setEnableExtendedEnhancement(boolean enableExtendedEnhancement)
public void execute() throws org.apache.tools.ant.BuildException
execute
in class org.apache.tools.ant.Task
org.apache.tools.ant.BuildException
Copyright © 2001-2021 Red Hat, Inc. All Rights Reserved.