org.hibernate.tool.hbm2ddl
Class SchemaUpdate
java.lang.Objectorg.hibernate.tool.hbm2ddl.SchemaUpdate
public class SchemaUpdate
extends java.lang.Object
A commandline tool to update a database schema. May also be called from
inside an application.
void | execute(boolean script, boolean doUpdate)- Execute the schema updates
|
List | getExceptions()- Returns a List of all Exceptions which occured during the export.
|
static void | main(String[] args)
|
execute
public void execute(boolean script,
boolean doUpdate) Execute the schema updates
script - print all DDL to the console
getExceptions
public List getExceptions()
Returns a List of all Exceptions which occured during the export.
- A List containig the Exceptions occured during the export
main
public static void main(String[] args)