org.jbpm.db
Class JbpmSchema
java.lang.Object
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)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JbpmSchema
public JbpmSchema(org.hibernate.cfg.Configuration configuration)
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.