org.jbpm.db
Class JbpmSchema

java.lang.Object
  extended by org.jbpm.db.JbpmSchema

public class JbpmSchema
extends java.lang.Object

utilities for the jBPM database schema.


Constructor Summary
JbpmSchema(org.hibernate.cfg.Configuration configuration)
           
 
Method Summary
 void cleanSchema()
           
 void createSchema()
           
 void createTable(java.lang.String tableName)
           
 void dropSchema()
           
 java.lang.String[] getCleanSql()
           
 java.lang.String[] getCreateSql()
           
 java.lang.String[] getDropSql()
           
 java.util.List<java.sql.SQLException> getExceptions()
           
 java.util.Set<java.lang.String> getExistingTables()
           
 java.util.Set<java.lang.String> getJbpmTables()
           
 java.util.Properties getProperties()
           
 java.util.Map<java.lang.String,java.lang.Long> getRowsPerTable()
           
static void main(java.lang.String[] args)
           
 void saveSqlScripts(java.lang.String dir, java.lang.String prefix)
           
 boolean tableExists(java.lang.String tableName)
           
 void updateTable(java.lang.String tableName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JbpmSchema

public JbpmSchema(org.hibernate.cfg.Configuration configuration)
Method Detail

getCreateSql

public java.lang.String[] getCreateSql()

getDropSql

public java.lang.String[] getDropSql()

getCleanSql

public java.lang.String[] getCleanSql()

getJbpmTables

public java.util.Set<java.lang.String> getJbpmTables()

getExistingTables

public java.util.Set<java.lang.String> getExistingTables()

getRowsPerTable

public java.util.Map<java.lang.String,java.lang.Long> getRowsPerTable()

dropSchema

public void dropSchema()

createSchema

public void createSchema()

cleanSchema

public void cleanSchema()

saveSqlScripts

public void saveSqlScripts(java.lang.String dir,
                           java.lang.String prefix)

tableExists

public boolean tableExists(java.lang.String tableName)

createTable

public void createTable(java.lang.String tableName)

updateTable

public void updateTable(java.lang.String tableName)

getExceptions

public java.util.List<java.sql.SQLException> getExceptions()

main

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

getProperties

public java.util.Properties getProperties()


Copyright © 2009 JBoss, a division of Red Hat. All Rights Reserved.