public class SchemaUpdate extends Object
Constructor and Description |
---|
SchemaUpdate(Configuration cfg) |
SchemaUpdate(Configuration configuration,
Properties properties) |
SchemaUpdate(ServiceRegistry serviceRegistry,
Configuration cfg) |
Modifier and Type | Method and Description |
---|---|
void |
execute(boolean script,
boolean doUpdate)
Execute the schema updates
|
void |
execute(Target target) |
List |
getExceptions()
Returns a List of all Exceptions which occured during the export.
|
static void |
main(String[] args) |
void |
setDelimiter(String delimiter) |
void |
setFormat(boolean format) |
void |
setHaltOnError(boolean haltOnError) |
void |
setOutputFile(String outputFile) |
public SchemaUpdate(Configuration cfg) throws HibernateException
HibernateException
public SchemaUpdate(Configuration configuration, Properties properties) throws HibernateException
HibernateException
public SchemaUpdate(ServiceRegistry serviceRegistry, Configuration cfg) throws HibernateException
HibernateException
public static void main(String[] args)
public void execute(boolean script, boolean doUpdate)
script
- print all DDL to the consolepublic void execute(Target target)
public List getExceptions()
public void setHaltOnError(boolean haltOnError)
public void setFormat(boolean format)
public void setOutputFile(String outputFile)
public void setDelimiter(String delimiter)
Copyright © 2001-2015 Red Hat, Inc. All Rights Reserved.