public class SchemaUpdate extends Object
http://opensource.atlassian.com/projects/hibernate/browse/HHH-1186
Constructor and Description |
---|
SchemaUpdate(org.hibernate.cfg.Configuration cfg) |
SchemaUpdate(org.hibernate.cfg.Configuration cfg,
Properties connectionProperties) |
SchemaUpdate(org.hibernate.cfg.Configuration cfg,
org.hibernate.cfg.Settings settings) |
Modifier and Type | Method and Description |
---|---|
void |
execute(boolean script,
boolean doUpdate)
Execute the schema updates
|
List<Exception> |
getExceptions()
Returns a List of all Exceptions which occured during the export.
|
static void |
main(String[] args) |
SchemaUpdate |
setOutputFile(String filename)
Set an output filename.
|
public SchemaUpdate(org.hibernate.cfg.Configuration cfg) throws org.hibernate.HibernateException
org.hibernate.HibernateException
public SchemaUpdate(org.hibernate.cfg.Configuration cfg, Properties connectionProperties) throws org.hibernate.HibernateException
org.hibernate.HibernateException
public SchemaUpdate(org.hibernate.cfg.Configuration cfg, org.hibernate.cfg.Settings settings) throws org.hibernate.HibernateException
org.hibernate.HibernateException
public static void main(String[] args)
public SchemaUpdate setOutputFile(String filename)
public void execute(boolean script, boolean doUpdate)
script
- print all DDL to the consoleCopyright © 2016. All rights reserved.