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 fileSet) |
void |
execute()
Execute the task
|
void |
setConfig(File configurationFile)
Set a
|
void |
setImplicitNamingStrategy(String implicitNamingStrategy) |
void |
setNamingStrategy(String namingStrategy) |
void |
setPhysicalNamingStrategy(String physicalNamingStrategy) |
void |
setProperties(File propertiesFile)
Set a properties file
|
public void addFileset(FileSet fileSet)
public void setProperties(File propertiesFile)
propertiesFile
- the properties file namepublic void setConfig(File configurationFile)
configurationFile
- the file namepublic void setNamingStrategy(String namingStrategy)
public void setImplicitNamingStrategy(String implicitNamingStrategy)
public void setPhysicalNamingStrategy(String physicalNamingStrategy)
public void execute() throws BuildException
BuildException
Copyright © 2016 JBoss by Red Hat. All rights reserved.