|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jbpm.db.compatibility.JbpmSchemaUpdate
public class JbpmSchemaUpdate
This is a modified version of the hibernate tools schema update. The modification is to support saving of the update script to a file.
| Constructor Summary | |
|---|---|
JbpmSchemaUpdate(org.hibernate.cfg.Configuration configuration)
|
|
JbpmSchemaUpdate(org.hibernate.cfg.Configuration configuration,
java.util.Properties properties)
|
|
JbpmSchemaUpdate(org.hibernate.cfg.Configuration configuration,
org.hibernate.cfg.Settings settings)
|
|
| Method Summary | |
|---|---|
void |
execute(boolean printScript,
boolean doUpdate)
Executes the schema update tool. |
void |
execute(boolean printScript,
boolean doUpdate,
java.io.File outputFile)
Executes the schema update tool. |
java.util.List<java.lang.Exception> |
getExceptions()
Returns a List of all Exceptions that occurred during the export. |
static void |
main(java.lang.String[] args)
|
void |
setDelimiter(java.lang.String delimiter)
|
void |
setOutputFile(java.io.File outputFile)
Set an output file. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JbpmSchemaUpdate(org.hibernate.cfg.Configuration configuration)
public JbpmSchemaUpdate(org.hibernate.cfg.Configuration configuration,
java.util.Properties properties)
public JbpmSchemaUpdate(org.hibernate.cfg.Configuration configuration,
org.hibernate.cfg.Settings settings)
| Method Detail |
|---|
public void setOutputFile(java.io.File outputFile)
public void setDelimiter(java.lang.String delimiter)
public static void main(java.lang.String[] args)
public void execute(boolean printScript,
boolean doUpdate,
java.io.File outputFile)
printScript - print DDL statements to the consoledoUpdate - post DDL statements to the databaseoutputFile - write DDL statements to this file, can be null
public void execute(boolean printScript,
boolean doUpdate)
printScript - print DDL statements to the consoledoUpdate - post DDL statements to the databasepublic java.util.List<java.lang.Exception> getExceptions()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||