Save This Page
Home » hibernate-distribution-3.3.1.GA-dist » org.hibernate » tool » hbm2ddl » [javadoc | source]
org.hibernate.tool.hbm2ddl
public class: SchemaUpdate [javadoc | source]
java.lang.Object
   org.hibernate.tool.hbm2ddl.SchemaUpdate
A commandline tool to update a database schema. May also be called from inside an application.
Constructor:
 public SchemaUpdate(Configuration cfg) throws HibernateException 
 public SchemaUpdate(Configuration cfg,
    Properties connectionProperties) throws HibernateException 
 public SchemaUpdate(Configuration cfg,
    Settings settings) throws HibernateException 
Method from org.hibernate.tool.hbm2ddl.SchemaUpdate Summary:
execute,   getExceptions,   main,   setDelimiter,   setFormat,   setHaltOnError,   setOutputFile
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.hibernate.tool.hbm2ddl.SchemaUpdate Detail:
 public  void execute(boolean script,
    boolean doUpdate) 
    Execute the schema updates
 public List getExceptions() 
    Returns a List of all Exceptions which occured during the export.
 public static  void main(String[] args) 
 public  void setDelimiter(String delimiter) 
 public  void setFormat(boolean format) 
 public  void setHaltOnError(boolean haltOnError) 
 public  void setOutputFile(String outputFile)