org.hibernate.tool.ant
Class Hbm2DDLExporterTask
java.lang.Object
org.hibernate.tool.ant.ExporterTask
org.hibernate.tool.ant.Hbm2DDLExporterTask
public class Hbm2DDLExporterTask
- extends ExporterTask
- Author:
- max
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Hbm2DDLExporterTask
public Hbm2DDLExporterTask(HibernateToolTask parent)
execute
public void execute()
- Overrides:
execute
in class ExporterTask
setExport
public void setExport(boolean export)
setUpdate
public void setUpdate(boolean update)
- Run SchemaUpdate instead of SchemaExport
setConsole
public void setConsole(boolean console)
- Output sql to console ? (default true)
setFormat
public void setFormat(boolean format)
- Format the generated sql
setOutputFileName
public void setOutputFileName(String fileName)
- File out put name (default: empty)
setDrop
public void setDrop(boolean drop)
setCreate
public void setCreate(boolean create)
getName
public String getName()
setDelimiter
public void setDelimiter(String delimiter)
getDelimiter
public String getDelimiter()
setHaltonerror
public void setHaltonerror(boolean haltOnError)
createExporter
protected Exporter createExporter()
- Specified by:
createExporter
in class ExporterTask