站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss JBPM 3.1.3 API 英文版文档

JbpmSchemaUpdate (jbpm-3.1.3) - JBoss JBPM 3.1.3 API 英文版文档


org.jbpm.db.compatibility
Class JbpmSchemaUpdate

java.lang.Object
  extended by org.jbpm.db.compatibility.JbpmSchemaUpdate

public class JbpmSchemaUpdate
extends java.lang.Object

This is a modified version of the hibernate tools schema update. The modification is to support saving of the update script to a file.

Author:
Christoph Sturm, Koen Aers

Constructor Summary
JbpmSchemaUpdate(org.hibernate.cfg.Configuration cfg)
           
JbpmSchemaUpdate(org.hibernate.cfg.Configuration cfg, java.util.Properties connectionProperties)
           
JbpmSchemaUpdate(org.hibernate.cfg.Configuration cfg, org.hibernate.cfg.Settings settings)
           
 
Method Summary
 void execute(boolean script, boolean doUpdate, java.io.File out)
          Execute the schema updates
 java.util.List getExceptions()
          Returns a List of all Exceptions which occured during the export.
static void main(java.lang.String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JbpmSchemaUpdate

public JbpmSchemaUpdate(org.hibernate.cfg.Configuration cfg)
                 throws org.hibernate.HibernateException
Throws:
org.hibernate.HibernateException

JbpmSchemaUpdate

public JbpmSchemaUpdate(org.hibernate.cfg.Configuration cfg,
                        java.util.Properties connectionProperties)
                 throws org.hibernate.HibernateException
Throws:
org.hibernate.HibernateException

JbpmSchemaUpdate

public JbpmSchemaUpdate(org.hibernate.cfg.Configuration cfg,
                        org.hibernate.cfg.Settings settings)
                 throws org.hibernate.HibernateException
Throws:
org.hibernate.HibernateException
Method Detail

main

public static void main(java.lang.String[] args)

execute

public void execute(boolean script,
                    boolean doUpdate,
                    java.io.File out)
Execute the schema updates

Parameters:
script - print all DDL to the console

getExceptions

public java.util.List getExceptions()
Returns a List of all Exceptions which occured during the export.

Returns:
A List containig the Exceptions occured during the export


Version : jbpm-3.1.3