java.lang.Object | ||
↳ | MatchingTask | |
↳ | org.hibernate.tool.hbm2ddl.SchemaUpdateTask |
An Ant task for SchemaUpdate.
<taskdef name="schemaupdate" classname="org.hibernate.tool.hbm2ddl.SchemaUpdateTask" classpathref="class.path"/> <schemaupdate properties="${build.classes.dir}/hibernate.properties" quiet="no" <fileset dir="${build.classes.dir}"> <include name="*.hbm.xml"/> </fileset> </schemaupdate>
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Execute the task
| |||||||||||
Set a
| |||||||||||
Set a properties file
| |||||||||||
Enable "quiet" mode.
| |||||||||||
Enable "text-only" mode.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Execute the task
BuildException |
---|
Set a
configurationFile | the file name |
---|
Set a properties file
propertiesFile | the properties file name |
---|
Enable "quiet" mode. The schema will not be written to standard out.
quiet | true to enable quiet mode |
---|
Enable "text-only" mode. The schema will not be updated in the database.
text | true to enable text-only mode |
---|