org.jbpm.db
Class JbpmSchema
java.lang.Object
org.jbpm.db.JbpmSchema
public class JbpmSchema
- extends 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)
setDelimiter
public void setDelimiter(String delimiter)
getExceptions
public List getExceptions()
getCreateSql
public String[] getCreateSql()
getDropSql
public String[] getDropSql()
getCleanSql
public String[] getCleanSql()
getUpdateSql
public String[] getUpdateSql()
dropSchema
public void dropSchema()
createSchema
public void createSchema()
cleanSchema
public void cleanSchema()
updateSchema
public void updateSchema()
saveSqlScripts
public void saveSqlScripts(String dir,
String prefix)
writeSql
public void writeSql(Writer writer,
String[] script)
throws IOException
- Throws:
IOException
getJbpmTables
public Set getJbpmTables()
getRowsPerTable
public Map getRowsPerTable()
getExistingTables
public Set getExistingTables()
tableExists
public boolean tableExists(String tableName)
updateTable
public void updateTable(String tableName)
createTable
public void createTable(String tableName)
main
public static void main(String[] args)
Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.