public class SchemaValidatorTask
extends MatchingTask
<taskdef name="schemavalidator" classname="org.hibernate.tool.hbm2ddl.SchemaValidatorTask" classpathref="class.path"/> <schemaupdate properties="${build.classes.dir}/hibernate.properties" <fileset dir="${build.classes.dir}"> <include name="*.hbm.xml"/> </fileset> </schemaupdate>
SchemaValidator
Constructor and Description |
---|
SchemaValidatorTask() |
Modifier and Type | Method and Description |
---|---|
void |
addFileset(FileSet set) |
void |
execute()
Execute the task
|
void |
setConfig(File configurationFile)
Set a
|
void |
setNamingStrategy(String namingStrategy) |
void |
setNamingStrategyDelegator(String namingStrategyDelegator) |
void |
setProperties(File propertiesFile)
Set a properties file
|
public void addFileset(FileSet set)
public void setProperties(File propertiesFile)
propertiesFile
- the properties file namepublic void setConfig(File configurationFile)
configurationFile
- the file namepublic void execute() throws BuildException
BuildException
public void setNamingStrategy(String namingStrategy)
public void setNamingStrategyDelegator(String namingStrategyDelegator)
Copyright © 2018 JBoss by Red Hat. All rights reserved.