JBoss JBPM SVN: r3960 - in projects/gwt-console/trunk: server and 3 other directories.
by do-not-reply@jboss.org
Author: heiko.braun(a)jboss.com
Date: 2009-02-19 15:53:59 -0500 (Thu, 19 Feb 2009)
New Revision: 3960
Modified:
projects/gwt-console/trunk/plugin-api/src/main/java/org/jboss/bpm/console/client/URLBuilder.java
projects/gwt-console/trunk/server-integration/src/main/java/org/jboss/bpm/console/server/integration/ProcessManagement.java
projects/gwt-console/trunk/server/gwt-server.iml
projects/gwt-console/trunk/server/src/main/java/org/jboss/bpm/console/server/ProcessMgmtFacade.java
projects/gwt-console/trunk/server/src/main/resources/process.jpdl.xml
Log:
Implement signaling on executions
Modified: projects/gwt-console/trunk/plugin-api/src/main/java/org/jboss/bpm/console/client/URLBuilder.java
===================================================================
--- projects/gwt-console/trunk/plugin-api/src/main/java/org/jboss/bpm/console/client/URLBuilder.java 2009-02-19 20:21:15 UTC (rev 3959)
+++ projects/gwt-console/trunk/plugin-api/src/main/java/org/jboss/bpm/console/client/URLBuilder.java 2009-02-19 20:53:59 UTC (rev 3960)
@@ -129,15 +129,21 @@
public String getTokenSignalUrl(TokenReference tok)
{
- return getConsoleServerUrl() + "/rs/jbpm3/tokens/" + tok.getId() + "/transition/default";
+ return getConsoleServerUrl() + "/rs/process/tokens/" + adoptTokenId(tok.getId()) + "/transition/default";
}
public String getTokenSignalUrl(TokenReference tok, String signal)
{
String encodedSignal = URL.encode(signal);
- return getConsoleServerUrl() + "/rs/jbpm3/tokens/" + tok.getId() + "/transition?signal=" + encodedSignal;
+ return getConsoleServerUrl() + "/rs/process/tokens/" + adoptTokenId(tok.getId()) + "/transition?signal=" + encodedSignal;
}
+ private String adoptTokenId(String actual)
+ {
+ // TDOD: https://jira.jboss.org/jira/browse/JBPM-2054
+ return actual.replace("/", "_");
+ }
+
public String getAvailableActorsUrl(String actorId)
{
return getConsoleServerUrl() + "/rs/identity/user/" + actorId + "/actors";
Modified: projects/gwt-console/trunk/server/gwt-server.iml
===================================================================
--- projects/gwt-console/trunk/server/gwt-server.iml 2009-02-19 20:21:15 UTC (rev 3959)
+++ projects/gwt-console/trunk/server/gwt-server.iml 2009-02-19 20:53:59 UTC (rev 3960)
@@ -11,6 +11,8 @@
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
<orderEntry type="module" module-name="gwt-parent" />
+ <orderEntry type="module" module-name="gwt-server-integration" />
+ <orderEntry type="module" module-name="gwt-rpc" />
<orderEntry type="module-library" exported="">
<library name="M2 Dep: org.slf4j:slf4j-simple:jar:1.5.2:compile">
<CLASSES>
Modified: projects/gwt-console/trunk/server/src/main/java/org/jboss/bpm/console/server/ProcessMgmtFacade.java
===================================================================
--- projects/gwt-console/trunk/server/src/main/java/org/jboss/bpm/console/server/ProcessMgmtFacade.java 2009-02-19 20:21:15 UTC (rev 3959)
+++ projects/gwt-console/trunk/server/src/main/java/org/jboss/bpm/console/server/ProcessMgmtFacade.java 2009-02-19 20:53:59 UTC (rev 3960)
@@ -143,6 +143,43 @@
}
@POST
+ @Path("tokens/{id}/transition")
+ @Produces("application/json")
+ public Response signalToken(
+ @PathParam("id")
+ String id,
+ @QueryParam("signal")
+ String signalName)
+ {
+ log.debug("Signal token " + id + " -> " + signalName);
+
+ if ("default transition".equals(signalName))
+ signalName = null;
+
+ getProcessManagement().signalToken(adoptTokenId(id), signalName);
+ return Response.ok().type("application/json").build();
+ }
+
+ @POST
+ @Path("tokens/{id}/transition/default")
+ @Produces("application/json")
+ public Response signalTokenDefault(
+ @PathParam("id")
+ String id)
+ {
+ log.debug("Signal token " + id);
+
+ getProcessManagement().signalToken(adoptTokenId(id), null);
+ return Response.ok().type("application/json").build();
+ }
+
+ private String adoptTokenId(String modified)
+ {
+ // TODO: https://jira.jboss.org/jira/browse/JBPM-2054
+ return modified.replace("_", "/");
+ }
+
+ @POST
@Path("definitions/new")
@Produces("application/json")
@Consumes("multipart/form-data")
Modified: projects/gwt-console/trunk/server/src/main/resources/process.jpdl.xml
===================================================================
--- projects/gwt-console/trunk/server/src/main/resources/process.jpdl.xml 2009-02-19 20:21:15 UTC (rev 3959)
+++ projects/gwt-console/trunk/server/src/main/resources/process.jpdl.xml 2009-02-19 20:53:59 UTC (rev 3960)
@@ -14,6 +14,10 @@
<flow to="c" />
</state>
- <state name="c" g="308,16,76,52" />
+ <state name="c" g="308,16,76,52" >
+ <flow to="end"/>
+ </state>
+ <end name="end" g="239,40,48,48"/>
+
</process>
\ No newline at end of file
Modified: projects/gwt-console/trunk/server-integration/src/main/java/org/jboss/bpm/console/server/integration/ProcessManagement.java
===================================================================
--- projects/gwt-console/trunk/server-integration/src/main/java/org/jboss/bpm/console/server/integration/ProcessManagement.java 2009-02-19 20:21:15 UTC (rev 3959)
+++ projects/gwt-console/trunk/server-integration/src/main/java/org/jboss/bpm/console/server/integration/ProcessManagement.java 2009-02-19 20:53:59 UTC (rev 3960)
@@ -48,7 +48,7 @@
void setProcessState(String instanceId, STATE nextState);
- void signalToken(long tokenId, String signal);
+ void signalToken(String tokenId, String signal);
void deploy(String fileName, String contentType, InputStream deployment);
}
17 years, 2 months
JBoss JBPM SVN: r3959 - jbpm3/branches.
by do-not-reply@jboss.org
Author: thomas.diesler(a)jboss.com
Date: 2009-02-19 15:21:15 -0500 (Thu, 19 Feb 2009)
New Revision: 3959
Added:
jbpm3/branches/tdiesler/
Log:
Recreate userbranch
Copied: jbpm3/branches/tdiesler (from rev 3956, jbpm3/branches/jbpm-3.2.5.SP)
17 years, 2 months
JBoss JBPM SVN: r3958 - jbpm3/branches.
by do-not-reply@jboss.org
Author: thomas.diesler(a)jboss.com
Date: 2009-02-19 15:20:30 -0500 (Thu, 19 Feb 2009)
New Revision: 3958
Removed:
jbpm3/branches/tdiesler/
Log:
Recreate userbranch
17 years, 2 months
JBoss JBPM SVN: r3957 - in jbpm3/branches/jbpm-3.2.5.SP/modules: core/src/main/resources/org/jbpm/context/exe/variableinstance and 12 other directories.
by do-not-reply@jboss.org
Author: thomas.diesler(a)jboss.com
Date: 2009-02-19 15:19:56 -0500 (Thu, 19 Feb 2009)
New Revision: 3957
Added:
jbpm3/branches/jbpm-3.2.5.SP/modules/core/src/main/resources/hibernate.mapping.sybase.xml
jbpm3/branches/jbpm-3.2.5.SP/modules/core/src/main/resources/org/jbpm/context/exe/variableinstance/HibernateStringInstance.sybase.hbm.xml
Modified:
jbpm3/branches/jbpm-3.2.5.SP/modules/core/src/main/resources/org/jbpm/context/exe/variableinstance/HibernateStringInstance.hbm.xml
jbpm3/branches/jbpm-3.2.5.SP/modules/core/src/main/resources/org/jbpm/context/exe/variableinstance/StringInstance.hbm.xml
jbpm3/branches/jbpm-3.2.5.SP/modules/core/src/main/resources/org/jbpm/context/log/variableinstance/StringUpdateLog.hbm.xml
jbpm3/branches/jbpm-3.2.5.SP/modules/core/src/main/resources/org/jbpm/graph/action/Script.hbm.xml
jbpm3/branches/jbpm-3.2.5.SP/modules/core/src/main/resources/org/jbpm/graph/def/ExceptionHandler.hbm.xml
jbpm3/branches/jbpm-3.2.5.SP/modules/core/src/main/resources/org/jbpm/graph/def/Node.hbm.xml
jbpm3/branches/jbpm-3.2.5.SP/modules/core/src/main/resources/org/jbpm/graph/def/ProcessDefinition.hbm.xml
jbpm3/branches/jbpm-3.2.5.SP/modules/core/src/main/resources/org/jbpm/graph/def/Transition.hbm.xml
jbpm3/branches/jbpm-3.2.5.SP/modules/core/src/main/resources/org/jbpm/graph/exe/Comment.hbm.xml
jbpm3/branches/jbpm-3.2.5.SP/modules/core/src/main/resources/org/jbpm/graph/log/ActionLog.hbm.xml
jbpm3/branches/jbpm-3.2.5.SP/modules/core/src/main/resources/org/jbpm/instantiation/Delegation.hbm.xml
jbpm3/branches/jbpm-3.2.5.SP/modules/core/src/main/resources/org/jbpm/job/Job.hbm.xml
jbpm3/branches/jbpm-3.2.5.SP/modules/core/src/main/resources/org/jbpm/logging/log/MessageLog.hbm.xml
jbpm3/branches/jbpm-3.2.5.SP/modules/core/src/main/resources/org/jbpm/module/def/ModuleDefinition.hbm.xml
jbpm3/branches/jbpm-3.2.5.SP/modules/core/src/main/resources/org/jbpm/taskmgmt/def/Task.hbm.xml
jbpm3/branches/jbpm-3.2.5.SP/modules/core/src/main/resources/org/jbpm/taskmgmt/exe/TaskInstance.hbm.xml
jbpm3/branches/jbpm-3.2.5.SP/modules/db/src/main/compatibility/jbpm-3.2.2/jbpm.jpdl.db2.sql
jbpm3/branches/jbpm-3.2.5.SP/modules/db/src/main/compatibility/jbpm-3.2.2/jbpm.jpdl.derby.sql
jbpm3/branches/jbpm-3.2.5.SP/modules/db/src/main/compatibility/jbpm-3.2.2/jbpm.jpdl.firebird.sql
jbpm3/branches/jbpm-3.2.5.SP/modules/db/src/main/compatibility/jbpm-3.2.2/jbpm.jpdl.hsqldb.sql
jbpm3/branches/jbpm-3.2.5.SP/modules/db/src/main/compatibility/jbpm-3.2.2/jbpm.jpdl.informix.sql
jbpm3/branches/jbpm-3.2.5.SP/modules/db/src/main/compatibility/jbpm-3.2.2/jbpm.jpdl.ingres.sql
jbpm3/branches/jbpm-3.2.5.SP/modules/db/src/main/compatibility/jbpm-3.2.2/jbpm.jpdl.interbase.sql
jbpm3/branches/jbpm-3.2.5.SP/modules/db/src/main/compatibility/jbpm-3.2.2/jbpm.jpdl.mckoi.sql
jbpm3/branches/jbpm-3.2.5.SP/modules/db/src/main/compatibility/jbpm-3.2.2/jbpm.jpdl.mssql.sql
jbpm3/branches/jbpm-3.2.5.SP/modules/db/src/main/compatibility/jbpm-3.2.2/jbpm.jpdl.oracle.sql
jbpm3/branches/jbpm-3.2.5.SP/modules/db/src/main/compatibility/jbpm-3.2.2/jbpm.jpdl.pointbase.sql
jbpm3/branches/jbpm-3.2.5.SP/modules/db/src/main/compatibility/jbpm-3.2.2/jbpm.jpdl.postgresql.sql
jbpm3/branches/jbpm-3.2.5.SP/modules/db/src/main/compatibility/jbpm-3.2.2/jbpm.jpdl.progress.sql
jbpm3/branches/jbpm-3.2.5.SP/modules/db/src/main/compatibility/jbpm-3.2.2/jbpm.jpdl.sapdb.sql
jbpm3/branches/jbpm-3.2.5.SP/modules/db/src/main/compatibility/jbpm-3.2.2/jbpm.jpdl.sybase.sql
Log:
Revert to -r3943 and continue on userbranch
Copied: jbpm3/branches/jbpm-3.2.5.SP/modules/core/src/main/resources/hibernate.mapping.sybase.xml (from rev 3943, jbpm3/branches/jbpm-3.2.5.SP/modules/core/src/main/resources/hibernate.mapping.sybase.xml)
===================================================================
--- jbpm3/branches/jbpm-3.2.5.SP/modules/core/src/main/resources/hibernate.mapping.sybase.xml (rev 0)
+++ jbpm3/branches/jbpm-3.2.5.SP/modules/core/src/main/resources/hibernate.mapping.sybase.xml 2009-02-19 20:19:56 UTC (rev 3957)
@@ -0,0 +1,142 @@
+ <!-- ###################### -->
+ <!-- # jbpm mapping files # -->
+ <!-- ###################### -->
+
+ <!-- hql queries -->
+ <mapping resource="org/jbpm/db/hibernate.queries.hbm.xml" />
+
+ <!-- sybase type mappings -->
+ <mapping resource="org/jbpm/db/hibernate.types.sybase.hbm.xml" />
+
+ <!-- hql queries used in simulation for querying historical data.
+ uncomment if you want to use the GetSimulationInputCommand
+ or you want to use the queries directly.
+ beware: the queries need the stddev function to be enabled in your dialect.
+ for more information, visit:
+ http://www.camunda.com/business_process_simulation_news/mysql_and_stddev.... -->
+ <!--
+ <mapping resource="org/jbpm/sim/bam/hibernate.queries.hbm.xml" />
+ -->
+
+ <!-- graph.action mapping files -->
+ <mapping resource="org/jbpm/graph/action/MailAction.hbm.xml"/>
+
+ <!-- graph.def mapping files -->
+ <mapping resource="org/jbpm/graph/def/ProcessDefinition.hbm.xml"/>
+ <mapping resource="org/jbpm/graph/def/Node.hbm.xml"/>
+ <mapping resource="org/jbpm/graph/def/Transition.hbm.xml"/>
+ <mapping resource="org/jbpm/graph/def/Event.hbm.xml"/>
+ <mapping resource="org/jbpm/graph/def/Action.hbm.xml"/>
+ <mapping resource="org/jbpm/graph/def/SuperState.hbm.xml"/>
+ <mapping resource="org/jbpm/graph/def/ExceptionHandler.hbm.xml"/>
+ <mapping resource="org/jbpm/instantiation/Delegation.hbm.xml"/>
+
+ <!-- ########################################### -->
+ <!-- # mapping file with external dependencies # -->
+ <!-- ########################################### -->
+ <!-- the following mapping file has a dependency on 'bsh-{version}.jar'.
+ uncomment this if bsh is not in your classpath.
+ the script element will not be available in process definition files.
+ note: this mapping must appear below org/jbpm/graph/def/Action.hbm.xml -->
+ <mapping resource="org/jbpm/graph/action/Script.hbm.xml"/>
+
+ <!-- graph.node mapping files -->
+ <mapping resource="org/jbpm/graph/node/StartState.hbm.xml"/>
+ <mapping resource="org/jbpm/graph/node/EndState.hbm.xml"/>
+ <mapping resource="org/jbpm/graph/node/ProcessState.hbm.xml"/>
+ <mapping resource="org/jbpm/graph/node/Decision.hbm.xml"/>
+ <mapping resource="org/jbpm/graph/node/Fork.hbm.xml"/>
+ <mapping resource="org/jbpm/graph/node/Join.hbm.xml"/>
+ <mapping resource="org/jbpm/graph/node/MailNode.hbm.xml"/>
+ <mapping resource="org/jbpm/graph/node/State.hbm.xml"/>
+ <mapping resource="org/jbpm/graph/node/TaskNode.hbm.xml"/>
+
+ <!-- context.def mapping files -->
+ <mapping resource="org/jbpm/context/def/ContextDefinition.hbm.xml"/>
+ <mapping resource="org/jbpm/context/def/VariableAccess.hbm.xml"/>
+
+ <!-- bytes mapping files -->
+ <mapping resource="org/jbpm/bytes/ByteArray.hbm.xml"/>
+
+ <!-- module.def mapping files -->
+ <mapping resource="org/jbpm/module/def/ModuleDefinition.hbm.xml"/>
+
+ <!-- file.def mapping files -->
+ <mapping resource="org/jbpm/file/def/FileDefinition.hbm.xml"/>
+
+ <!-- taskmgmt.def mapping files -->
+ <mapping resource="org/jbpm/taskmgmt/def/TaskMgmtDefinition.hbm.xml"/>
+ <mapping resource="org/jbpm/taskmgmt/def/Swimlane.hbm.xml"/>
+ <mapping resource="org/jbpm/taskmgmt/def/Task.hbm.xml"/>
+ <mapping resource="org/jbpm/taskmgmt/def/TaskController.hbm.xml"/>
+
+ <!-- scheduler.def mapping files -->
+ <mapping resource="org/jbpm/scheduler/def/CreateTimerAction.hbm.xml"/>
+ <mapping resource="org/jbpm/scheduler/def/CancelTimerAction.hbm.xml"/>
+
+ <!-- graph.exe mapping files -->
+ <mapping resource="org/jbpm/graph/exe/Comment.hbm.xml"/>
+ <mapping resource="org/jbpm/graph/exe/ProcessInstance.hbm.xml"/>
+ <mapping resource="org/jbpm/graph/exe/Token.hbm.xml"/>
+ <mapping resource="org/jbpm/graph/exe/RuntimeAction.hbm.xml"/>
+
+ <!-- module.exe mapping files -->
+ <mapping resource="org/jbpm/module/exe/ModuleInstance.hbm.xml"/>
+
+ <!-- context.exe mapping files -->
+ <mapping resource="org/jbpm/context/exe/ContextInstance.hbm.xml"/>
+ <mapping resource="org/jbpm/context/exe/TokenVariableMap.hbm.xml"/>
+ <mapping resource="org/jbpm/context/exe/VariableInstance.hbm.xml"/>
+ <mapping resource="org/jbpm/context/exe/variableinstance/ByteArrayInstance.hbm.xml"/>
+ <mapping resource="org/jbpm/context/exe/variableinstance/DateInstance.hbm.xml"/>
+ <mapping resource="org/jbpm/context/exe/variableinstance/DoubleInstance.hbm.xml"/>
+ <mapping resource="org/jbpm/context/exe/variableinstance/HibernateLongInstance.hbm.xml"/>
+ <mapping resource="org/jbpm/context/exe/variableinstance/HibernateStringInstance.sybase.hbm.xml" />
+ <mapping resource="org/jbpm/context/exe/variableinstance/LongInstance.hbm.xml"/>
+ <mapping resource="org/jbpm/context/exe/variableinstance/NullInstance.hbm.xml"/>
+ <mapping resource="org/jbpm/context/exe/variableinstance/StringInstance.hbm.xml"/>
+
+ <!-- job mapping files -->
+ <mapping resource="org/jbpm/job/Job.hbm.xml"/>
+ <mapping resource="org/jbpm/job/Timer.hbm.xml"/>
+ <mapping resource="org/jbpm/job/ExecuteNodeJob.hbm.xml"/>
+ <mapping resource="org/jbpm/job/ExecuteActionJob.hbm.xml"/>
+ <mapping resource="org/jbpm/job/CleanUpProcessJob.hbm.xml"/>
+
+ <!-- taskmgmt.exe mapping files -->
+ <mapping resource="org/jbpm/taskmgmt/exe/TaskMgmtInstance.hbm.xml"/>
+ <mapping resource="org/jbpm/taskmgmt/exe/TaskInstance.hbm.xml"/>
+ <mapping resource="org/jbpm/taskmgmt/exe/PooledActor.hbm.xml"/>
+ <mapping resource="org/jbpm/taskmgmt/exe/SwimlaneInstance.hbm.xml"/>
+
+ <!-- logging mapping files -->
+ <mapping resource="org/jbpm/logging/log/ProcessLog.hbm.xml"/>
+ <mapping resource="org/jbpm/logging/log/MessageLog.hbm.xml"/>
+ <mapping resource="org/jbpm/logging/log/CompositeLog.hbm.xml"/>
+ <mapping resource="org/jbpm/graph/log/ActionLog.hbm.xml"/>
+ <mapping resource="org/jbpm/graph/log/NodeLog.hbm.xml"/>
+ <mapping resource="org/jbpm/graph/log/ProcessInstanceCreateLog.hbm.xml"/>
+ <mapping resource="org/jbpm/graph/log/ProcessInstanceEndLog.hbm.xml"/>
+ <mapping resource="org/jbpm/graph/log/ProcessStateLog.hbm.xml"/>
+ <mapping resource="org/jbpm/graph/log/SignalLog.hbm.xml"/>
+ <mapping resource="org/jbpm/graph/log/TokenCreateLog.hbm.xml"/>
+ <mapping resource="org/jbpm/graph/log/TokenEndLog.hbm.xml"/>
+ <mapping resource="org/jbpm/graph/log/TransitionLog.hbm.xml"/>
+ <mapping resource="org/jbpm/context/log/VariableLog.hbm.xml"/>
+ <mapping resource="org/jbpm/context/log/VariableCreateLog.hbm.xml"/>
+ <mapping resource="org/jbpm/context/log/VariableDeleteLog.hbm.xml"/>
+ <mapping resource="org/jbpm/context/log/VariableUpdateLog.hbm.xml"/>
+ <mapping resource="org/jbpm/context/log/variableinstance/ByteArrayUpdateLog.hbm.xml"/>
+ <mapping resource="org/jbpm/context/log/variableinstance/DateUpdateLog.hbm.xml"/>
+ <mapping resource="org/jbpm/context/log/variableinstance/DoubleUpdateLog.hbm.xml"/>
+ <mapping resource="org/jbpm/context/log/variableinstance/HibernateLongUpdateLog.hbm.xml"/>
+ <mapping resource="org/jbpm/context/log/variableinstance/HibernateStringUpdateLog.hbm.xml"/>
+ <mapping resource="org/jbpm/context/log/variableinstance/LongUpdateLog.hbm.xml"/>
+ <mapping resource="org/jbpm/context/log/variableinstance/StringUpdateLog.hbm.xml"/>
+ <mapping resource="org/jbpm/taskmgmt/log/TaskLog.hbm.xml"/>
+ <mapping resource="org/jbpm/taskmgmt/log/TaskCreateLog.hbm.xml"/>
+ <mapping resource="org/jbpm/taskmgmt/log/TaskAssignLog.hbm.xml"/>
+ <mapping resource="org/jbpm/taskmgmt/log/TaskEndLog.hbm.xml"/>
+ <mapping resource="org/jbpm/taskmgmt/log/SwimlaneLog.hbm.xml"/>
+ <mapping resource="org/jbpm/taskmgmt/log/SwimlaneCreateLog.hbm.xml"/>
+ <mapping resource="org/jbpm/taskmgmt/log/SwimlaneAssignLog.hbm.xml"/>
Modified: jbpm3/branches/jbpm-3.2.5.SP/modules/core/src/main/resources/org/jbpm/context/exe/variableinstance/HibernateStringInstance.hbm.xml
===================================================================
--- jbpm3/branches/jbpm-3.2.5.SP/modules/core/src/main/resources/org/jbpm/context/exe/variableinstance/HibernateStringInstance.hbm.xml 2009-02-19 19:59:05 UTC (rev 3956)
+++ jbpm3/branches/jbpm-3.2.5.SP/modules/core/src/main/resources/org/jbpm/context/exe/variableinstance/HibernateStringInstance.hbm.xml 2009-02-19 20:19:56 UTC (rev 3957)
@@ -8,7 +8,7 @@
<subclass name="org.jbpm.context.exe.variableinstance.HibernateStringInstance"
extends="org.jbpm.context.exe.VariableInstance"
discriminator-value="I">
- <any name="value" id-type="string" cascade="save-update">
+ <any name="value" id-type="text" cascade="save-update">
<column name="STRINGIDCLASS_" />
<column name="STRINGVALUE_" length="4000"/>
</any>
Copied: jbpm3/branches/jbpm-3.2.5.SP/modules/core/src/main/resources/org/jbpm/context/exe/variableinstance/HibernateStringInstance.sybase.hbm.xml (from rev 3943, jbpm3/branches/jbpm-3.2.5.SP/modules/core/src/main/resources/org/jbpm/context/exe/variableinstance/HibernateStringInstance.sybase.hbm.xml)
===================================================================
--- jbpm3/branches/jbpm-3.2.5.SP/modules/core/src/main/resources/org/jbpm/context/exe/variableinstance/HibernateStringInstance.sybase.hbm.xml (rev 0)
+++ jbpm3/branches/jbpm-3.2.5.SP/modules/core/src/main/resources/org/jbpm/context/exe/variableinstance/HibernateStringInstance.sybase.hbm.xml 2009-02-19 20:19:56 UTC (rev 3957)
@@ -0,0 +1,17 @@
+<?xml version="1.0"?>
+
+<!DOCTYPE hibernate-mapping PUBLIC
+ "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
+ "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
+
+<hibernate-mapping auto-import="false" default-access="field">
+ <subclass name="org.jbpm.context.exe.variableinstance.HibernateStringInstance"
+ extends="org.jbpm.context.exe.VariableInstance"
+ discriminator-value="I">
+ <!-- id-type seems to be unaware of type definitions -->
+ <any name="value" id-type="org.jbpm.db.hibernate.TextType" cascade="save-update">
+ <column name="STRINGIDCLASS_" />
+ <column name="STRINGVALUE_" length="4000"/>
+ </any>
+ </subclass>
+</hibernate-mapping>
Modified: jbpm3/branches/jbpm-3.2.5.SP/modules/core/src/main/resources/org/jbpm/context/exe/variableinstance/StringInstance.hbm.xml
===================================================================
--- jbpm3/branches/jbpm-3.2.5.SP/modules/core/src/main/resources/org/jbpm/context/exe/variableinstance/StringInstance.hbm.xml 2009-02-19 19:59:05 UTC (rev 3956)
+++ jbpm3/branches/jbpm-3.2.5.SP/modules/core/src/main/resources/org/jbpm/context/exe/variableinstance/StringInstance.hbm.xml 2009-02-19 20:19:56 UTC (rev 3957)
@@ -8,6 +8,6 @@
<subclass name="org.jbpm.context.exe.variableinstance.StringInstance"
extends="org.jbpm.context.exe.VariableInstance"
discriminator-value="S">
- <property name="value" column="STRINGVALUE_" length="4000"/>
+ <property name="value" column="STRINGVALUE_" type="text" length="4000"/>
</subclass>
</hibernate-mapping>
Modified: jbpm3/branches/jbpm-3.2.5.SP/modules/core/src/main/resources/org/jbpm/context/log/variableinstance/StringUpdateLog.hbm.xml
===================================================================
--- jbpm3/branches/jbpm-3.2.5.SP/modules/core/src/main/resources/org/jbpm/context/log/variableinstance/StringUpdateLog.hbm.xml 2009-02-19 19:59:05 UTC (rev 3956)
+++ jbpm3/branches/jbpm-3.2.5.SP/modules/core/src/main/resources/org/jbpm/context/log/variableinstance/StringUpdateLog.hbm.xml 2009-02-19 20:19:56 UTC (rev 3957)
@@ -9,8 +9,8 @@
<subclass name="org.jbpm.context.log.variableinstance.StringUpdateLog"
extends="org.jbpm.context.log.VariableUpdateLog"
discriminator-value="U">
- <property name="oldValue" column="OLDSTRINGVALUE_" length="4000"/>
- <property name="newValue" column="NEWSTRINGVALUE_" length="4000"/>
+ <property name="oldValue" column="OLDSTRINGVALUE_" type="text" length="4000"/>
+ <property name="newValue" column="NEWSTRINGVALUE_" type="text" length="4000"/>
</subclass>
</hibernate-mapping>
Modified: jbpm3/branches/jbpm-3.2.5.SP/modules/core/src/main/resources/org/jbpm/graph/action/Script.hbm.xml
===================================================================
--- jbpm3/branches/jbpm-3.2.5.SP/modules/core/src/main/resources/org/jbpm/graph/action/Script.hbm.xml 2009-02-19 19:59:05 UTC (rev 3956)
+++ jbpm3/branches/jbpm-3.2.5.SP/modules/core/src/main/resources/org/jbpm/graph/action/Script.hbm.xml 2009-02-19 20:19:56 UTC (rev 3957)
@@ -7,7 +7,7 @@
<subclass name="org.jbpm.graph.action.Script"
discriminator-value="S"
extends="org.jbpm.graph.def.Action">
- <property name="expression" column="EXPRESSION_" length="4000" />
+ <property name="expression" column="EXPRESSION_" type="text" length="4000" />
<set name="variableAccesses" cascade="all">
<key column="SCRIPT_" foreign-key="FK_VARACC_SCRIPT"/>
<one-to-many class="org.jbpm.context.def.VariableAccess" />
Modified: jbpm3/branches/jbpm-3.2.5.SP/modules/core/src/main/resources/org/jbpm/graph/def/ExceptionHandler.hbm.xml
===================================================================
--- jbpm3/branches/jbpm-3.2.5.SP/modules/core/src/main/resources/org/jbpm/graph/def/ExceptionHandler.hbm.xml 2009-02-19 19:59:05 UTC (rev 3956)
+++ jbpm3/branches/jbpm-3.2.5.SP/modules/core/src/main/resources/org/jbpm/graph/def/ExceptionHandler.hbm.xml 2009-02-19 20:19:56 UTC (rev 3957)
@@ -9,7 +9,7 @@
<id name="id" column="ID_"><generator class="native" /></id>
<property name="exceptionClassName" column="EXCEPTIONCLASSNAME_"
- length="4000" />
+ type="text" length="4000" />
<any name="graphElement" id-type="long" meta-type="char">
<meta-value value="A" class="org.jbpm.taskmgmt.def.Task"/>
Modified: jbpm3/branches/jbpm-3.2.5.SP/modules/core/src/main/resources/org/jbpm/graph/def/Node.hbm.xml
===================================================================
--- jbpm3/branches/jbpm-3.2.5.SP/modules/core/src/main/resources/org/jbpm/graph/def/Node.hbm.xml 2009-02-19 19:59:05 UTC (rev 3956)
+++ jbpm3/branches/jbpm-3.2.5.SP/modules/core/src/main/resources/org/jbpm/graph/def/Node.hbm.xml 2009-02-19 20:19:56 UTC (rev 3957)
@@ -25,7 +25,7 @@
<!-- GRAPHELEMENT -->
<property name="name" column="NAME_"/>
- <property name="description" column="DESCRIPTION_" length="4000"/>
+ <property name="description" column="DESCRIPTION_" type="text" length="4000"/>
<many-to-one name="processDefinition"
column="PROCESSDEFINITION_"
foreign-key="FK_NODE_PROCDEF"
Modified: jbpm3/branches/jbpm-3.2.5.SP/modules/core/src/main/resources/org/jbpm/graph/def/ProcessDefinition.hbm.xml
===================================================================
--- jbpm3/branches/jbpm-3.2.5.SP/modules/core/src/main/resources/org/jbpm/graph/def/ProcessDefinition.hbm.xml 2009-02-19 19:59:05 UTC (rev 3956)
+++ jbpm3/branches/jbpm-3.2.5.SP/modules/core/src/main/resources/org/jbpm/graph/def/ProcessDefinition.hbm.xml 2009-02-19 20:19:56 UTC (rev 3957)
@@ -13,7 +13,7 @@
<!-- GRAPHELEMENT -->
<!-- base class fields are mapped here -->
<property name="name" column="NAME_" />
- <property name="description" column="DESCRIPTION_" length="4000"/>
+ <property name="description" column="DESCRIPTION_" type="text" length="4000"/>
<map name="events" cascade="all">
<key column="PROCESSDEFINITION_" foreign-key="FK_EVENT_PROCDEF" />
<index column="EVENTTYPE_" type="string"/>
Modified: jbpm3/branches/jbpm-3.2.5.SP/modules/core/src/main/resources/org/jbpm/graph/def/Transition.hbm.xml
===================================================================
--- jbpm3/branches/jbpm-3.2.5.SP/modules/core/src/main/resources/org/jbpm/graph/def/Transition.hbm.xml 2009-02-19 19:59:05 UTC (rev 3956)
+++ jbpm3/branches/jbpm-3.2.5.SP/modules/core/src/main/resources/org/jbpm/graph/def/Transition.hbm.xml 2009-02-19 20:19:56 UTC (rev 3957)
@@ -10,7 +10,7 @@
<!-- GRAPHELEMENT -->
<property name="name" column="NAME_"/>
- <property name="description" column="DESCRIPTION_" length="4000"/>
+ <property name="description" column="DESCRIPTION_" type="text" length="4000"/>
<many-to-one name="processDefinition"
column="PROCESSDEFINITION_"
foreign-key="FK_TRANS_PROCDEF"
Modified: jbpm3/branches/jbpm-3.2.5.SP/modules/core/src/main/resources/org/jbpm/graph/exe/Comment.hbm.xml
===================================================================
--- jbpm3/branches/jbpm-3.2.5.SP/modules/core/src/main/resources/org/jbpm/graph/exe/Comment.hbm.xml 2009-02-19 19:59:05 UTC (rev 3956)
+++ jbpm3/branches/jbpm-3.2.5.SP/modules/core/src/main/resources/org/jbpm/graph/exe/Comment.hbm.xml 2009-02-19 20:19:56 UTC (rev 3957)
@@ -11,7 +11,7 @@
<property name="actorId" column="ACTORID_"/>
<property name="time" column="TIME_"/>
- <property name="message" column="MESSAGE_" length="4000"/>
+ <property name="message" column="MESSAGE_" type="text" length="4000"/>
<many-to-one name="token"
column="TOKEN_"
foreign-key="FK_COMMENT_TOKEN"
Modified: jbpm3/branches/jbpm-3.2.5.SP/modules/core/src/main/resources/org/jbpm/graph/log/ActionLog.hbm.xml
===================================================================
--- jbpm3/branches/jbpm-3.2.5.SP/modules/core/src/main/resources/org/jbpm/graph/log/ActionLog.hbm.xml 2009-02-19 19:59:05 UTC (rev 3956)
+++ jbpm3/branches/jbpm-3.2.5.SP/modules/core/src/main/resources/org/jbpm/graph/log/ActionLog.hbm.xml 2009-02-19 20:19:56 UTC (rev 3957)
@@ -10,7 +10,7 @@
extends="org.jbpm.logging.log.CompositeLog"
discriminator-value="A">
- <property name="exception" column="EXCEPTION_" length="4000"/>
+ <property name="exception" column="EXCEPTION_" type="text" length="4000"/>
<many-to-one name="action"
column="ACTION_"
class="org.jbpm.graph.def.Action"
Modified: jbpm3/branches/jbpm-3.2.5.SP/modules/core/src/main/resources/org/jbpm/instantiation/Delegation.hbm.xml
===================================================================
--- jbpm3/branches/jbpm-3.2.5.SP/modules/core/src/main/resources/org/jbpm/instantiation/Delegation.hbm.xml 2009-02-19 19:59:05 UTC (rev 3956)
+++ jbpm3/branches/jbpm-3.2.5.SP/modules/core/src/main/resources/org/jbpm/instantiation/Delegation.hbm.xml 2009-02-19 20:19:56 UTC (rev 3957)
@@ -8,8 +8,8 @@
table="JBPM_DELEGATION">
<id name="id" column="ID_"><generator class="native" /></id>
- <property name="className" column="CLASSNAME_" length="4000" />
- <property name="configuration" column="CONFIGURATION_" length="4000" />
+ <property name="className" column="CLASSNAME_" type="text" length="4000" />
+ <property name="configuration" column="CONFIGURATION_" type="text" length="4000" />
<property name="configType" column="CONFIGTYPE_"/>
<many-to-one name="processDefinition"
Modified: jbpm3/branches/jbpm-3.2.5.SP/modules/core/src/main/resources/org/jbpm/job/Job.hbm.xml
===================================================================
--- jbpm3/branches/jbpm-3.2.5.SP/modules/core/src/main/resources/org/jbpm/job/Job.hbm.xml 2009-02-19 19:59:05 UTC (rev 3956)
+++ jbpm3/branches/jbpm-3.2.5.SP/modules/core/src/main/resources/org/jbpm/job/Job.hbm.xml 2009-02-19 20:19:56 UTC (rev 3957)
@@ -35,7 +35,7 @@
<property name="isExclusive" column="ISEXCLUSIVE_" />
<property name="lockOwner" column="LOCKOWNER_" />
<property name="lockTime" column="LOCKTIME_" />
- <property name="exception" column="EXCEPTION_" length="4000"/>
+ <property name="exception" column="EXCEPTION_" type="text" length="4000"/>
<property name="retries" column="RETRIES_" />
</class>
Modified: jbpm3/branches/jbpm-3.2.5.SP/modules/core/src/main/resources/org/jbpm/logging/log/MessageLog.hbm.xml
===================================================================
--- jbpm3/branches/jbpm-3.2.5.SP/modules/core/src/main/resources/org/jbpm/logging/log/MessageLog.hbm.xml 2009-02-19 19:59:05 UTC (rev 3956)
+++ jbpm3/branches/jbpm-3.2.5.SP/modules/core/src/main/resources/org/jbpm/logging/log/MessageLog.hbm.xml 2009-02-19 20:19:56 UTC (rev 3957)
@@ -9,7 +9,7 @@
<subclass name="org.jbpm.logging.log.MessageLog"
extends="org.jbpm.logging.log.ProcessLog"
discriminator-value="M">
- <property name="message" column="MESSAGE_" length="4000"/>
+ <property name="message" column="MESSAGE_" type="text" length="4000"/>
</subclass>
</hibernate-mapping>
Modified: jbpm3/branches/jbpm-3.2.5.SP/modules/core/src/main/resources/org/jbpm/module/def/ModuleDefinition.hbm.xml
===================================================================
--- jbpm3/branches/jbpm-3.2.5.SP/modules/core/src/main/resources/org/jbpm/module/def/ModuleDefinition.hbm.xml 2009-02-19 19:59:05 UTC (rev 3956)
+++ jbpm3/branches/jbpm-3.2.5.SP/modules/core/src/main/resources/org/jbpm/module/def/ModuleDefinition.hbm.xml 2009-02-19 20:19:56 UTC (rev 3957)
@@ -21,7 +21,7 @@
<!-- : -->
<!-- : -->
- <property name="name" column="NAME_" length="4000"/>
+ <property name="name" column="NAME_" type="text" length="4000"/>
<many-to-one name="processDefinition"
column="PROCESSDEFINITION_"
foreign-key="FK_MODDEF_PROCDEF"
Modified: jbpm3/branches/jbpm-3.2.5.SP/modules/core/src/main/resources/org/jbpm/taskmgmt/def/Task.hbm.xml
===================================================================
--- jbpm3/branches/jbpm-3.2.5.SP/modules/core/src/main/resources/org/jbpm/taskmgmt/def/Task.hbm.xml 2009-02-19 19:59:05 UTC (rev 3956)
+++ jbpm3/branches/jbpm-3.2.5.SP/modules/core/src/main/resources/org/jbpm/taskmgmt/def/Task.hbm.xml 2009-02-19 20:19:56 UTC (rev 3957)
@@ -12,8 +12,7 @@
<!-- GRAPHELEMENT -->
<property name="name" column="NAME_" />
- <property name="description" column="DESCRIPTION_" length="4000"/>
-
+ <property name="description" column="DESCRIPTION_" type="text" length="4000"/>
<many-to-one name="processDefinition"
column="PROCESSDEFINITION_"
foreign-key="FK_TASK_PROCDEF"
Modified: jbpm3/branches/jbpm-3.2.5.SP/modules/core/src/main/resources/org/jbpm/taskmgmt/exe/TaskInstance.hbm.xml
===================================================================
--- jbpm3/branches/jbpm-3.2.5.SP/modules/core/src/main/resources/org/jbpm/taskmgmt/exe/TaskInstance.hbm.xml 2009-02-19 19:59:05 UTC (rev 3956)
+++ jbpm3/branches/jbpm-3.2.5.SP/modules/core/src/main/resources/org/jbpm/taskmgmt/exe/TaskInstance.hbm.xml 2009-02-19 20:19:56 UTC (rev 3957)
@@ -14,7 +14,7 @@
<version name="version" column="VERSION_" />
<property name="name" column="NAME_" />
- <property name="description" column="DESCRIPTION_" length="4000"/>
+ <property name="description" column="DESCRIPTION_" type="text" length="4000"/>
<property name="actorId" column="ACTORID_" index="IDX_TASK_ACTORID"/>
<property name="create" column="CREATE_" />
<property name="start" column="START_" />
Modified: jbpm3/branches/jbpm-3.2.5.SP/modules/db/src/main/compatibility/jbpm-3.2.2/jbpm.jpdl.db2.sql
===================================================================
--- jbpm3/branches/jbpm-3.2.5.SP/modules/db/src/main/compatibility/jbpm-3.2.2/jbpm.jpdl.db2.sql 2009-02-19 19:59:05 UTC (rev 3956)
+++ jbpm3/branches/jbpm-3.2.5.SP/modules/db/src/main/compatibility/jbpm-3.2.2/jbpm.jpdl.db2.sql 2009-02-19 20:19:56 UTC (rev 3957)
@@ -1,3 +1,35 @@
+drop table JBPM_ACTION
+drop table JBPM_BYTEARRAY
+drop table JBPM_BYTEBLOCK
+drop table JBPM_COMMENT
+drop table JBPM_DECISIONCONDITIONS
+drop table JBPM_DELEGATION
+drop table JBPM_EVENT
+drop table JBPM_EXCEPTIONHANDLER
+drop table JBPM_ID_GROUP
+drop table JBPM_ID_MEMBERSHIP
+drop table JBPM_ID_PERMISSIONS
+drop table JBPM_ID_USER
+drop table JBPM_JOB
+drop table JBPM_LOG
+drop table JBPM_MODULEDEFINITION
+drop table JBPM_MODULEINSTANCE
+drop table JBPM_NODE
+drop table JBPM_POOLEDACTOR
+drop table JBPM_PROCESSDEFINITION
+drop table JBPM_PROCESSINSTANCE
+drop table JBPM_RUNTIMEACTION
+drop table JBPM_SWIMLANE
+drop table JBPM_SWIMLANEINSTANCE
+drop table JBPM_TASK
+drop table JBPM_TASKACTORPOOL
+drop table JBPM_TASKCONTROLLER
+drop table JBPM_TASKINSTANCE
+drop table JBPM_TOKEN
+drop table JBPM_TOKENVARIABLEMAP
+drop table JBPM_TRANSITION
+drop table JBPM_VARIABLEACCESS
+drop table JBPM_VARIABLEINSTANCE
create table JBPM_ACTION (ID_ bigint generated by default as identity, class char(1) not null, NAME_ varchar(255), ISPROPAGATIONALLOWED_ smallint, ACTIONEXPRESSION_ varchar(255), ISASYNC_ smallint, REFERENCEDACTION_ bigint, ACTIONDELEGATION_ bigint, EVENT_ bigint, PROCESSDEFINITION_ bigint, EXPRESSION_ varchar(4000), TIMERNAME_ varchar(255), DUEDATE_ varchar(255), REPEAT_ varchar(255), TRANSITIONNAME_ varchar(255), TIMERACTION_ bigint, EVENTINDEX_ integer, EXCEPTIONHANDLER_ bigint, EXCEPTIONHANDLERINDEX_ integer, primary key (ID_))
create table JBPM_BYTEARRAY (ID_ bigint generated by default as identity, NAME_ varchar(255), FILEDEFINITION_ bigint, primary key (ID_))
create table JBPM_BYTEBLOCK (PROCESSFILE_ bigint not null, BYTES_ varchar(1024) for bit data, INDEX_ integer not null, primary key (PROCESSFILE_, INDEX_))
Modified: jbpm3/branches/jbpm-3.2.5.SP/modules/db/src/main/compatibility/jbpm-3.2.2/jbpm.jpdl.derby.sql
===================================================================
--- jbpm3/branches/jbpm-3.2.5.SP/modules/db/src/main/compatibility/jbpm-3.2.2/jbpm.jpdl.derby.sql 2009-02-19 19:59:05 UTC (rev 3956)
+++ jbpm3/branches/jbpm-3.2.5.SP/modules/db/src/main/compatibility/jbpm-3.2.2/jbpm.jpdl.derby.sql 2009-02-19 20:19:56 UTC (rev 3957)
@@ -1,3 +1,126 @@
+alter table JBPM_ACTION drop constraint FK_ACTION_REFACT
+alter table JBPM_ACTION drop constraint FK_CRTETIMERACT_TA
+alter table JBPM_ACTION drop constraint FK_ACTION_PROCDEF
+alter table JBPM_ACTION drop constraint FK_ACTION_EVENT
+alter table JBPM_ACTION drop constraint FK_ACTION_ACTNDEL
+alter table JBPM_ACTION drop constraint FK_ACTION_EXPTHDL
+alter table JBPM_BYTEARRAY drop constraint FK_BYTEARR_FILDEF
+alter table JBPM_BYTEBLOCK drop constraint FK_BYTEBLOCK_FILE
+alter table JBPM_COMMENT drop constraint FK_COMMENT_TOKEN
+alter table JBPM_COMMENT drop constraint FK_COMMENT_TSK
+alter table JBPM_DECISIONCONDITIONS drop constraint FK_DECCOND_DEC
+alter table JBPM_DELEGATION drop constraint FK_DELEGATION_PRCD
+alter table JBPM_EVENT drop constraint FK_EVENT_PROCDEF
+alter table JBPM_EVENT drop constraint FK_EVENT_TRANS
+alter table JBPM_EVENT drop constraint FK_EVENT_NODE
+alter table JBPM_EVENT drop constraint FK_EVENT_TASK
+alter table JBPM_ID_GROUP drop constraint FK_ID_GRP_PARENT
+alter table JBPM_ID_MEMBERSHIP drop constraint FK_ID_MEMSHIP_GRP
+alter table JBPM_ID_MEMBERSHIP drop constraint FK_ID_MEMSHIP_USR
+alter table JBPM_JOB drop constraint FK_JOB_PRINST
+alter table JBPM_JOB drop constraint FK_JOB_ACTION
+alter table JBPM_JOB drop constraint FK_JOB_TOKEN
+alter table JBPM_JOB drop constraint FK_JOB_NODE
+alter table JBPM_JOB drop constraint FK_JOB_TSKINST
+alter table JBPM_LOG drop constraint FK_LOG_SOURCENODE
+alter table JBPM_LOG drop constraint FK_LOG_DESTNODE
+alter table JBPM_LOG drop constraint FK_LOG_TOKEN
+alter table JBPM_LOG drop constraint FK_LOG_TRANSITION
+alter table JBPM_LOG drop constraint FK_LOG_TASKINST
+alter table JBPM_LOG drop constraint FK_LOG_CHILDTOKEN
+alter table JBPM_LOG drop constraint FK_LOG_OLDBYTES
+alter table JBPM_LOG drop constraint FK_LOG_SWIMINST
+alter table JBPM_LOG drop constraint FK_LOG_NEWBYTES
+alter table JBPM_LOG drop constraint FK_LOG_ACTION
+alter table JBPM_LOG drop constraint FK_LOG_VARINST
+alter table JBPM_LOG drop constraint FK_LOG_NODE
+alter table JBPM_LOG drop constraint FK_LOG_PARENT
+alter table JBPM_MODULEDEFINITION drop constraint FK_MODDEF_PROCDEF
+alter table JBPM_MODULEDEFINITION drop constraint FK_TSKDEF_START
+alter table JBPM_MODULEINSTANCE drop constraint FK_MODINST_PRCINST
+alter table JBPM_MODULEINSTANCE drop constraint FK_TASKMGTINST_TMD
+alter table JBPM_NODE drop constraint FK_DECISION_DELEG
+alter table JBPM_NODE drop constraint FK_NODE_PROCDEF
+alter table JBPM_NODE drop constraint FK_NODE_ACTION
+alter table JBPM_NODE drop constraint FK_PROCST_SBPRCDEF
+alter table JBPM_NODE drop constraint FK_NODE_SCRIPT
+alter table JBPM_NODE drop constraint FK_NODE_SUPERSTATE
+alter table JBPM_POOLEDACTOR drop constraint FK_POOLEDACTOR_SLI
+alter table JBPM_PROCESSDEFINITION drop constraint FK_PROCDEF_STRTSTA
+alter table JBPM_PROCESSINSTANCE drop constraint FK_PROCIN_PROCDEF
+alter table JBPM_PROCESSINSTANCE drop constraint FK_PROCIN_ROOTTKN
+alter table JBPM_PROCESSINSTANCE drop constraint FK_PROCIN_SPROCTKN
+alter table JBPM_RUNTIMEACTION drop constraint FK_RTACTN_PROCINST
+alter table JBPM_RUNTIMEACTION drop constraint FK_RTACTN_ACTION
+alter table JBPM_SWIMLANE drop constraint FK_SWL_ASSDEL
+alter table JBPM_SWIMLANE drop constraint FK_SWL_TSKMGMTDEF
+alter table JBPM_SWIMLANEINSTANCE drop constraint FK_SWIMLANEINST_TM
+alter table JBPM_SWIMLANEINSTANCE drop constraint FK_SWIMLANEINST_SL
+alter table JBPM_TASK drop constraint FK_TASK_STARTST
+alter table JBPM_TASK drop constraint FK_TASK_PROCDEF
+alter table JBPM_TASK drop constraint FK_TASK_ASSDEL
+alter table JBPM_TASK drop constraint FK_TASK_SWIMLANE
+alter table JBPM_TASK drop constraint FK_TASK_TASKNODE
+alter table JBPM_TASK drop constraint FK_TASK_TASKMGTDEF
+alter table JBPM_TASK drop constraint FK_TSK_TSKCTRL
+alter table JBPM_TASKACTORPOOL drop constraint FK_TASKACTPL_TSKI
+alter table JBPM_TASKACTORPOOL drop constraint FK_TSKACTPOL_PLACT
+alter table JBPM_TASKCONTROLLER drop constraint FK_TSKCTRL_DELEG
+alter table JBPM_TASKINSTANCE drop constraint FK_TSKINS_PRCINS
+alter table JBPM_TASKINSTANCE drop constraint FK_TASKINST_TMINST
+alter table JBPM_TASKINSTANCE drop constraint FK_TASKINST_TOKEN
+alter table JBPM_TASKINSTANCE drop constraint FK_TASKINST_SLINST
+alter table JBPM_TASKINSTANCE drop constraint FK_TASKINST_TASK
+alter table JBPM_TOKEN drop constraint FK_TOKEN_SUBPI
+alter table JBPM_TOKEN drop constraint FK_TOKEN_PROCINST
+alter table JBPM_TOKEN drop constraint FK_TOKEN_NODE
+alter table JBPM_TOKEN drop constraint FK_TOKEN_PARENT
+alter table JBPM_TOKENVARIABLEMAP drop constraint FK_TKVARMAP_TOKEN
+alter table JBPM_TOKENVARIABLEMAP drop constraint FK_TKVARMAP_CTXT
+alter table JBPM_TRANSITION drop constraint FK_TRANSITION_FROM
+alter table JBPM_TRANSITION drop constraint FK_TRANS_PROCDEF
+alter table JBPM_TRANSITION drop constraint FK_TRANSITION_TO
+alter table JBPM_VARIABLEACCESS drop constraint FK_VARACC_PROCST
+alter table JBPM_VARIABLEACCESS drop constraint FK_VARACC_SCRIPT
+alter table JBPM_VARIABLEACCESS drop constraint FK_VARACC_TSKCTRL
+alter table JBPM_VARIABLEINSTANCE drop constraint FK_VARINST_PRCINST
+alter table JBPM_VARIABLEINSTANCE drop constraint FK_VARINST_TKVARMP
+alter table JBPM_VARIABLEINSTANCE drop constraint FK_VARINST_TK
+alter table JBPM_VARIABLEINSTANCE drop constraint FK_BYTEINST_ARRAY
+alter table JBPM_VARIABLEINSTANCE drop constraint FK_VAR_TSKINST
+drop table JBPM_ACTION
+drop table JBPM_BYTEARRAY
+drop table JBPM_BYTEBLOCK
+drop table JBPM_COMMENT
+drop table JBPM_DECISIONCONDITIONS
+drop table JBPM_DELEGATION
+drop table JBPM_EVENT
+drop table JBPM_EXCEPTIONHANDLER
+drop table JBPM_ID_GROUP
+drop table JBPM_ID_MEMBERSHIP
+drop table JBPM_ID_PERMISSIONS
+drop table JBPM_ID_USER
+drop table JBPM_JOB
+drop table JBPM_LOG
+drop table JBPM_MODULEDEFINITION
+drop table JBPM_MODULEINSTANCE
+drop table JBPM_NODE
+drop table JBPM_POOLEDACTOR
+drop table JBPM_PROCESSDEFINITION
+drop table JBPM_PROCESSINSTANCE
+drop table JBPM_RUNTIMEACTION
+drop table JBPM_SWIMLANE
+drop table JBPM_SWIMLANEINSTANCE
+drop table JBPM_TASK
+drop table JBPM_TASKACTORPOOL
+drop table JBPM_TASKCONTROLLER
+drop table JBPM_TASKINSTANCE
+drop table JBPM_TOKEN
+drop table JBPM_TOKENVARIABLEMAP
+drop table JBPM_TRANSITION
+drop table JBPM_VARIABLEACCESS
+drop table JBPM_VARIABLEINSTANCE
+drop table hibernate_unique_key
create table JBPM_ACTION (ID_ bigint not null, class char(1) not null, NAME_ varchar(255), ISPROPAGATIONALLOWED_ smallint, ACTIONEXPRESSION_ varchar(255), ISASYNC_ smallint, REFERENCEDACTION_ bigint, ACTIONDELEGATION_ bigint, EVENT_ bigint, PROCESSDEFINITION_ bigint, EXPRESSION_ varchar(4000), TIMERNAME_ varchar(255), DUEDATE_ varchar(255), REPEAT_ varchar(255), TRANSITIONNAME_ varchar(255), TIMERACTION_ bigint, EVENTINDEX_ integer, EXCEPTIONHANDLER_ bigint, EXCEPTIONHANDLERINDEX_ integer, primary key (ID_))
create table JBPM_BYTEARRAY (ID_ bigint not null, NAME_ varchar(255), FILEDEFINITION_ bigint, primary key (ID_))
create table JBPM_BYTEBLOCK (PROCESSFILE_ bigint not null, BYTES_ varchar(1024) for bit data, INDEX_ integer not null, primary key (PROCESSFILE_, INDEX_))
Modified: jbpm3/branches/jbpm-3.2.5.SP/modules/db/src/main/compatibility/jbpm-3.2.2/jbpm.jpdl.firebird.sql
===================================================================
--- jbpm3/branches/jbpm-3.2.5.SP/modules/db/src/main/compatibility/jbpm-3.2.2/jbpm.jpdl.firebird.sql 2009-02-19 19:59:05 UTC (rev 3956)
+++ jbpm3/branches/jbpm-3.2.5.SP/modules/db/src/main/compatibility/jbpm-3.2.2/jbpm.jpdl.firebird.sql 2009-02-19 20:19:56 UTC (rev 3957)
@@ -1,3 +1,126 @@
+alter table JBPM_ACTION drop constraint FK_ACTION_REFACT
+alter table JBPM_ACTION drop constraint FK_CRTETIMERACT_TA
+alter table JBPM_ACTION drop constraint FK_ACTION_PROCDEF
+alter table JBPM_ACTION drop constraint FK_ACTION_EVENT
+alter table JBPM_ACTION drop constraint FK_ACTION_ACTNDEL
+alter table JBPM_ACTION drop constraint FK_ACTION_EXPTHDL
+alter table JBPM_BYTEARRAY drop constraint FK_BYTEARR_FILDEF
+alter table JBPM_BYTEBLOCK drop constraint FK_BYTEBLOCK_FILE
+alter table JBPM_COMMENT drop constraint FK_COMMENT_TOKEN
+alter table JBPM_COMMENT drop constraint FK_COMMENT_TSK
+alter table JBPM_DECISIONCONDITIONS drop constraint FK_DECCOND_DEC
+alter table JBPM_DELEGATION drop constraint FK_DELEGATION_PRCD
+alter table JBPM_EVENT drop constraint FK_EVENT_PROCDEF
+alter table JBPM_EVENT drop constraint FK_EVENT_TRANS
+alter table JBPM_EVENT drop constraint FK_EVENT_NODE
+alter table JBPM_EVENT drop constraint FK_EVENT_TASK
+alter table JBPM_ID_GROUP drop constraint FK_ID_GRP_PARENT
+alter table JBPM_ID_MEMBERSHIP drop constraint FK_ID_MEMSHIP_GRP
+alter table JBPM_ID_MEMBERSHIP drop constraint FK_ID_MEMSHIP_USR
+alter table JBPM_JOB drop constraint FK_JOB_PRINST
+alter table JBPM_JOB drop constraint FK_JOB_ACTION
+alter table JBPM_JOB drop constraint FK_JOB_TOKEN
+alter table JBPM_JOB drop constraint FK_JOB_NODE
+alter table JBPM_JOB drop constraint FK_JOB_TSKINST
+alter table JBPM_LOG drop constraint FK_LOG_SOURCENODE
+alter table JBPM_LOG drop constraint FK_LOG_DESTNODE
+alter table JBPM_LOG drop constraint FK_LOG_TOKEN
+alter table JBPM_LOG drop constraint FK_LOG_TRANSITION
+alter table JBPM_LOG drop constraint FK_LOG_TASKINST
+alter table JBPM_LOG drop constraint FK_LOG_CHILDTOKEN
+alter table JBPM_LOG drop constraint FK_LOG_OLDBYTES
+alter table JBPM_LOG drop constraint FK_LOG_SWIMINST
+alter table JBPM_LOG drop constraint FK_LOG_NEWBYTES
+alter table JBPM_LOG drop constraint FK_LOG_ACTION
+alter table JBPM_LOG drop constraint FK_LOG_VARINST
+alter table JBPM_LOG drop constraint FK_LOG_NODE
+alter table JBPM_LOG drop constraint FK_LOG_PARENT
+alter table JBPM_MODULEDEFINITION drop constraint FK_MODDEF_PROCDEF
+alter table JBPM_MODULEDEFINITION drop constraint FK_TSKDEF_START
+alter table JBPM_MODULEINSTANCE drop constraint FK_MODINST_PRCINST
+alter table JBPM_MODULEINSTANCE drop constraint FK_TASKMGTINST_TMD
+alter table JBPM_NODE drop constraint FK_DECISION_DELEG
+alter table JBPM_NODE drop constraint FK_NODE_PROCDEF
+alter table JBPM_NODE drop constraint FK_NODE_ACTION
+alter table JBPM_NODE drop constraint FK_PROCST_SBPRCDEF
+alter table JBPM_NODE drop constraint FK_NODE_SCRIPT
+alter table JBPM_NODE drop constraint FK_NODE_SUPERSTATE
+alter table JBPM_POOLEDACTOR drop constraint FK_POOLEDACTOR_SLI
+alter table JBPM_PROCESSDEFINITION drop constraint FK_PROCDEF_STRTSTA
+alter table JBPM_PROCESSINSTANCE drop constraint FK_PROCIN_PROCDEF
+alter table JBPM_PROCESSINSTANCE drop constraint FK_PROCIN_ROOTTKN
+alter table JBPM_PROCESSINSTANCE drop constraint FK_PROCIN_SPROCTKN
+alter table JBPM_RUNTIMEACTION drop constraint FK_RTACTN_PROCINST
+alter table JBPM_RUNTIMEACTION drop constraint FK_RTACTN_ACTION
+alter table JBPM_SWIMLANE drop constraint FK_SWL_ASSDEL
+alter table JBPM_SWIMLANE drop constraint FK_SWL_TSKMGMTDEF
+alter table JBPM_SWIMLANEINSTANCE drop constraint FK_SWIMLANEINST_TM
+alter table JBPM_SWIMLANEINSTANCE drop constraint FK_SWIMLANEINST_SL
+alter table JBPM_TASK drop constraint FK_TASK_STARTST
+alter table JBPM_TASK drop constraint FK_TASK_PROCDEF
+alter table JBPM_TASK drop constraint FK_TASK_ASSDEL
+alter table JBPM_TASK drop constraint FK_TASK_SWIMLANE
+alter table JBPM_TASK drop constraint FK_TASK_TASKNODE
+alter table JBPM_TASK drop constraint FK_TASK_TASKMGTDEF
+alter table JBPM_TASK drop constraint FK_TSK_TSKCTRL
+alter table JBPM_TASKACTORPOOL drop constraint FK_TASKACTPL_TSKI
+alter table JBPM_TASKACTORPOOL drop constraint FK_TSKACTPOL_PLACT
+alter table JBPM_TASKCONTROLLER drop constraint FK_TSKCTRL_DELEG
+alter table JBPM_TASKINSTANCE drop constraint FK_TSKINS_PRCINS
+alter table JBPM_TASKINSTANCE drop constraint FK_TASKINST_TMINST
+alter table JBPM_TASKINSTANCE drop constraint FK_TASKINST_TOKEN
+alter table JBPM_TASKINSTANCE drop constraint FK_TASKINST_SLINST
+alter table JBPM_TASKINSTANCE drop constraint FK_TASKINST_TASK
+alter table JBPM_TOKEN drop constraint FK_TOKEN_SUBPI
+alter table JBPM_TOKEN drop constraint FK_TOKEN_PROCINST
+alter table JBPM_TOKEN drop constraint FK_TOKEN_NODE
+alter table JBPM_TOKEN drop constraint FK_TOKEN_PARENT
+alter table JBPM_TOKENVARIABLEMAP drop constraint FK_TKVARMAP_TOKEN
+alter table JBPM_TOKENVARIABLEMAP drop constraint FK_TKVARMAP_CTXT
+alter table JBPM_TRANSITION drop constraint FK_TRANSITION_FROM
+alter table JBPM_TRANSITION drop constraint FK_TRANS_PROCDEF
+alter table JBPM_TRANSITION drop constraint FK_TRANSITION_TO
+alter table JBPM_VARIABLEACCESS drop constraint FK_VARACC_PROCST
+alter table JBPM_VARIABLEACCESS drop constraint FK_VARACC_SCRIPT
+alter table JBPM_VARIABLEACCESS drop constraint FK_VARACC_TSKCTRL
+alter table JBPM_VARIABLEINSTANCE drop constraint FK_VARINST_PRCINST
+alter table JBPM_VARIABLEINSTANCE drop constraint FK_VARINST_TKVARMP
+alter table JBPM_VARIABLEINSTANCE drop constraint FK_VARINST_TK
+alter table JBPM_VARIABLEINSTANCE drop constraint FK_BYTEINST_ARRAY
+alter table JBPM_VARIABLEINSTANCE drop constraint FK_VAR_TSKINST
+drop table JBPM_ACTION
+drop table JBPM_BYTEARRAY
+drop table JBPM_BYTEBLOCK
+drop table JBPM_COMMENT
+drop table JBPM_DECISIONCONDITIONS
+drop table JBPM_DELEGATION
+drop table JBPM_EVENT
+drop table JBPM_EXCEPTIONHANDLER
+drop table JBPM_ID_GROUP
+drop table JBPM_ID_MEMBERSHIP
+drop table JBPM_ID_PERMISSIONS
+drop table JBPM_ID_USER
+drop table JBPM_JOB
+drop table JBPM_LOG
+drop table JBPM_MODULEDEFINITION
+drop table JBPM_MODULEINSTANCE
+drop table JBPM_NODE
+drop table JBPM_POOLEDACTOR
+drop table JBPM_PROCESSDEFINITION
+drop table JBPM_PROCESSINSTANCE
+drop table JBPM_RUNTIMEACTION
+drop table JBPM_SWIMLANE
+drop table JBPM_SWIMLANEINSTANCE
+drop table JBPM_TASK
+drop table JBPM_TASKACTORPOOL
+drop table JBPM_TASKCONTROLLER
+drop table JBPM_TASKINSTANCE
+drop table JBPM_TOKEN
+drop table JBPM_TOKENVARIABLEMAP
+drop table JBPM_TRANSITION
+drop table JBPM_VARIABLEACCESS
+drop table JBPM_VARIABLEINSTANCE
+drop generator hibernate_sequence
create table JBPM_ACTION (ID_ numeric(18,0) not null, class char(1) not null, NAME_ varchar(255), ISPROPAGATIONALLOWED_ smallint, ACTIONEXPRESSION_ varchar(255), ISASYNC_ smallint, REFERENCEDACTION_ numeric(18,0), ACTIONDELEGATION_ numeric(18,0), EVENT_ numeric(18,0), PROCESSDEFINITION_ numeric(18,0), EXPRESSION_ varchar(4000), TIMERNAME_ varchar(255), DUEDATE_ varchar(255), REPEAT_ varchar(255), TRANSITIONNAME_ varchar(255), TIMERACTION_ numeric(18,0), EVENTINDEX_ integer, EXCEPTIONHANDLER_ numeric(18,0), EXCEPTIONHANDLERINDEX_ integer, primary key (ID_))
create table JBPM_BYTEARRAY (ID_ numeric(18,0) not null, NAME_ varchar(255), FILEDEFINITION_ numeric(18,0), primary key (ID_))
create table JBPM_BYTEBLOCK (PROCESSFILE_ numeric(18,0) not null, BYTES_ blob, INDEX_ integer not null, primary key (PROCESSFILE_, INDEX_))
Modified: jbpm3/branches/jbpm-3.2.5.SP/modules/db/src/main/compatibility/jbpm-3.2.2/jbpm.jpdl.hsqldb.sql
===================================================================
--- jbpm3/branches/jbpm-3.2.5.SP/modules/db/src/main/compatibility/jbpm-3.2.2/jbpm.jpdl.hsqldb.sql 2009-02-19 19:59:05 UTC (rev 3956)
+++ jbpm3/branches/jbpm-3.2.5.SP/modules/db/src/main/compatibility/jbpm-3.2.2/jbpm.jpdl.hsqldb.sql 2009-02-19 20:19:56 UTC (rev 3957)
@@ -1,3 +1,125 @@
+alter table JBPM_ACTION drop constraint FK_ACTION_REFACT
+alter table JBPM_ACTION drop constraint FK_CRTETIMERACT_TA
+alter table JBPM_ACTION drop constraint FK_ACTION_PROCDEF
+alter table JBPM_ACTION drop constraint FK_ACTION_EVENT
+alter table JBPM_ACTION drop constraint FK_ACTION_ACTNDEL
+alter table JBPM_ACTION drop constraint FK_ACTION_EXPTHDL
+alter table JBPM_BYTEARRAY drop constraint FK_BYTEARR_FILDEF
+alter table JBPM_BYTEBLOCK drop constraint FK_BYTEBLOCK_FILE
+alter table JBPM_COMMENT drop constraint FK_COMMENT_TOKEN
+alter table JBPM_COMMENT drop constraint FK_COMMENT_TSK
+alter table JBPM_DECISIONCONDITIONS drop constraint FK_DECCOND_DEC
+alter table JBPM_DELEGATION drop constraint FK_DELEGATION_PRCD
+alter table JBPM_EVENT drop constraint FK_EVENT_PROCDEF
+alter table JBPM_EVENT drop constraint FK_EVENT_TRANS
+alter table JBPM_EVENT drop constraint FK_EVENT_NODE
+alter table JBPM_EVENT drop constraint FK_EVENT_TASK
+alter table JBPM_ID_GROUP drop constraint FK_ID_GRP_PARENT
+alter table JBPM_ID_MEMBERSHIP drop constraint FK_ID_MEMSHIP_GRP
+alter table JBPM_ID_MEMBERSHIP drop constraint FK_ID_MEMSHIP_USR
+alter table JBPM_JOB drop constraint FK_JOB_PRINST
+alter table JBPM_JOB drop constraint FK_JOB_ACTION
+alter table JBPM_JOB drop constraint FK_JOB_TOKEN
+alter table JBPM_JOB drop constraint FK_JOB_NODE
+alter table JBPM_JOB drop constraint FK_JOB_TSKINST
+alter table JBPM_LOG drop constraint FK_LOG_SOURCENODE
+alter table JBPM_LOG drop constraint FK_LOG_DESTNODE
+alter table JBPM_LOG drop constraint FK_LOG_TOKEN
+alter table JBPM_LOG drop constraint FK_LOG_TRANSITION
+alter table JBPM_LOG drop constraint FK_LOG_TASKINST
+alter table JBPM_LOG drop constraint FK_LOG_CHILDTOKEN
+alter table JBPM_LOG drop constraint FK_LOG_OLDBYTES
+alter table JBPM_LOG drop constraint FK_LOG_SWIMINST
+alter table JBPM_LOG drop constraint FK_LOG_NEWBYTES
+alter table JBPM_LOG drop constraint FK_LOG_ACTION
+alter table JBPM_LOG drop constraint FK_LOG_VARINST
+alter table JBPM_LOG drop constraint FK_LOG_NODE
+alter table JBPM_LOG drop constraint FK_LOG_PARENT
+alter table JBPM_MODULEDEFINITION drop constraint FK_MODDEF_PROCDEF
+alter table JBPM_MODULEDEFINITION drop constraint FK_TSKDEF_START
+alter table JBPM_MODULEINSTANCE drop constraint FK_MODINST_PRCINST
+alter table JBPM_MODULEINSTANCE drop constraint FK_TASKMGTINST_TMD
+alter table JBPM_NODE drop constraint FK_DECISION_DELEG
+alter table JBPM_NODE drop constraint FK_NODE_PROCDEF
+alter table JBPM_NODE drop constraint FK_NODE_ACTION
+alter table JBPM_NODE drop constraint FK_PROCST_SBPRCDEF
+alter table JBPM_NODE drop constraint FK_NODE_SCRIPT
+alter table JBPM_NODE drop constraint FK_NODE_SUPERSTATE
+alter table JBPM_POOLEDACTOR drop constraint FK_POOLEDACTOR_SLI
+alter table JBPM_PROCESSDEFINITION drop constraint FK_PROCDEF_STRTSTA
+alter table JBPM_PROCESSINSTANCE drop constraint FK_PROCIN_PROCDEF
+alter table JBPM_PROCESSINSTANCE drop constraint FK_PROCIN_ROOTTKN
+alter table JBPM_PROCESSINSTANCE drop constraint FK_PROCIN_SPROCTKN
+alter table JBPM_RUNTIMEACTION drop constraint FK_RTACTN_PROCINST
+alter table JBPM_RUNTIMEACTION drop constraint FK_RTACTN_ACTION
+alter table JBPM_SWIMLANE drop constraint FK_SWL_ASSDEL
+alter table JBPM_SWIMLANE drop constraint FK_SWL_TSKMGMTDEF
+alter table JBPM_SWIMLANEINSTANCE drop constraint FK_SWIMLANEINST_TM
+alter table JBPM_SWIMLANEINSTANCE drop constraint FK_SWIMLANEINST_SL
+alter table JBPM_TASK drop constraint FK_TASK_STARTST
+alter table JBPM_TASK drop constraint FK_TASK_PROCDEF
+alter table JBPM_TASK drop constraint FK_TASK_ASSDEL
+alter table JBPM_TASK drop constraint FK_TASK_SWIMLANE
+alter table JBPM_TASK drop constraint FK_TASK_TASKNODE
+alter table JBPM_TASK drop constraint FK_TASK_TASKMGTDEF
+alter table JBPM_TASK drop constraint FK_TSK_TSKCTRL
+alter table JBPM_TASKACTORPOOL drop constraint FK_TASKACTPL_TSKI
+alter table JBPM_TASKACTORPOOL drop constraint FK_TSKACTPOL_PLACT
+alter table JBPM_TASKCONTROLLER drop constraint FK_TSKCTRL_DELEG
+alter table JBPM_TASKINSTANCE drop constraint FK_TSKINS_PRCINS
+alter table JBPM_TASKINSTANCE drop constraint FK_TASKINST_TMINST
+alter table JBPM_TASKINSTANCE drop constraint FK_TASKINST_TOKEN
+alter table JBPM_TASKINSTANCE drop constraint FK_TASKINST_SLINST
+alter table JBPM_TASKINSTANCE drop constraint FK_TASKINST_TASK
+alter table JBPM_TOKEN drop constraint FK_TOKEN_SUBPI
+alter table JBPM_TOKEN drop constraint FK_TOKEN_PROCINST
+alter table JBPM_TOKEN drop constraint FK_TOKEN_NODE
+alter table JBPM_TOKEN drop constraint FK_TOKEN_PARENT
+alter table JBPM_TOKENVARIABLEMAP drop constraint FK_TKVARMAP_TOKEN
+alter table JBPM_TOKENVARIABLEMAP drop constraint FK_TKVARMAP_CTXT
+alter table JBPM_TRANSITION drop constraint FK_TRANSITION_FROM
+alter table JBPM_TRANSITION drop constraint FK_TRANS_PROCDEF
+alter table JBPM_TRANSITION drop constraint FK_TRANSITION_TO
+alter table JBPM_VARIABLEACCESS drop constraint FK_VARACC_PROCST
+alter table JBPM_VARIABLEACCESS drop constraint FK_VARACC_SCRIPT
+alter table JBPM_VARIABLEACCESS drop constraint FK_VARACC_TSKCTRL
+alter table JBPM_VARIABLEINSTANCE drop constraint FK_VARINST_PRCINST
+alter table JBPM_VARIABLEINSTANCE drop constraint FK_VARINST_TKVARMP
+alter table JBPM_VARIABLEINSTANCE drop constraint FK_VARINST_TK
+alter table JBPM_VARIABLEINSTANCE drop constraint FK_BYTEINST_ARRAY
+alter table JBPM_VARIABLEINSTANCE drop constraint FK_VAR_TSKINST
+drop table JBPM_ACTION if exists
+drop table JBPM_BYTEARRAY if exists
+drop table JBPM_BYTEBLOCK if exists
+drop table JBPM_COMMENT if exists
+drop table JBPM_DECISIONCONDITIONS if exists
+drop table JBPM_DELEGATION if exists
+drop table JBPM_EVENT if exists
+drop table JBPM_EXCEPTIONHANDLER if exists
+drop table JBPM_ID_GROUP if exists
+drop table JBPM_ID_MEMBERSHIP if exists
+drop table JBPM_ID_PERMISSIONS if exists
+drop table JBPM_ID_USER if exists
+drop table JBPM_JOB if exists
+drop table JBPM_LOG if exists
+drop table JBPM_MODULEDEFINITION if exists
+drop table JBPM_MODULEINSTANCE if exists
+drop table JBPM_NODE if exists
+drop table JBPM_POOLEDACTOR if exists
+drop table JBPM_PROCESSDEFINITION if exists
+drop table JBPM_PROCESSINSTANCE if exists
+drop table JBPM_RUNTIMEACTION if exists
+drop table JBPM_SWIMLANE if exists
+drop table JBPM_SWIMLANEINSTANCE if exists
+drop table JBPM_TASK if exists
+drop table JBPM_TASKACTORPOOL if exists
+drop table JBPM_TASKCONTROLLER if exists
+drop table JBPM_TASKINSTANCE if exists
+drop table JBPM_TOKEN if exists
+drop table JBPM_TOKENVARIABLEMAP if exists
+drop table JBPM_TRANSITION if exists
+drop table JBPM_VARIABLEACCESS if exists
+drop table JBPM_VARIABLEINSTANCE if exists
create table JBPM_ACTION (ID_ bigint generated by default as identity (start with 1), class char(1) not null, NAME_ varchar(255), ISPROPAGATIONALLOWED_ bit, ACTIONEXPRESSION_ varchar(255), ISASYNC_ bit, REFERENCEDACTION_ bigint, ACTIONDELEGATION_ bigint, EVENT_ bigint, PROCESSDEFINITION_ bigint, EXPRESSION_ varchar(4000), TIMERNAME_ varchar(255), DUEDATE_ varchar(255), REPEAT_ varchar(255), TRANSITIONNAME_ varchar(255), TIMERACTION_ bigint, EVENTINDEX_ integer, EXCEPTIONHANDLER_ bigint, EXCEPTIONHANDLERINDEX_ integer, primary key (ID_))
create table JBPM_BYTEARRAY (ID_ bigint generated by default as identity (start with 1), NAME_ varchar(255), FILEDEFINITION_ bigint, primary key (ID_))
create table JBPM_BYTEBLOCK (PROCESSFILE_ bigint not null, BYTES_ varbinary(1024), INDEX_ integer not null, primary key (PROCESSFILE_, INDEX_))
Modified: jbpm3/branches/jbpm-3.2.5.SP/modules/db/src/main/compatibility/jbpm-3.2.2/jbpm.jpdl.informix.sql
===================================================================
--- jbpm3/branches/jbpm-3.2.5.SP/modules/db/src/main/compatibility/jbpm-3.2.2/jbpm.jpdl.informix.sql 2009-02-19 19:59:05 UTC (rev 3956)
+++ jbpm3/branches/jbpm-3.2.5.SP/modules/db/src/main/compatibility/jbpm-3.2.2/jbpm.jpdl.informix.sql 2009-02-19 20:19:56 UTC (rev 3957)
@@ -1,3 +1,125 @@
+alter table JBPM_ACTION drop constraint FK_ACTION_REFACT
+alter table JBPM_ACTION drop constraint FK_CRTETIMERACT_TA
+alter table JBPM_ACTION drop constraint FK_ACTION_PROCDEF
+alter table JBPM_ACTION drop constraint FK_ACTION_EVENT
+alter table JBPM_ACTION drop constraint FK_ACTION_ACTNDEL
+alter table JBPM_ACTION drop constraint FK_ACTION_EXPTHDL
+alter table JBPM_BYTEARRAY drop constraint FK_BYTEARR_FILDEF
+alter table JBPM_BYTEBLOCK drop constraint FK_BYTEBLOCK_FILE
+alter table JBPM_COMMENT drop constraint FK_COMMENT_TOKEN
+alter table JBPM_COMMENT drop constraint FK_COMMENT_TSK
+alter table JBPM_DECISIONCONDITIONS drop constraint FK_DECCOND_DEC
+alter table JBPM_DELEGATION drop constraint FK_DELEGATION_PRCD
+alter table JBPM_EVENT drop constraint FK_EVENT_PROCDEF
+alter table JBPM_EVENT drop constraint FK_EVENT_TRANS
+alter table JBPM_EVENT drop constraint FK_EVENT_NODE
+alter table JBPM_EVENT drop constraint FK_EVENT_TASK
+alter table JBPM_ID_GROUP drop constraint FK_ID_GRP_PARENT
+alter table JBPM_ID_MEMBERSHIP drop constraint FK_ID_MEMSHIP_GRP
+alter table JBPM_ID_MEMBERSHIP drop constraint FK_ID_MEMSHIP_USR
+alter table JBPM_JOB drop constraint FK_JOB_PRINST
+alter table JBPM_JOB drop constraint FK_JOB_ACTION
+alter table JBPM_JOB drop constraint FK_JOB_TOKEN
+alter table JBPM_JOB drop constraint FK_JOB_NODE
+alter table JBPM_JOB drop constraint FK_JOB_TSKINST
+alter table JBPM_LOG drop constraint FK_LOG_SOURCENODE
+alter table JBPM_LOG drop constraint FK_LOG_DESTNODE
+alter table JBPM_LOG drop constraint FK_LOG_TOKEN
+alter table JBPM_LOG drop constraint FK_LOG_TRANSITION
+alter table JBPM_LOG drop constraint FK_LOG_TASKINST
+alter table JBPM_LOG drop constraint FK_LOG_CHILDTOKEN
+alter table JBPM_LOG drop constraint FK_LOG_OLDBYTES
+alter table JBPM_LOG drop constraint FK_LOG_SWIMINST
+alter table JBPM_LOG drop constraint FK_LOG_NEWBYTES
+alter table JBPM_LOG drop constraint FK_LOG_ACTION
+alter table JBPM_LOG drop constraint FK_LOG_VARINST
+alter table JBPM_LOG drop constraint FK_LOG_NODE
+alter table JBPM_LOG drop constraint FK_LOG_PARENT
+alter table JBPM_MODULEDEFINITION drop constraint FK_MODDEF_PROCDEF
+alter table JBPM_MODULEDEFINITION drop constraint FK_TSKDEF_START
+alter table JBPM_MODULEINSTANCE drop constraint FK_MODINST_PRCINST
+alter table JBPM_MODULEINSTANCE drop constraint FK_TASKMGTINST_TMD
+alter table JBPM_NODE drop constraint FK_DECISION_DELEG
+alter table JBPM_NODE drop constraint FK_NODE_PROCDEF
+alter table JBPM_NODE drop constraint FK_NODE_ACTION
+alter table JBPM_NODE drop constraint FK_PROCST_SBPRCDEF
+alter table JBPM_NODE drop constraint FK_NODE_SCRIPT
+alter table JBPM_NODE drop constraint FK_NODE_SUPERSTATE
+alter table JBPM_POOLEDACTOR drop constraint FK_POOLEDACTOR_SLI
+alter table JBPM_PROCESSDEFINITION drop constraint FK_PROCDEF_STRTSTA
+alter table JBPM_PROCESSINSTANCE drop constraint FK_PROCIN_PROCDEF
+alter table JBPM_PROCESSINSTANCE drop constraint FK_PROCIN_ROOTTKN
+alter table JBPM_PROCESSINSTANCE drop constraint FK_PROCIN_SPROCTKN
+alter table JBPM_RUNTIMEACTION drop constraint FK_RTACTN_PROCINST
+alter table JBPM_RUNTIMEACTION drop constraint FK_RTACTN_ACTION
+alter table JBPM_SWIMLANE drop constraint FK_SWL_ASSDEL
+alter table JBPM_SWIMLANE drop constraint FK_SWL_TSKMGMTDEF
+alter table JBPM_SWIMLANEINSTANCE drop constraint FK_SWIMLANEINST_TM
+alter table JBPM_SWIMLANEINSTANCE drop constraint FK_SWIMLANEINST_SL
+alter table JBPM_TASK drop constraint FK_TASK_STARTST
+alter table JBPM_TASK drop constraint FK_TASK_PROCDEF
+alter table JBPM_TASK drop constraint FK_TASK_ASSDEL
+alter table JBPM_TASK drop constraint FK_TASK_SWIMLANE
+alter table JBPM_TASK drop constraint FK_TASK_TASKNODE
+alter table JBPM_TASK drop constraint FK_TASK_TASKMGTDEF
+alter table JBPM_TASK drop constraint FK_TSK_TSKCTRL
+alter table JBPM_TASKACTORPOOL drop constraint FK_TASKACTPL_TSKI
+alter table JBPM_TASKACTORPOOL drop constraint FK_TSKACTPOL_PLACT
+alter table JBPM_TASKCONTROLLER drop constraint FK_TSKCTRL_DELEG
+alter table JBPM_TASKINSTANCE drop constraint FK_TSKINS_PRCINS
+alter table JBPM_TASKINSTANCE drop constraint FK_TASKINST_TMINST
+alter table JBPM_TASKINSTANCE drop constraint FK_TASKINST_TOKEN
+alter table JBPM_TASKINSTANCE drop constraint FK_TASKINST_SLINST
+alter table JBPM_TASKINSTANCE drop constraint FK_TASKINST_TASK
+alter table JBPM_TOKEN drop constraint FK_TOKEN_SUBPI
+alter table JBPM_TOKEN drop constraint FK_TOKEN_PROCINST
+alter table JBPM_TOKEN drop constraint FK_TOKEN_NODE
+alter table JBPM_TOKEN drop constraint FK_TOKEN_PARENT
+alter table JBPM_TOKENVARIABLEMAP drop constraint FK_TKVARMAP_TOKEN
+alter table JBPM_TOKENVARIABLEMAP drop constraint FK_TKVARMAP_CTXT
+alter table JBPM_TRANSITION drop constraint FK_TRANSITION_FROM
+alter table JBPM_TRANSITION drop constraint FK_TRANS_PROCDEF
+alter table JBPM_TRANSITION drop constraint FK_TRANSITION_TO
+alter table JBPM_VARIABLEACCESS drop constraint FK_VARACC_PROCST
+alter table JBPM_VARIABLEACCESS drop constraint FK_VARACC_SCRIPT
+alter table JBPM_VARIABLEACCESS drop constraint FK_VARACC_TSKCTRL
+alter table JBPM_VARIABLEINSTANCE drop constraint FK_VARINST_PRCINST
+alter table JBPM_VARIABLEINSTANCE drop constraint FK_VARINST_TKVARMP
+alter table JBPM_VARIABLEINSTANCE drop constraint FK_VARINST_TK
+alter table JBPM_VARIABLEINSTANCE drop constraint FK_BYTEINST_ARRAY
+alter table JBPM_VARIABLEINSTANCE drop constraint FK_VAR_TSKINST
+drop table JBPM_ACTION
+drop table JBPM_BYTEARRAY
+drop table JBPM_BYTEBLOCK
+drop table JBPM_COMMENT
+drop table JBPM_DECISIONCONDITIONS
+drop table JBPM_DELEGATION
+drop table JBPM_EVENT
+drop table JBPM_EXCEPTIONHANDLER
+drop table JBPM_ID_GROUP
+drop table JBPM_ID_MEMBERSHIP
+drop table JBPM_ID_PERMISSIONS
+drop table JBPM_ID_USER
+drop table JBPM_JOB
+drop table JBPM_LOG
+drop table JBPM_MODULEDEFINITION
+drop table JBPM_MODULEINSTANCE
+drop table JBPM_NODE
+drop table JBPM_POOLEDACTOR
+drop table JBPM_PROCESSDEFINITION
+drop table JBPM_PROCESSINSTANCE
+drop table JBPM_RUNTIMEACTION
+drop table JBPM_SWIMLANE
+drop table JBPM_SWIMLANEINSTANCE
+drop table JBPM_TASK
+drop table JBPM_TASKACTORPOOL
+drop table JBPM_TASKCONTROLLER
+drop table JBPM_TASKINSTANCE
+drop table JBPM_TOKEN
+drop table JBPM_TOKENVARIABLEMAP
+drop table JBPM_TRANSITION
+drop table JBPM_VARIABLEACCESS
+drop table JBPM_VARIABLEINSTANCE
create table JBPM_ACTION (ID_ serial8 not null, class char(255) not null, NAME_ varchar(255), ISPROPAGATIONALLOWED_ smallint, ACTIONEXPRESSION_ varchar(255), ISASYNC_ smallint, REFERENCEDACTION_ int8, ACTIONDELEGATION_ int8, EVENT_ int8, PROCESSDEFINITION_ int8, EXPRESSION_ lvarchar(4000), TIMERNAME_ varchar(255), DUEDATE_ varchar(255), REPEAT_ varchar(255), TRANSITIONNAME_ varchar(255), TIMERACTION_ int8, EVENTINDEX_ integer, EXCEPTIONHANDLER_ int8, EXCEPTIONHANDLERINDEX_ integer, primary key (ID_))
create table JBPM_BYTEARRAY (ID_ serial8 not null, NAME_ varchar(255), FILEDEFINITION_ int8, primary key (ID_))
create table JBPM_BYTEBLOCK (PROCESSFILE_ int8 not null, BYTES_ byte, INDEX_ integer not null, primary key (PROCESSFILE_, INDEX_))
Modified: jbpm3/branches/jbpm-3.2.5.SP/modules/db/src/main/compatibility/jbpm-3.2.2/jbpm.jpdl.ingres.sql
===================================================================
--- jbpm3/branches/jbpm-3.2.5.SP/modules/db/src/main/compatibility/jbpm-3.2.2/jbpm.jpdl.ingres.sql 2009-02-19 19:59:05 UTC (rev 3956)
+++ jbpm3/branches/jbpm-3.2.5.SP/modules/db/src/main/compatibility/jbpm-3.2.2/jbpm.jpdl.ingres.sql 2009-02-19 20:19:56 UTC (rev 3957)
@@ -1,3 +1,36 @@
+drop table JBPM_ACTION
+drop table JBPM_BYTEARRAY
+drop table JBPM_BYTEBLOCK
+drop table JBPM_COMMENT
+drop table JBPM_DECISIONCONDITIONS
+drop table JBPM_DELEGATION
+drop table JBPM_EVENT
+drop table JBPM_EXCEPTIONHANDLER
+drop table JBPM_ID_GROUP
+drop table JBPM_ID_MEMBERSHIP
+drop table JBPM_ID_PERMISSIONS
+drop table JBPM_ID_USER
+drop table JBPM_JOB
+drop table JBPM_LOG
+drop table JBPM_MODULEDEFINITION
+drop table JBPM_MODULEINSTANCE
+drop table JBPM_NODE
+drop table JBPM_POOLEDACTOR
+drop table JBPM_PROCESSDEFINITION
+drop table JBPM_PROCESSINSTANCE
+drop table JBPM_RUNTIMEACTION
+drop table JBPM_SWIMLANE
+drop table JBPM_SWIMLANEINSTANCE
+drop table JBPM_TASK
+drop table JBPM_TASKACTORPOOL
+drop table JBPM_TASKCONTROLLER
+drop table JBPM_TASKINSTANCE
+drop table JBPM_TOKEN
+drop table JBPM_TOKENVARIABLEMAP
+drop table JBPM_TRANSITION
+drop table JBPM_VARIABLEACCESS
+drop table JBPM_VARIABLEINSTANCE
+drop sequence hibernate_sequence restrict
create table JBPM_ACTION (ID_ bigint not null, class char(1) not null, NAME_ varchar(255) with null, ISPROPAGATIONALLOWED_ tinyint with null, ACTIONEXPRESSION_ varchar(255) with null, ISASYNC_ tinyint with null, REFERENCEDACTION_ bigint with null, ACTIONDELEGATION_ bigint with null, EVENT_ bigint with null, PROCESSDEFINITION_ bigint with null, EXPRESSION_ varchar(4000) with null, TIMERNAME_ varchar(255) with null, DUEDATE_ varchar(255) with null, REPEAT_ varchar(255) with null, TRANSITIONNAME_ varchar(255) with null, TIMERACTION_ bigint with null, EVENTINDEX_ integer with null, EXCEPTIONHANDLER_ bigint with null, EXCEPTIONHANDLERINDEX_ integer with null, primary key (ID_))
create table JBPM_BYTEARRAY (ID_ bigint not null, NAME_ varchar(255) with null, FILEDEFINITION_ bigint with null, primary key (ID_))
create table JBPM_BYTEBLOCK (PROCESSFILE_ bigint not null, BYTES_ varbyte(1024) with null, INDEX_ integer not null, primary key (PROCESSFILE_, INDEX_))
Modified: jbpm3/branches/jbpm-3.2.5.SP/modules/db/src/main/compatibility/jbpm-3.2.2/jbpm.jpdl.interbase.sql
===================================================================
--- jbpm3/branches/jbpm-3.2.5.SP/modules/db/src/main/compatibility/jbpm-3.2.2/jbpm.jpdl.interbase.sql 2009-02-19 19:59:05 UTC (rev 3956)
+++ jbpm3/branches/jbpm-3.2.5.SP/modules/db/src/main/compatibility/jbpm-3.2.2/jbpm.jpdl.interbase.sql 2009-02-19 20:19:56 UTC (rev 3957)
@@ -1,3 +1,126 @@
+alter table JBPM_ACTION drop constraint FK_ACTION_REFACT
+alter table JBPM_ACTION drop constraint FK_CRTETIMERACT_TA
+alter table JBPM_ACTION drop constraint FK_ACTION_PROCDEF
+alter table JBPM_ACTION drop constraint FK_ACTION_EVENT
+alter table JBPM_ACTION drop constraint FK_ACTION_ACTNDEL
+alter table JBPM_ACTION drop constraint FK_ACTION_EXPTHDL
+alter table JBPM_BYTEARRAY drop constraint FK_BYTEARR_FILDEF
+alter table JBPM_BYTEBLOCK drop constraint FK_BYTEBLOCK_FILE
+alter table JBPM_COMMENT drop constraint FK_COMMENT_TOKEN
+alter table JBPM_COMMENT drop constraint FK_COMMENT_TSK
+alter table JBPM_DECISIONCONDITIONS drop constraint FK_DECCOND_DEC
+alter table JBPM_DELEGATION drop constraint FK_DELEGATION_PRCD
+alter table JBPM_EVENT drop constraint FK_EVENT_PROCDEF
+alter table JBPM_EVENT drop constraint FK_EVENT_TRANS
+alter table JBPM_EVENT drop constraint FK_EVENT_NODE
+alter table JBPM_EVENT drop constraint FK_EVENT_TASK
+alter table JBPM_ID_GROUP drop constraint FK_ID_GRP_PARENT
+alter table JBPM_ID_MEMBERSHIP drop constraint FK_ID_MEMSHIP_GRP
+alter table JBPM_ID_MEMBERSHIP drop constraint FK_ID_MEMSHIP_USR
+alter table JBPM_JOB drop constraint FK_JOB_PRINST
+alter table JBPM_JOB drop constraint FK_JOB_ACTION
+alter table JBPM_JOB drop constraint FK_JOB_TOKEN
+alter table JBPM_JOB drop constraint FK_JOB_NODE
+alter table JBPM_JOB drop constraint FK_JOB_TSKINST
+alter table JBPM_LOG drop constraint FK_LOG_SOURCENODE
+alter table JBPM_LOG drop constraint FK_LOG_DESTNODE
+alter table JBPM_LOG drop constraint FK_LOG_TOKEN
+alter table JBPM_LOG drop constraint FK_LOG_TRANSITION
+alter table JBPM_LOG drop constraint FK_LOG_TASKINST
+alter table JBPM_LOG drop constraint FK_LOG_CHILDTOKEN
+alter table JBPM_LOG drop constraint FK_LOG_OLDBYTES
+alter table JBPM_LOG drop constraint FK_LOG_SWIMINST
+alter table JBPM_LOG drop constraint FK_LOG_NEWBYTES
+alter table JBPM_LOG drop constraint FK_LOG_ACTION
+alter table JBPM_LOG drop constraint FK_LOG_VARINST
+alter table JBPM_LOG drop constraint FK_LOG_NODE
+alter table JBPM_LOG drop constraint FK_LOG_PARENT
+alter table JBPM_MODULEDEFINITION drop constraint FK_MODDEF_PROCDEF
+alter table JBPM_MODULEDEFINITION drop constraint FK_TSKDEF_START
+alter table JBPM_MODULEINSTANCE drop constraint FK_MODINST_PRCINST
+alter table JBPM_MODULEINSTANCE drop constraint FK_TASKMGTINST_TMD
+alter table JBPM_NODE drop constraint FK_DECISION_DELEG
+alter table JBPM_NODE drop constraint FK_NODE_PROCDEF
+alter table JBPM_NODE drop constraint FK_NODE_ACTION
+alter table JBPM_NODE drop constraint FK_PROCST_SBPRCDEF
+alter table JBPM_NODE drop constraint FK_NODE_SCRIPT
+alter table JBPM_NODE drop constraint FK_NODE_SUPERSTATE
+alter table JBPM_POOLEDACTOR drop constraint FK_POOLEDACTOR_SLI
+alter table JBPM_PROCESSDEFINITION drop constraint FK_PROCDEF_STRTSTA
+alter table JBPM_PROCESSINSTANCE drop constraint FK_PROCIN_PROCDEF
+alter table JBPM_PROCESSINSTANCE drop constraint FK_PROCIN_ROOTTKN
+alter table JBPM_PROCESSINSTANCE drop constraint FK_PROCIN_SPROCTKN
+alter table JBPM_RUNTIMEACTION drop constraint FK_RTACTN_PROCINST
+alter table JBPM_RUNTIMEACTION drop constraint FK_RTACTN_ACTION
+alter table JBPM_SWIMLANE drop constraint FK_SWL_ASSDEL
+alter table JBPM_SWIMLANE drop constraint FK_SWL_TSKMGMTDEF
+alter table JBPM_SWIMLANEINSTANCE drop constraint FK_SWIMLANEINST_TM
+alter table JBPM_SWIMLANEINSTANCE drop constraint FK_SWIMLANEINST_SL
+alter table JBPM_TASK drop constraint FK_TASK_STARTST
+alter table JBPM_TASK drop constraint FK_TASK_PROCDEF
+alter table JBPM_TASK drop constraint FK_TASK_ASSDEL
+alter table JBPM_TASK drop constraint FK_TASK_SWIMLANE
+alter table JBPM_TASK drop constraint FK_TASK_TASKNODE
+alter table JBPM_TASK drop constraint FK_TASK_TASKMGTDEF
+alter table JBPM_TASK drop constraint FK_TSK_TSKCTRL
+alter table JBPM_TASKACTORPOOL drop constraint FK_TASKACTPL_TSKI
+alter table JBPM_TASKACTORPOOL drop constraint FK_TSKACTPOL_PLACT
+alter table JBPM_TASKCONTROLLER drop constraint FK_TSKCTRL_DELEG
+alter table JBPM_TASKINSTANCE drop constraint FK_TSKINS_PRCINS
+alter table JBPM_TASKINSTANCE drop constraint FK_TASKINST_TMINST
+alter table JBPM_TASKINSTANCE drop constraint FK_TASKINST_TOKEN
+alter table JBPM_TASKINSTANCE drop constraint FK_TASKINST_SLINST
+alter table JBPM_TASKINSTANCE drop constraint FK_TASKINST_TASK
+alter table JBPM_TOKEN drop constraint FK_TOKEN_SUBPI
+alter table JBPM_TOKEN drop constraint FK_TOKEN_PROCINST
+alter table JBPM_TOKEN drop constraint FK_TOKEN_NODE
+alter table JBPM_TOKEN drop constraint FK_TOKEN_PARENT
+alter table JBPM_TOKENVARIABLEMAP drop constraint FK_TKVARMAP_TOKEN
+alter table JBPM_TOKENVARIABLEMAP drop constraint FK_TKVARMAP_CTXT
+alter table JBPM_TRANSITION drop constraint FK_TRANSITION_FROM
+alter table JBPM_TRANSITION drop constraint FK_TRANS_PROCDEF
+alter table JBPM_TRANSITION drop constraint FK_TRANSITION_TO
+alter table JBPM_VARIABLEACCESS drop constraint FK_VARACC_PROCST
+alter table JBPM_VARIABLEACCESS drop constraint FK_VARACC_SCRIPT
+alter table JBPM_VARIABLEACCESS drop constraint FK_VARACC_TSKCTRL
+alter table JBPM_VARIABLEINSTANCE drop constraint FK_VARINST_PRCINST
+alter table JBPM_VARIABLEINSTANCE drop constraint FK_VARINST_TKVARMP
+alter table JBPM_VARIABLEINSTANCE drop constraint FK_VARINST_TK
+alter table JBPM_VARIABLEINSTANCE drop constraint FK_BYTEINST_ARRAY
+alter table JBPM_VARIABLEINSTANCE drop constraint FK_VAR_TSKINST
+drop table JBPM_ACTION
+drop table JBPM_BYTEARRAY
+drop table JBPM_BYTEBLOCK
+drop table JBPM_COMMENT
+drop table JBPM_DECISIONCONDITIONS
+drop table JBPM_DELEGATION
+drop table JBPM_EVENT
+drop table JBPM_EXCEPTIONHANDLER
+drop table JBPM_ID_GROUP
+drop table JBPM_ID_MEMBERSHIP
+drop table JBPM_ID_PERMISSIONS
+drop table JBPM_ID_USER
+drop table JBPM_JOB
+drop table JBPM_LOG
+drop table JBPM_MODULEDEFINITION
+drop table JBPM_MODULEINSTANCE
+drop table JBPM_NODE
+drop table JBPM_POOLEDACTOR
+drop table JBPM_PROCESSDEFINITION
+drop table JBPM_PROCESSINSTANCE
+drop table JBPM_RUNTIMEACTION
+drop table JBPM_SWIMLANE
+drop table JBPM_SWIMLANEINSTANCE
+drop table JBPM_TASK
+drop table JBPM_TASKACTORPOOL
+drop table JBPM_TASKCONTROLLER
+drop table JBPM_TASKINSTANCE
+drop table JBPM_TOKEN
+drop table JBPM_TOKENVARIABLEMAP
+drop table JBPM_TRANSITION
+drop table JBPM_VARIABLEACCESS
+drop table JBPM_VARIABLEINSTANCE
+delete from RDB$GENERATORS where RDB$GENERATOR_NAME = 'HIBERNATE_SEQUENCE'
create table JBPM_ACTION (ID_ numeric(18,0) not null, class char(1) not null, NAME_ varchar(255), ISPROPAGATIONALLOWED_ smallint, ACTIONEXPRESSION_ varchar(255), ISASYNC_ smallint, REFERENCEDACTION_ numeric(18,0), ACTIONDELEGATION_ numeric(18,0), EVENT_ numeric(18,0), PROCESSDEFINITION_ numeric(18,0), EXPRESSION_ varchar(4000), TIMERNAME_ varchar(255), DUEDATE_ varchar(255), REPEAT_ varchar(255), TRANSITIONNAME_ varchar(255), TIMERACTION_ numeric(18,0), EVENTINDEX_ integer, EXCEPTIONHANDLER_ numeric(18,0), EXCEPTIONHANDLERINDEX_ integer, primary key (ID_))
create table JBPM_BYTEARRAY (ID_ numeric(18,0) not null, NAME_ varchar(255), FILEDEFINITION_ numeric(18,0), primary key (ID_))
create table JBPM_BYTEBLOCK (PROCESSFILE_ numeric(18,0) not null, BYTES_ blob, INDEX_ integer not null, primary key (PROCESSFILE_, INDEX_))
Modified: jbpm3/branches/jbpm-3.2.5.SP/modules/db/src/main/compatibility/jbpm-3.2.2/jbpm.jpdl.mckoi.sql
===================================================================
--- jbpm3/branches/jbpm-3.2.5.SP/modules/db/src/main/compatibility/jbpm-3.2.2/jbpm.jpdl.mckoi.sql 2009-02-19 19:59:05 UTC (rev 3956)
+++ jbpm3/branches/jbpm-3.2.5.SP/modules/db/src/main/compatibility/jbpm-3.2.2/jbpm.jpdl.mckoi.sql 2009-02-19 20:19:56 UTC (rev 3957)
@@ -1,3 +1,126 @@
+alter table JBPM_ACTION drop constraint FK_ACTION_REFACT
+alter table JBPM_ACTION drop constraint FK_CRTETIMERACT_TA
+alter table JBPM_ACTION drop constraint FK_ACTION_PROCDEF
+alter table JBPM_ACTION drop constraint FK_ACTION_EVENT
+alter table JBPM_ACTION drop constraint FK_ACTION_ACTNDEL
+alter table JBPM_ACTION drop constraint FK_ACTION_EXPTHDL
+alter table JBPM_BYTEARRAY drop constraint FK_BYTEARR_FILDEF
+alter table JBPM_BYTEBLOCK drop constraint FK_BYTEBLOCK_FILE
+alter table JBPM_COMMENT drop constraint FK_COMMENT_TOKEN
+alter table JBPM_COMMENT drop constraint FK_COMMENT_TSK
+alter table JBPM_DECISIONCONDITIONS drop constraint FK_DECCOND_DEC
+alter table JBPM_DELEGATION drop constraint FK_DELEGATION_PRCD
+alter table JBPM_EVENT drop constraint FK_EVENT_PROCDEF
+alter table JBPM_EVENT drop constraint FK_EVENT_TRANS
+alter table JBPM_EVENT drop constraint FK_EVENT_NODE
+alter table JBPM_EVENT drop constraint FK_EVENT_TASK
+alter table JBPM_ID_GROUP drop constraint FK_ID_GRP_PARENT
+alter table JBPM_ID_MEMBERSHIP drop constraint FK_ID_MEMSHIP_GRP
+alter table JBPM_ID_MEMBERSHIP drop constraint FK_ID_MEMSHIP_USR
+alter table JBPM_JOB drop constraint FK_JOB_PRINST
+alter table JBPM_JOB drop constraint FK_JOB_ACTION
+alter table JBPM_JOB drop constraint FK_JOB_TOKEN
+alter table JBPM_JOB drop constraint FK_JOB_NODE
+alter table JBPM_JOB drop constraint FK_JOB_TSKINST
+alter table JBPM_LOG drop constraint FK_LOG_SOURCENODE
+alter table JBPM_LOG drop constraint FK_LOG_DESTNODE
+alter table JBPM_LOG drop constraint FK_LOG_TOKEN
+alter table JBPM_LOG drop constraint FK_LOG_TRANSITION
+alter table JBPM_LOG drop constraint FK_LOG_TASKINST
+alter table JBPM_LOG drop constraint FK_LOG_CHILDTOKEN
+alter table JBPM_LOG drop constraint FK_LOG_OLDBYTES
+alter table JBPM_LOG drop constraint FK_LOG_SWIMINST
+alter table JBPM_LOG drop constraint FK_LOG_NEWBYTES
+alter table JBPM_LOG drop constraint FK_LOG_ACTION
+alter table JBPM_LOG drop constraint FK_LOG_VARINST
+alter table JBPM_LOG drop constraint FK_LOG_NODE
+alter table JBPM_LOG drop constraint FK_LOG_PARENT
+alter table JBPM_MODULEDEFINITION drop constraint FK_MODDEF_PROCDEF
+alter table JBPM_MODULEDEFINITION drop constraint FK_TSKDEF_START
+alter table JBPM_MODULEINSTANCE drop constraint FK_MODINST_PRCINST
+alter table JBPM_MODULEINSTANCE drop constraint FK_TASKMGTINST_TMD
+alter table JBPM_NODE drop constraint FK_DECISION_DELEG
+alter table JBPM_NODE drop constraint FK_NODE_PROCDEF
+alter table JBPM_NODE drop constraint FK_NODE_ACTION
+alter table JBPM_NODE drop constraint FK_PROCST_SBPRCDEF
+alter table JBPM_NODE drop constraint FK_NODE_SCRIPT
+alter table JBPM_NODE drop constraint FK_NODE_SUPERSTATE
+alter table JBPM_POOLEDACTOR drop constraint FK_POOLEDACTOR_SLI
+alter table JBPM_PROCESSDEFINITION drop constraint FK_PROCDEF_STRTSTA
+alter table JBPM_PROCESSINSTANCE drop constraint FK_PROCIN_PROCDEF
+alter table JBPM_PROCESSINSTANCE drop constraint FK_PROCIN_ROOTTKN
+alter table JBPM_PROCESSINSTANCE drop constraint FK_PROCIN_SPROCTKN
+alter table JBPM_RUNTIMEACTION drop constraint FK_RTACTN_PROCINST
+alter table JBPM_RUNTIMEACTION drop constraint FK_RTACTN_ACTION
+alter table JBPM_SWIMLANE drop constraint FK_SWL_ASSDEL
+alter table JBPM_SWIMLANE drop constraint FK_SWL_TSKMGMTDEF
+alter table JBPM_SWIMLANEINSTANCE drop constraint FK_SWIMLANEINST_TM
+alter table JBPM_SWIMLANEINSTANCE drop constraint FK_SWIMLANEINST_SL
+alter table JBPM_TASK drop constraint FK_TASK_STARTST
+alter table JBPM_TASK drop constraint FK_TASK_PROCDEF
+alter table JBPM_TASK drop constraint FK_TASK_ASSDEL
+alter table JBPM_TASK drop constraint FK_TASK_SWIMLANE
+alter table JBPM_TASK drop constraint FK_TASK_TASKNODE
+alter table JBPM_TASK drop constraint FK_TASK_TASKMGTDEF
+alter table JBPM_TASK drop constraint FK_TSK_TSKCTRL
+alter table JBPM_TASKACTORPOOL drop constraint FK_TASKACTPL_TSKI
+alter table JBPM_TASKACTORPOOL drop constraint FK_TSKACTPOL_PLACT
+alter table JBPM_TASKCONTROLLER drop constraint FK_TSKCTRL_DELEG
+alter table JBPM_TASKINSTANCE drop constraint FK_TSKINS_PRCINS
+alter table JBPM_TASKINSTANCE drop constraint FK_TASKINST_TMINST
+alter table JBPM_TASKINSTANCE drop constraint FK_TASKINST_TOKEN
+alter table JBPM_TASKINSTANCE drop constraint FK_TASKINST_SLINST
+alter table JBPM_TASKINSTANCE drop constraint FK_TASKINST_TASK
+alter table JBPM_TOKEN drop constraint FK_TOKEN_SUBPI
+alter table JBPM_TOKEN drop constraint FK_TOKEN_PROCINST
+alter table JBPM_TOKEN drop constraint FK_TOKEN_NODE
+alter table JBPM_TOKEN drop constraint FK_TOKEN_PARENT
+alter table JBPM_TOKENVARIABLEMAP drop constraint FK_TKVARMAP_TOKEN
+alter table JBPM_TOKENVARIABLEMAP drop constraint FK_TKVARMAP_CTXT
+alter table JBPM_TRANSITION drop constraint FK_TRANSITION_FROM
+alter table JBPM_TRANSITION drop constraint FK_TRANS_PROCDEF
+alter table JBPM_TRANSITION drop constraint FK_TRANSITION_TO
+alter table JBPM_VARIABLEACCESS drop constraint FK_VARACC_PROCST
+alter table JBPM_VARIABLEACCESS drop constraint FK_VARACC_SCRIPT
+alter table JBPM_VARIABLEACCESS drop constraint FK_VARACC_TSKCTRL
+alter table JBPM_VARIABLEINSTANCE drop constraint FK_VARINST_PRCINST
+alter table JBPM_VARIABLEINSTANCE drop constraint FK_VARINST_TKVARMP
+alter table JBPM_VARIABLEINSTANCE drop constraint FK_VARINST_TK
+alter table JBPM_VARIABLEINSTANCE drop constraint FK_BYTEINST_ARRAY
+alter table JBPM_VARIABLEINSTANCE drop constraint FK_VAR_TSKINST
+drop table JBPM_ACTION
+drop table JBPM_BYTEARRAY
+drop table JBPM_BYTEBLOCK
+drop table JBPM_COMMENT
+drop table JBPM_DECISIONCONDITIONS
+drop table JBPM_DELEGATION
+drop table JBPM_EVENT
+drop table JBPM_EXCEPTIONHANDLER
+drop table JBPM_ID_GROUP
+drop table JBPM_ID_MEMBERSHIP
+drop table JBPM_ID_PERMISSIONS
+drop table JBPM_ID_USER
+drop table JBPM_JOB
+drop table JBPM_LOG
+drop table JBPM_MODULEDEFINITION
+drop table JBPM_MODULEINSTANCE
+drop table JBPM_NODE
+drop table JBPM_POOLEDACTOR
+drop table JBPM_PROCESSDEFINITION
+drop table JBPM_PROCESSINSTANCE
+drop table JBPM_RUNTIMEACTION
+drop table JBPM_SWIMLANE
+drop table JBPM_SWIMLANEINSTANCE
+drop table JBPM_TASK
+drop table JBPM_TASKACTORPOOL
+drop table JBPM_TASKCONTROLLER
+drop table JBPM_TASKINSTANCE
+drop table JBPM_TOKEN
+drop table JBPM_TOKENVARIABLEMAP
+drop table JBPM_TRANSITION
+drop table JBPM_VARIABLEACCESS
+drop table JBPM_VARIABLEINSTANCE
+drop sequence hibernate_sequence
create table JBPM_ACTION (ID_ bigint not null, class char(1) not null, NAME_ varchar(255), ISPROPAGATIONALLOWED_ bit, ACTIONEXPRESSION_ varchar(255), ISASYNC_ bit, REFERENCEDACTION_ bigint, ACTIONDELEGATION_ bigint, EVENT_ bigint, PROCESSDEFINITION_ bigint, EXPRESSION_ varchar(4000), TIMERNAME_ varchar(255), DUEDATE_ varchar(255), REPEAT_ varchar(255), TRANSITIONNAME_ varchar(255), TIMERACTION_ bigint, EVENTINDEX_ integer, EXCEPTIONHANDLER_ bigint, EXCEPTIONHANDLERINDEX_ integer, primary key (ID_))
create table JBPM_BYTEARRAY (ID_ bigint not null, NAME_ varchar(255), FILEDEFINITION_ bigint, primary key (ID_))
create table JBPM_BYTEBLOCK (PROCESSFILE_ bigint not null, BYTES_ varbinary, INDEX_ integer not null, primary key (PROCESSFILE_, INDEX_))
Modified: jbpm3/branches/jbpm-3.2.5.SP/modules/db/src/main/compatibility/jbpm-3.2.2/jbpm.jpdl.mssql.sql
===================================================================
--- jbpm3/branches/jbpm-3.2.5.SP/modules/db/src/main/compatibility/jbpm-3.2.2/jbpm.jpdl.mssql.sql 2009-02-19 19:59:05 UTC (rev 3956)
+++ jbpm3/branches/jbpm-3.2.5.SP/modules/db/src/main/compatibility/jbpm-3.2.2/jbpm.jpdl.mssql.sql 2009-02-19 20:19:56 UTC (rev 3957)
@@ -1,3 +1,125 @@
+alter table JBPM_ACTION drop constraint FK_ACTION_REFACT
+alter table JBPM_ACTION drop constraint FK_CRTETIMERACT_TA
+alter table JBPM_ACTION drop constraint FK_ACTION_PROCDEF
+alter table JBPM_ACTION drop constraint FK_ACTION_EVENT
+alter table JBPM_ACTION drop constraint FK_ACTION_ACTNDEL
+alter table JBPM_ACTION drop constraint FK_ACTION_EXPTHDL
+alter table JBPM_BYTEARRAY drop constraint FK_BYTEARR_FILDEF
+alter table JBPM_BYTEBLOCK drop constraint FK_BYTEBLOCK_FILE
+alter table JBPM_COMMENT drop constraint FK_COMMENT_TOKEN
+alter table JBPM_COMMENT drop constraint FK_COMMENT_TSK
+alter table JBPM_DECISIONCONDITIONS drop constraint FK_DECCOND_DEC
+alter table JBPM_DELEGATION drop constraint FK_DELEGATION_PRCD
+alter table JBPM_EVENT drop constraint FK_EVENT_PROCDEF
+alter table JBPM_EVENT drop constraint FK_EVENT_TRANS
+alter table JBPM_EVENT drop constraint FK_EVENT_NODE
+alter table JBPM_EVENT drop constraint FK_EVENT_TASK
+alter table JBPM_ID_GROUP drop constraint FK_ID_GRP_PARENT
+alter table JBPM_ID_MEMBERSHIP drop constraint FK_ID_MEMSHIP_GRP
+alter table JBPM_ID_MEMBERSHIP drop constraint FK_ID_MEMSHIP_USR
+alter table JBPM_JOB drop constraint FK_JOB_PRINST
+alter table JBPM_JOB drop constraint FK_JOB_ACTION
+alter table JBPM_JOB drop constraint FK_JOB_TOKEN
+alter table JBPM_JOB drop constraint FK_JOB_NODE
+alter table JBPM_JOB drop constraint FK_JOB_TSKINST
+alter table JBPM_LOG drop constraint FK_LOG_SOURCENODE
+alter table JBPM_LOG drop constraint FK_LOG_DESTNODE
+alter table JBPM_LOG drop constraint FK_LOG_TOKEN
+alter table JBPM_LOG drop constraint FK_LOG_TRANSITION
+alter table JBPM_LOG drop constraint FK_LOG_TASKINST
+alter table JBPM_LOG drop constraint FK_LOG_CHILDTOKEN
+alter table JBPM_LOG drop constraint FK_LOG_OLDBYTES
+alter table JBPM_LOG drop constraint FK_LOG_SWIMINST
+alter table JBPM_LOG drop constraint FK_LOG_NEWBYTES
+alter table JBPM_LOG drop constraint FK_LOG_ACTION
+alter table JBPM_LOG drop constraint FK_LOG_VARINST
+alter table JBPM_LOG drop constraint FK_LOG_NODE
+alter table JBPM_LOG drop constraint FK_LOG_PARENT
+alter table JBPM_MODULEDEFINITION drop constraint FK_MODDEF_PROCDEF
+alter table JBPM_MODULEDEFINITION drop constraint FK_TSKDEF_START
+alter table JBPM_MODULEINSTANCE drop constraint FK_MODINST_PRCINST
+alter table JBPM_MODULEINSTANCE drop constraint FK_TASKMGTINST_TMD
+alter table JBPM_NODE drop constraint FK_DECISION_DELEG
+alter table JBPM_NODE drop constraint FK_NODE_PROCDEF
+alter table JBPM_NODE drop constraint FK_NODE_ACTION
+alter table JBPM_NODE drop constraint FK_PROCST_SBPRCDEF
+alter table JBPM_NODE drop constraint FK_NODE_SCRIPT
+alter table JBPM_NODE drop constraint FK_NODE_SUPERSTATE
+alter table JBPM_POOLEDACTOR drop constraint FK_POOLEDACTOR_SLI
+alter table JBPM_PROCESSDEFINITION drop constraint FK_PROCDEF_STRTSTA
+alter table JBPM_PROCESSINSTANCE drop constraint FK_PROCIN_PROCDEF
+alter table JBPM_PROCESSINSTANCE drop constraint FK_PROCIN_ROOTTKN
+alter table JBPM_PROCESSINSTANCE drop constraint FK_PROCIN_SPROCTKN
+alter table JBPM_RUNTIMEACTION drop constraint FK_RTACTN_PROCINST
+alter table JBPM_RUNTIMEACTION drop constraint FK_RTACTN_ACTION
+alter table JBPM_SWIMLANE drop constraint FK_SWL_ASSDEL
+alter table JBPM_SWIMLANE drop constraint FK_SWL_TSKMGMTDEF
+alter table JBPM_SWIMLANEINSTANCE drop constraint FK_SWIMLANEINST_TM
+alter table JBPM_SWIMLANEINSTANCE drop constraint FK_SWIMLANEINST_SL
+alter table JBPM_TASK drop constraint FK_TASK_STARTST
+alter table JBPM_TASK drop constraint FK_TASK_PROCDEF
+alter table JBPM_TASK drop constraint FK_TASK_ASSDEL
+alter table JBPM_TASK drop constraint FK_TASK_SWIMLANE
+alter table JBPM_TASK drop constraint FK_TASK_TASKNODE
+alter table JBPM_TASK drop constraint FK_TASK_TASKMGTDEF
+alter table JBPM_TASK drop constraint FK_TSK_TSKCTRL
+alter table JBPM_TASKACTORPOOL drop constraint FK_TASKACTPL_TSKI
+alter table JBPM_TASKACTORPOOL drop constraint FK_TSKACTPOL_PLACT
+alter table JBPM_TASKCONTROLLER drop constraint FK_TSKCTRL_DELEG
+alter table JBPM_TASKINSTANCE drop constraint FK_TSKINS_PRCINS
+alter table JBPM_TASKINSTANCE drop constraint FK_TASKINST_TMINST
+alter table JBPM_TASKINSTANCE drop constraint FK_TASKINST_TOKEN
+alter table JBPM_TASKINSTANCE drop constraint FK_TASKINST_SLINST
+alter table JBPM_TASKINSTANCE drop constraint FK_TASKINST_TASK
+alter table JBPM_TOKEN drop constraint FK_TOKEN_SUBPI
+alter table JBPM_TOKEN drop constraint FK_TOKEN_PROCINST
+alter table JBPM_TOKEN drop constraint FK_TOKEN_NODE
+alter table JBPM_TOKEN drop constraint FK_TOKEN_PARENT
+alter table JBPM_TOKENVARIABLEMAP drop constraint FK_TKVARMAP_TOKEN
+alter table JBPM_TOKENVARIABLEMAP drop constraint FK_TKVARMAP_CTXT
+alter table JBPM_TRANSITION drop constraint FK_TRANSITION_FROM
+alter table JBPM_TRANSITION drop constraint FK_TRANS_PROCDEF
+alter table JBPM_TRANSITION drop constraint FK_TRANSITION_TO
+alter table JBPM_VARIABLEACCESS drop constraint FK_VARACC_PROCST
+alter table JBPM_VARIABLEACCESS drop constraint FK_VARACC_SCRIPT
+alter table JBPM_VARIABLEACCESS drop constraint FK_VARACC_TSKCTRL
+alter table JBPM_VARIABLEINSTANCE drop constraint FK_VARINST_PRCINST
+alter table JBPM_VARIABLEINSTANCE drop constraint FK_VARINST_TKVARMP
+alter table JBPM_VARIABLEINSTANCE drop constraint FK_VARINST_TK
+alter table JBPM_VARIABLEINSTANCE drop constraint FK_BYTEINST_ARRAY
+alter table JBPM_VARIABLEINSTANCE drop constraint FK_VAR_TSKINST
+drop table JBPM_ACTION
+drop table JBPM_BYTEARRAY
+drop table JBPM_BYTEBLOCK
+drop table JBPM_COMMENT
+drop table JBPM_DECISIONCONDITIONS
+drop table JBPM_DELEGATION
+drop table JBPM_EVENT
+drop table JBPM_EXCEPTIONHANDLER
+drop table JBPM_ID_GROUP
+drop table JBPM_ID_MEMBERSHIP
+drop table JBPM_ID_PERMISSIONS
+drop table JBPM_ID_USER
+drop table JBPM_JOB
+drop table JBPM_LOG
+drop table JBPM_MODULEDEFINITION
+drop table JBPM_MODULEINSTANCE
+drop table JBPM_NODE
+drop table JBPM_POOLEDACTOR
+drop table JBPM_PROCESSDEFINITION
+drop table JBPM_PROCESSINSTANCE
+drop table JBPM_RUNTIMEACTION
+drop table JBPM_SWIMLANE
+drop table JBPM_SWIMLANEINSTANCE
+drop table JBPM_TASK
+drop table JBPM_TASKACTORPOOL
+drop table JBPM_TASKCONTROLLER
+drop table JBPM_TASKINSTANCE
+drop table JBPM_TOKEN
+drop table JBPM_TOKENVARIABLEMAP
+drop table JBPM_TRANSITION
+drop table JBPM_VARIABLEACCESS
+drop table JBPM_VARIABLEINSTANCE
create table JBPM_ACTION (ID_ numeric(19,0) identity not null, class char(1) not null, NAME_ varchar(255) null, ISPROPAGATIONALLOWED_ tinyint null, ACTIONEXPRESSION_ varchar(255) null, ISASYNC_ tinyint null, REFERENCEDACTION_ numeric(19,0) null, ACTIONDELEGATION_ numeric(19,0) null, EVENT_ numeric(19,0) null, PROCESSDEFINITION_ numeric(19,0) null, EXPRESSION_ varchar(4000) null, TIMERNAME_ varchar(255) null, DUEDATE_ varchar(255) null, REPEAT_ varchar(255) null, TRANSITIONNAME_ varchar(255) null, TIMERACTION_ numeric(19,0) null, EVENTINDEX_ int null, EXCEPTIONHANDLER_ numeric(19,0) null, EXCEPTIONHANDLERINDEX_ int null, primary key (ID_))
create table JBPM_BYTEARRAY (ID_ numeric(19,0) identity not null, NAME_ varchar(255) null, FILEDEFINITION_ numeric(19,0) null, primary key (ID_))
create table JBPM_BYTEBLOCK (PROCESSFILE_ numeric(19,0) not null, BYTES_ varbinary(1024) null, INDEX_ int not null, primary key (PROCESSFILE_, INDEX_))
Modified: jbpm3/branches/jbpm-3.2.5.SP/modules/db/src/main/compatibility/jbpm-3.2.2/jbpm.jpdl.oracle.sql
===================================================================
--- jbpm3/branches/jbpm-3.2.5.SP/modules/db/src/main/compatibility/jbpm-3.2.2/jbpm.jpdl.oracle.sql 2009-02-19 19:59:05 UTC (rev 3956)
+++ jbpm3/branches/jbpm-3.2.5.SP/modules/db/src/main/compatibility/jbpm-3.2.2/jbpm.jpdl.oracle.sql 2009-02-19 20:19:56 UTC (rev 3957)
@@ -1,3 +1,36 @@
+drop table JBPM_ACTION cascade constraints;
+drop table JBPM_BYTEARRAY cascade constraints;
+drop table JBPM_BYTEBLOCK cascade constraints;
+drop table JBPM_COMMENT cascade constraints;
+drop table JBPM_DECISIONCONDITIONS cascade constraints;
+drop table JBPM_DELEGATION cascade constraints;
+drop table JBPM_EVENT cascade constraints;
+drop table JBPM_EXCEPTIONHANDLER cascade constraints;
+drop table JBPM_ID_GROUP cascade constraints;
+drop table JBPM_ID_MEMBERSHIP cascade constraints;
+drop table JBPM_ID_PERMISSIONS cascade constraints;
+drop table JBPM_ID_USER cascade constraints;
+drop table JBPM_JOB cascade constraints;
+drop table JBPM_LOG cascade constraints;
+drop table JBPM_MODULEDEFINITION cascade constraints;
+drop table JBPM_MODULEINSTANCE cascade constraints;
+drop table JBPM_NODE cascade constraints;
+drop table JBPM_POOLEDACTOR cascade constraints;
+drop table JBPM_PROCESSDEFINITION cascade constraints;
+drop table JBPM_PROCESSINSTANCE cascade constraints;
+drop table JBPM_RUNTIMEACTION cascade constraints;
+drop table JBPM_SWIMLANE cascade constraints;
+drop table JBPM_SWIMLANEINSTANCE cascade constraints;
+drop table JBPM_TASK cascade constraints;
+drop table JBPM_TASKACTORPOOL cascade constraints;
+drop table JBPM_TASKCONTROLLER cascade constraints;
+drop table JBPM_TASKINSTANCE cascade constraints;
+drop table JBPM_TOKEN cascade constraints;
+drop table JBPM_TOKENVARIABLEMAP cascade constraints;
+drop table JBPM_TRANSITION cascade constraints;
+drop table JBPM_VARIABLEACCESS cascade constraints;
+drop table JBPM_VARIABLEINSTANCE cascade constraints;
+drop sequence hibernate_sequence;
create table JBPM_ACTION (ID_ number(19,0) not null, class char(1 char) not null, NAME_ varchar2(255 char), ISPROPAGATIONALLOWED_ number(1,0), ACTIONEXPRESSION_ varchar2(255 char), ISASYNC_ number(1,0), REFERENCEDACTION_ number(19,0), ACTIONDELEGATION_ number(19,0), EVENT_ number(19,0), PROCESSDEFINITION_ number(19,0), EXPRESSION_ varchar2(4000 char), TIMERNAME_ varchar2(255 char), DUEDATE_ varchar2(255 char), REPEAT_ varchar2(255 char), TRANSITIONNAME_ varchar2(255 char), TIMERACTION_ number(19,0), EVENTINDEX_ number(10,0), EXCEPTIONHANDLER_ number(19,0), EXCEPTIONHANDLERINDEX_ number(10,0), primary key (ID_));
create table JBPM_BYTEARRAY (ID_ number(19,0) not null, NAME_ varchar2(255 char), FILEDEFINITION_ number(19,0), primary key (ID_));
create table JBPM_BYTEBLOCK (PROCESSFILE_ number(19,0) not null, BYTES_ raw(1024), INDEX_ number(10,0) not null, primary key (PROCESSFILE_, INDEX_));
Modified: jbpm3/branches/jbpm-3.2.5.SP/modules/db/src/main/compatibility/jbpm-3.2.2/jbpm.jpdl.pointbase.sql
===================================================================
--- jbpm3/branches/jbpm-3.2.5.SP/modules/db/src/main/compatibility/jbpm-3.2.2/jbpm.jpdl.pointbase.sql 2009-02-19 19:59:05 UTC (rev 3956)
+++ jbpm3/branches/jbpm-3.2.5.SP/modules/db/src/main/compatibility/jbpm-3.2.2/jbpm.jpdl.pointbase.sql 2009-02-19 20:19:56 UTC (rev 3957)
@@ -1,3 +1,36 @@
+drop table JBPM_ACTION cascade
+drop table JBPM_BYTEARRAY cascade
+drop table JBPM_BYTEBLOCK cascade
+drop table JBPM_COMMENT cascade
+drop table JBPM_DECISIONCONDITIONS cascade
+drop table JBPM_DELEGATION cascade
+drop table JBPM_EVENT cascade
+drop table JBPM_EXCEPTIONHANDLER cascade
+drop table JBPM_ID_GROUP cascade
+drop table JBPM_ID_MEMBERSHIP cascade
+drop table JBPM_ID_PERMISSIONS cascade
+drop table JBPM_ID_USER cascade
+drop table JBPM_JOB cascade
+drop table JBPM_LOG cascade
+drop table JBPM_MODULEDEFINITION cascade
+drop table JBPM_MODULEINSTANCE cascade
+drop table JBPM_NODE cascade
+drop table JBPM_POOLEDACTOR cascade
+drop table JBPM_PROCESSDEFINITION cascade
+drop table JBPM_PROCESSINSTANCE cascade
+drop table JBPM_RUNTIMEACTION cascade
+drop table JBPM_SWIMLANE cascade
+drop table JBPM_SWIMLANEINSTANCE cascade
+drop table JBPM_TASK cascade
+drop table JBPM_TASKACTORPOOL cascade
+drop table JBPM_TASKCONTROLLER cascade
+drop table JBPM_TASKINSTANCE cascade
+drop table JBPM_TOKEN cascade
+drop table JBPM_TOKENVARIABLEMAP cascade
+drop table JBPM_TRANSITION cascade
+drop table JBPM_VARIABLEACCESS cascade
+drop table JBPM_VARIABLEINSTANCE cascade
+drop table hibernate_unique_key cascade
create table JBPM_ACTION (ID_ bigint not null, class char(1) not null, NAME_ varchar(255), ISPROPAGATIONALLOWED_ smallint, ACTIONEXPRESSION_ varchar(255), ISASYNC_ smallint, REFERENCEDACTION_ bigint, ACTIONDELEGATION_ bigint, EVENT_ bigint, PROCESSDEFINITION_ bigint, EXPRESSION_ varchar(4000), TIMERNAME_ varchar(255), DUEDATE_ varchar(255), REPEAT_ varchar(255), TRANSITIONNAME_ varchar(255), TIMERACTION_ bigint, EVENTINDEX_ integer, EXCEPTIONHANDLER_ bigint, EXCEPTIONHANDLERINDEX_ integer, primary key (ID_))
create table JBPM_BYTEARRAY (ID_ bigint not null, NAME_ varchar(255), FILEDEFINITION_ bigint, primary key (ID_))
create table JBPM_BYTEBLOCK (PROCESSFILE_ bigint not null, BYTES_ blob(1024), INDEX_ integer not null, primary key (PROCESSFILE_, INDEX_))
Modified: jbpm3/branches/jbpm-3.2.5.SP/modules/db/src/main/compatibility/jbpm-3.2.2/jbpm.jpdl.postgresql.sql
===================================================================
--- jbpm3/branches/jbpm-3.2.5.SP/modules/db/src/main/compatibility/jbpm-3.2.2/jbpm.jpdl.postgresql.sql 2009-02-19 19:59:05 UTC (rev 3956)
+++ jbpm3/branches/jbpm-3.2.5.SP/modules/db/src/main/compatibility/jbpm-3.2.2/jbpm.jpdl.postgresql.sql 2009-02-19 20:19:56 UTC (rev 3957)
@@ -1,3 +1,126 @@
+alter table JBPM_ACTION drop constraint FK_ACTION_REFACT
+alter table JBPM_ACTION drop constraint FK_CRTETIMERACT_TA
+alter table JBPM_ACTION drop constraint FK_ACTION_PROCDEF
+alter table JBPM_ACTION drop constraint FK_ACTION_EVENT
+alter table JBPM_ACTION drop constraint FK_ACTION_ACTNDEL
+alter table JBPM_ACTION drop constraint FK_ACTION_EXPTHDL
+alter table JBPM_BYTEARRAY drop constraint FK_BYTEARR_FILDEF
+alter table JBPM_BYTEBLOCK drop constraint FK_BYTEBLOCK_FILE
+alter table JBPM_COMMENT drop constraint FK_COMMENT_TOKEN
+alter table JBPM_COMMENT drop constraint FK_COMMENT_TSK
+alter table JBPM_DECISIONCONDITIONS drop constraint FK_DECCOND_DEC
+alter table JBPM_DELEGATION drop constraint FK_DELEGATION_PRCD
+alter table JBPM_EVENT drop constraint FK_EVENT_PROCDEF
+alter table JBPM_EVENT drop constraint FK_EVENT_TRANS
+alter table JBPM_EVENT drop constraint FK_EVENT_NODE
+alter table JBPM_EVENT drop constraint FK_EVENT_TASK
+alter table JBPM_ID_GROUP drop constraint FK_ID_GRP_PARENT
+alter table JBPM_ID_MEMBERSHIP drop constraint FK_ID_MEMSHIP_GRP
+alter table JBPM_ID_MEMBERSHIP drop constraint FK_ID_MEMSHIP_USR
+alter table JBPM_JOB drop constraint FK_JOB_PRINST
+alter table JBPM_JOB drop constraint FK_JOB_ACTION
+alter table JBPM_JOB drop constraint FK_JOB_TOKEN
+alter table JBPM_JOB drop constraint FK_JOB_NODE
+alter table JBPM_JOB drop constraint FK_JOB_TSKINST
+alter table JBPM_LOG drop constraint FK_LOG_SOURCENODE
+alter table JBPM_LOG drop constraint FK_LOG_DESTNODE
+alter table JBPM_LOG drop constraint FK_LOG_TOKEN
+alter table JBPM_LOG drop constraint FK_LOG_TRANSITION
+alter table JBPM_LOG drop constraint FK_LOG_TASKINST
+alter table JBPM_LOG drop constraint FK_LOG_CHILDTOKEN
+alter table JBPM_LOG drop constraint FK_LOG_OLDBYTES
+alter table JBPM_LOG drop constraint FK_LOG_SWIMINST
+alter table JBPM_LOG drop constraint FK_LOG_NEWBYTES
+alter table JBPM_LOG drop constraint FK_LOG_ACTION
+alter table JBPM_LOG drop constraint FK_LOG_VARINST
+alter table JBPM_LOG drop constraint FK_LOG_NODE
+alter table JBPM_LOG drop constraint FK_LOG_PARENT
+alter table JBPM_MODULEDEFINITION drop constraint FK_MODDEF_PROCDEF
+alter table JBPM_MODULEDEFINITION drop constraint FK_TSKDEF_START
+alter table JBPM_MODULEINSTANCE drop constraint FK_MODINST_PRCINST
+alter table JBPM_MODULEINSTANCE drop constraint FK_TASKMGTINST_TMD
+alter table JBPM_NODE drop constraint FK_DECISION_DELEG
+alter table JBPM_NODE drop constraint FK_NODE_PROCDEF
+alter table JBPM_NODE drop constraint FK_NODE_ACTION
+alter table JBPM_NODE drop constraint FK_PROCST_SBPRCDEF
+alter table JBPM_NODE drop constraint FK_NODE_SCRIPT
+alter table JBPM_NODE drop constraint FK_NODE_SUPERSTATE
+alter table JBPM_POOLEDACTOR drop constraint FK_POOLEDACTOR_SLI
+alter table JBPM_PROCESSDEFINITION drop constraint FK_PROCDEF_STRTSTA
+alter table JBPM_PROCESSINSTANCE drop constraint FK_PROCIN_PROCDEF
+alter table JBPM_PROCESSINSTANCE drop constraint FK_PROCIN_ROOTTKN
+alter table JBPM_PROCESSINSTANCE drop constraint FK_PROCIN_SPROCTKN
+alter table JBPM_RUNTIMEACTION drop constraint FK_RTACTN_PROCINST
+alter table JBPM_RUNTIMEACTION drop constraint FK_RTACTN_ACTION
+alter table JBPM_SWIMLANE drop constraint FK_SWL_ASSDEL
+alter table JBPM_SWIMLANE drop constraint FK_SWL_TSKMGMTDEF
+alter table JBPM_SWIMLANEINSTANCE drop constraint FK_SWIMLANEINST_TM
+alter table JBPM_SWIMLANEINSTANCE drop constraint FK_SWIMLANEINST_SL
+alter table JBPM_TASK drop constraint FK_TASK_STARTST
+alter table JBPM_TASK drop constraint FK_TASK_PROCDEF
+alter table JBPM_TASK drop constraint FK_TASK_ASSDEL
+alter table JBPM_TASK drop constraint FK_TASK_SWIMLANE
+alter table JBPM_TASK drop constraint FK_TASK_TASKNODE
+alter table JBPM_TASK drop constraint FK_TASK_TASKMGTDEF
+alter table JBPM_TASK drop constraint FK_TSK_TSKCTRL
+alter table JBPM_TASKACTORPOOL drop constraint FK_TASKACTPL_TSKI
+alter table JBPM_TASKACTORPOOL drop constraint FK_TSKACTPOL_PLACT
+alter table JBPM_TASKCONTROLLER drop constraint FK_TSKCTRL_DELEG
+alter table JBPM_TASKINSTANCE drop constraint FK_TSKINS_PRCINS
+alter table JBPM_TASKINSTANCE drop constraint FK_TASKINST_TMINST
+alter table JBPM_TASKINSTANCE drop constraint FK_TASKINST_TOKEN
+alter table JBPM_TASKINSTANCE drop constraint FK_TASKINST_SLINST
+alter table JBPM_TASKINSTANCE drop constraint FK_TASKINST_TASK
+alter table JBPM_TOKEN drop constraint FK_TOKEN_SUBPI
+alter table JBPM_TOKEN drop constraint FK_TOKEN_PROCINST
+alter table JBPM_TOKEN drop constraint FK_TOKEN_NODE
+alter table JBPM_TOKEN drop constraint FK_TOKEN_PARENT
+alter table JBPM_TOKENVARIABLEMAP drop constraint FK_TKVARMAP_TOKEN
+alter table JBPM_TOKENVARIABLEMAP drop constraint FK_TKVARMAP_CTXT
+alter table JBPM_TRANSITION drop constraint FK_TRANSITION_FROM
+alter table JBPM_TRANSITION drop constraint FK_TRANS_PROCDEF
+alter table JBPM_TRANSITION drop constraint FK_TRANSITION_TO
+alter table JBPM_VARIABLEACCESS drop constraint FK_VARACC_PROCST
+alter table JBPM_VARIABLEACCESS drop constraint FK_VARACC_SCRIPT
+alter table JBPM_VARIABLEACCESS drop constraint FK_VARACC_TSKCTRL
+alter table JBPM_VARIABLEINSTANCE drop constraint FK_VARINST_PRCINST
+alter table JBPM_VARIABLEINSTANCE drop constraint FK_VARINST_TKVARMP
+alter table JBPM_VARIABLEINSTANCE drop constraint FK_VARINST_TK
+alter table JBPM_VARIABLEINSTANCE drop constraint FK_BYTEINST_ARRAY
+alter table JBPM_VARIABLEINSTANCE drop constraint FK_VAR_TSKINST
+drop table JBPM_ACTION
+drop table JBPM_BYTEARRAY
+drop table JBPM_BYTEBLOCK
+drop table JBPM_COMMENT
+drop table JBPM_DECISIONCONDITIONS
+drop table JBPM_DELEGATION
+drop table JBPM_EVENT
+drop table JBPM_EXCEPTIONHANDLER
+drop table JBPM_ID_GROUP
+drop table JBPM_ID_MEMBERSHIP
+drop table JBPM_ID_PERMISSIONS
+drop table JBPM_ID_USER
+drop table JBPM_JOB
+drop table JBPM_LOG
+drop table JBPM_MODULEDEFINITION
+drop table JBPM_MODULEINSTANCE
+drop table JBPM_NODE
+drop table JBPM_POOLEDACTOR
+drop table JBPM_PROCESSDEFINITION
+drop table JBPM_PROCESSINSTANCE
+drop table JBPM_RUNTIMEACTION
+drop table JBPM_SWIMLANE
+drop table JBPM_SWIMLANEINSTANCE
+drop table JBPM_TASK
+drop table JBPM_TASKACTORPOOL
+drop table JBPM_TASKCONTROLLER
+drop table JBPM_TASKINSTANCE
+drop table JBPM_TOKEN
+drop table JBPM_TOKENVARIABLEMAP
+drop table JBPM_TRANSITION
+drop table JBPM_VARIABLEACCESS
+drop table JBPM_VARIABLEINSTANCE
+drop sequence hibernate_sequence
create table JBPM_ACTION (ID_ int8 not null, class char(1) not null, NAME_ varchar(255), ISPROPAGATIONALLOWED_ bool, ACTIONEXPRESSION_ varchar(255), ISASYNC_ bool, REFERENCEDACTION_ int8, ACTIONDELEGATION_ int8, EVENT_ int8, PROCESSDEFINITION_ int8, EXPRESSION_ varchar(4000), TIMERNAME_ varchar(255), DUEDATE_ varchar(255), REPEAT_ varchar(255), TRANSITIONNAME_ varchar(255), TIMERACTION_ int8, EVENTINDEX_ int4, EXCEPTIONHANDLER_ int8, EXCEPTIONHANDLERINDEX_ int4, primary key (ID_))
create table JBPM_BYTEARRAY (ID_ int8 not null, NAME_ varchar(255), FILEDEFINITION_ int8, primary key (ID_))
create table JBPM_BYTEBLOCK (PROCESSFILE_ int8 not null, BYTES_ bytea, INDEX_ int4 not null, primary key (PROCESSFILE_, INDEX_))
Modified: jbpm3/branches/jbpm-3.2.5.SP/modules/db/src/main/compatibility/jbpm-3.2.2/jbpm.jpdl.progress.sql
===================================================================
--- jbpm3/branches/jbpm-3.2.5.SP/modules/db/src/main/compatibility/jbpm-3.2.2/jbpm.jpdl.progress.sql 2009-02-19 19:59:05 UTC (rev 3956)
+++ jbpm3/branches/jbpm-3.2.5.SP/modules/db/src/main/compatibility/jbpm-3.2.2/jbpm.jpdl.progress.sql 2009-02-19 20:19:56 UTC (rev 3957)
@@ -1,3 +1,126 @@
+alter table JBPM_ACTION drop constraint FK_ACTION_REFACT
+alter table JBPM_ACTION drop constraint FK_CRTETIMERACT_TA
+alter table JBPM_ACTION drop constraint FK_ACTION_PROCDEF
+alter table JBPM_ACTION drop constraint FK_ACTION_EVENT
+alter table JBPM_ACTION drop constraint FK_ACTION_ACTNDEL
+alter table JBPM_ACTION drop constraint FK_ACTION_EXPTHDL
+alter table JBPM_BYTEARRAY drop constraint FK_BYTEARR_FILDEF
+alter table JBPM_BYTEBLOCK drop constraint FK_BYTEBLOCK_FILE
+alter table JBPM_COMMENT drop constraint FK_COMMENT_TOKEN
+alter table JBPM_COMMENT drop constraint FK_COMMENT_TSK
+alter table JBPM_DECISIONCONDITIONS drop constraint FK_DECCOND_DEC
+alter table JBPM_DELEGATION drop constraint FK_DELEGATION_PRCD
+alter table JBPM_EVENT drop constraint FK_EVENT_PROCDEF
+alter table JBPM_EVENT drop constraint FK_EVENT_TRANS
+alter table JBPM_EVENT drop constraint FK_EVENT_NODE
+alter table JBPM_EVENT drop constraint FK_EVENT_TASK
+alter table JBPM_ID_GROUP drop constraint FK_ID_GRP_PARENT
+alter table JBPM_ID_MEMBERSHIP drop constraint FK_ID_MEMSHIP_GRP
+alter table JBPM_ID_MEMBERSHIP drop constraint FK_ID_MEMSHIP_USR
+alter table JBPM_JOB drop constraint FK_JOB_PRINST
+alter table JBPM_JOB drop constraint FK_JOB_ACTION
+alter table JBPM_JOB drop constraint FK_JOB_TOKEN
+alter table JBPM_JOB drop constraint FK_JOB_NODE
+alter table JBPM_JOB drop constraint FK_JOB_TSKINST
+alter table JBPM_LOG drop constraint FK_LOG_SOURCENODE
+alter table JBPM_LOG drop constraint FK_LOG_DESTNODE
+alter table JBPM_LOG drop constraint FK_LOG_TOKEN
+alter table JBPM_LOG drop constraint FK_LOG_TRANSITION
+alter table JBPM_LOG drop constraint FK_LOG_TASKINST
+alter table JBPM_LOG drop constraint FK_LOG_CHILDTOKEN
+alter table JBPM_LOG drop constraint FK_LOG_OLDBYTES
+alter table JBPM_LOG drop constraint FK_LOG_SWIMINST
+alter table JBPM_LOG drop constraint FK_LOG_NEWBYTES
+alter table JBPM_LOG drop constraint FK_LOG_ACTION
+alter table JBPM_LOG drop constraint FK_LOG_VARINST
+alter table JBPM_LOG drop constraint FK_LOG_NODE
+alter table JBPM_LOG drop constraint FK_LOG_PARENT
+alter table JBPM_MODULEDEFINITION drop constraint FK_MODDEF_PROCDEF
+alter table JBPM_MODULEDEFINITION drop constraint FK_TSKDEF_START
+alter table JBPM_MODULEINSTANCE drop constraint FK_MODINST_PRCINST
+alter table JBPM_MODULEINSTANCE drop constraint FK_TASKMGTINST_TMD
+alter table JBPM_NODE drop constraint FK_DECISION_DELEG
+alter table JBPM_NODE drop constraint FK_NODE_PROCDEF
+alter table JBPM_NODE drop constraint FK_NODE_ACTION
+alter table JBPM_NODE drop constraint FK_PROCST_SBPRCDEF
+alter table JBPM_NODE drop constraint FK_NODE_SCRIPT
+alter table JBPM_NODE drop constraint FK_NODE_SUPERSTATE
+alter table JBPM_POOLEDACTOR drop constraint FK_POOLEDACTOR_SLI
+alter table JBPM_PROCESSDEFINITION drop constraint FK_PROCDEF_STRTSTA
+alter table JBPM_PROCESSINSTANCE drop constraint FK_PROCIN_PROCDEF
+alter table JBPM_PROCESSINSTANCE drop constraint FK_PROCIN_ROOTTKN
+alter table JBPM_PROCESSINSTANCE drop constraint FK_PROCIN_SPROCTKN
+alter table JBPM_RUNTIMEACTION drop constraint FK_RTACTN_PROCINST
+alter table JBPM_RUNTIMEACTION drop constraint FK_RTACTN_ACTION
+alter table JBPM_SWIMLANE drop constraint FK_SWL_ASSDEL
+alter table JBPM_SWIMLANE drop constraint FK_SWL_TSKMGMTDEF
+alter table JBPM_SWIMLANEINSTANCE drop constraint FK_SWIMLANEINST_TM
+alter table JBPM_SWIMLANEINSTANCE drop constraint FK_SWIMLANEINST_SL
+alter table JBPM_TASK drop constraint FK_TASK_STARTST
+alter table JBPM_TASK drop constraint FK_TASK_PROCDEF
+alter table JBPM_TASK drop constraint FK_TASK_ASSDEL
+alter table JBPM_TASK drop constraint FK_TASK_SWIMLANE
+alter table JBPM_TASK drop constraint FK_TASK_TASKNODE
+alter table JBPM_TASK drop constraint FK_TASK_TASKMGTDEF
+alter table JBPM_TASK drop constraint FK_TSK_TSKCTRL
+alter table JBPM_TASKACTORPOOL drop constraint FK_TASKACTPL_TSKI
+alter table JBPM_TASKACTORPOOL drop constraint FK_TSKACTPOL_PLACT
+alter table JBPM_TASKCONTROLLER drop constraint FK_TSKCTRL_DELEG
+alter table JBPM_TASKINSTANCE drop constraint FK_TSKINS_PRCINS
+alter table JBPM_TASKINSTANCE drop constraint FK_TASKINST_TMINST
+alter table JBPM_TASKINSTANCE drop constraint FK_TASKINST_TOKEN
+alter table JBPM_TASKINSTANCE drop constraint FK_TASKINST_SLINST
+alter table JBPM_TASKINSTANCE drop constraint FK_TASKINST_TASK
+alter table JBPM_TOKEN drop constraint FK_TOKEN_SUBPI
+alter table JBPM_TOKEN drop constraint FK_TOKEN_PROCINST
+alter table JBPM_TOKEN drop constraint FK_TOKEN_NODE
+alter table JBPM_TOKEN drop constraint FK_TOKEN_PARENT
+alter table JBPM_TOKENVARIABLEMAP drop constraint FK_TKVARMAP_TOKEN
+alter table JBPM_TOKENVARIABLEMAP drop constraint FK_TKVARMAP_CTXT
+alter table JBPM_TRANSITION drop constraint FK_TRANSITION_FROM
+alter table JBPM_TRANSITION drop constraint FK_TRANS_PROCDEF
+alter table JBPM_TRANSITION drop constraint FK_TRANSITION_TO
+alter table JBPM_VARIABLEACCESS drop constraint FK_VARACC_PROCST
+alter table JBPM_VARIABLEACCESS drop constraint FK_VARACC_SCRIPT
+alter table JBPM_VARIABLEACCESS drop constraint FK_VARACC_TSKCTRL
+alter table JBPM_VARIABLEINSTANCE drop constraint FK_VARINST_PRCINST
+alter table JBPM_VARIABLEINSTANCE drop constraint FK_VARINST_TKVARMP
+alter table JBPM_VARIABLEINSTANCE drop constraint FK_VARINST_TK
+alter table JBPM_VARIABLEINSTANCE drop constraint FK_BYTEINST_ARRAY
+alter table JBPM_VARIABLEINSTANCE drop constraint FK_VAR_TSKINST
+drop table JBPM_ACTION
+drop table JBPM_BYTEARRAY
+drop table JBPM_BYTEBLOCK
+drop table JBPM_COMMENT
+drop table JBPM_DECISIONCONDITIONS
+drop table JBPM_DELEGATION
+drop table JBPM_EVENT
+drop table JBPM_EXCEPTIONHANDLER
+drop table JBPM_ID_GROUP
+drop table JBPM_ID_MEMBERSHIP
+drop table JBPM_ID_PERMISSIONS
+drop table JBPM_ID_USER
+drop table JBPM_JOB
+drop table JBPM_LOG
+drop table JBPM_MODULEDEFINITION
+drop table JBPM_MODULEINSTANCE
+drop table JBPM_NODE
+drop table JBPM_POOLEDACTOR
+drop table JBPM_PROCESSDEFINITION
+drop table JBPM_PROCESSINSTANCE
+drop table JBPM_RUNTIMEACTION
+drop table JBPM_SWIMLANE
+drop table JBPM_SWIMLANEINSTANCE
+drop table JBPM_TASK
+drop table JBPM_TASKACTORPOOL
+drop table JBPM_TASKCONTROLLER
+drop table JBPM_TASKINSTANCE
+drop table JBPM_TOKEN
+drop table JBPM_TOKENVARIABLEMAP
+drop table JBPM_TRANSITION
+drop table JBPM_VARIABLEACCESS
+drop table JBPM_VARIABLEINSTANCE
+drop table hibernate_unique_key
create table JBPM_ACTION (ID_ numeric not null, class character(1) not null, NAME_ varchar(255), ISPROPAGATIONALLOWED_ bit, ACTIONEXPRESSION_ varchar(255), ISASYNC_ bit, REFERENCEDACTION_ numeric, ACTIONDELEGATION_ numeric, EVENT_ numeric, PROCESSDEFINITION_ numeric, EXPRESSION_ varchar(4000), TIMERNAME_ varchar(255), DUEDATE_ varchar(255), REPEAT_ varchar(255), TRANSITIONNAME_ varchar(255), TIMERACTION_ numeric, EVENTINDEX_ integer, EXCEPTIONHANDLER_ numeric, EXCEPTIONHANDLERINDEX_ integer, primary key (ID_))
create table JBPM_BYTEARRAY (ID_ numeric not null, NAME_ varchar(255), FILEDEFINITION_ numeric, primary key (ID_))
create table JBPM_BYTEBLOCK (PROCESSFILE_ numeric not null, BYTES_ varbinary(1024), INDEX_ integer not null, primary key (PROCESSFILE_, INDEX_))
Modified: jbpm3/branches/jbpm-3.2.5.SP/modules/db/src/main/compatibility/jbpm-3.2.2/jbpm.jpdl.sapdb.sql
===================================================================
--- jbpm3/branches/jbpm-3.2.5.SP/modules/db/src/main/compatibility/jbpm-3.2.2/jbpm.jpdl.sapdb.sql 2009-02-19 19:59:05 UTC (rev 3956)
+++ jbpm3/branches/jbpm-3.2.5.SP/modules/db/src/main/compatibility/jbpm-3.2.2/jbpm.jpdl.sapdb.sql 2009-02-19 20:19:56 UTC (rev 3957)
@@ -1,3 +1,36 @@
+drop table JBPM_ACTION
+drop table JBPM_BYTEARRAY
+drop table JBPM_BYTEBLOCK
+drop table JBPM_COMMENT
+drop table JBPM_DECISIONCONDITIONS
+drop table JBPM_DELEGATION
+drop table JBPM_EVENT
+drop table JBPM_EXCEPTIONHANDLER
+drop table JBPM_ID_GROUP
+drop table JBPM_ID_MEMBERSHIP
+drop table JBPM_ID_PERMISSIONS
+drop table JBPM_ID_USER
+drop table JBPM_JOB
+drop table JBPM_LOG
+drop table JBPM_MODULEDEFINITION
+drop table JBPM_MODULEINSTANCE
+drop table JBPM_NODE
+drop table JBPM_POOLEDACTOR
+drop table JBPM_PROCESSDEFINITION
+drop table JBPM_PROCESSINSTANCE
+drop table JBPM_RUNTIMEACTION
+drop table JBPM_SWIMLANE
+drop table JBPM_SWIMLANEINSTANCE
+drop table JBPM_TASK
+drop table JBPM_TASKACTORPOOL
+drop table JBPM_TASKCONTROLLER
+drop table JBPM_TASKINSTANCE
+drop table JBPM_TOKEN
+drop table JBPM_TOKENVARIABLEMAP
+drop table JBPM_TRANSITION
+drop table JBPM_VARIABLEACCESS
+drop table JBPM_VARIABLEINSTANCE
+drop sequence hibernate_sequence
create table JBPM_ACTION (ID_ fixed(19,0) not null, class char(1) not null, NAME_ varchar(255) null, ISPROPAGATIONALLOWED_ boolean null, ACTIONEXPRESSION_ varchar(255) null, ISASYNC_ boolean null, REFERENCEDACTION_ fixed(19,0) null, ACTIONDELEGATION_ fixed(19,0) null, EVENT_ fixed(19,0) null, PROCESSDEFINITION_ fixed(19,0) null, EXPRESSION_ varchar(4000) null, TIMERNAME_ varchar(255) null, DUEDATE_ varchar(255) null, REPEAT_ varchar(255) null, TRANSITIONNAME_ varchar(255) null, TIMERACTION_ fixed(19,0) null, EVENTINDEX_ int null, EXCEPTIONHANDLER_ fixed(19,0) null, EXCEPTIONHANDLERINDEX_ int null, primary key (ID_))
create table JBPM_BYTEARRAY (ID_ fixed(19,0) not null, NAME_ varchar(255) null, FILEDEFINITION_ fixed(19,0) null, primary key (ID_))
create table JBPM_BYTEBLOCK (PROCESSFILE_ fixed(19,0) not null, BYTES_ long byte null, INDEX_ int not null, primary key (PROCESSFILE_, INDEX_))
Modified: jbpm3/branches/jbpm-3.2.5.SP/modules/db/src/main/compatibility/jbpm-3.2.2/jbpm.jpdl.sybase.sql
===================================================================
--- jbpm3/branches/jbpm-3.2.5.SP/modules/db/src/main/compatibility/jbpm-3.2.2/jbpm.jpdl.sybase.sql 2009-02-19 19:59:05 UTC (rev 3956)
+++ jbpm3/branches/jbpm-3.2.5.SP/modules/db/src/main/compatibility/jbpm-3.2.2/jbpm.jpdl.sybase.sql 2009-02-19 20:19:56 UTC (rev 3957)
@@ -1,3 +1,125 @@
+alter table JBPM_ACTION drop constraint FK_ACTION_REFACT
+alter table JBPM_ACTION drop constraint FK_CRTETIMERACT_TA
+alter table JBPM_ACTION drop constraint FK_ACTION_PROCDEF
+alter table JBPM_ACTION drop constraint FK_ACTION_EVENT
+alter table JBPM_ACTION drop constraint FK_ACTION_ACTNDEL
+alter table JBPM_ACTION drop constraint FK_ACTION_EXPTHDL
+alter table JBPM_BYTEARRAY drop constraint FK_BYTEARR_FILDEF
+alter table JBPM_BYTEBLOCK drop constraint FK_BYTEBLOCK_FILE
+alter table JBPM_COMMENT drop constraint FK_COMMENT_TOKEN
+alter table JBPM_COMMENT drop constraint FK_COMMENT_TSK
+alter table JBPM_DECISIONCONDITIONS drop constraint FK_DECCOND_DEC
+alter table JBPM_DELEGATION drop constraint FK_DELEGATION_PRCD
+alter table JBPM_EVENT drop constraint FK_EVENT_PROCDEF
+alter table JBPM_EVENT drop constraint FK_EVENT_TRANS
+alter table JBPM_EVENT drop constraint FK_EVENT_NODE
+alter table JBPM_EVENT drop constraint FK_EVENT_TASK
+alter table JBPM_ID_GROUP drop constraint FK_ID_GRP_PARENT
+alter table JBPM_ID_MEMBERSHIP drop constraint FK_ID_MEMSHIP_GRP
+alter table JBPM_ID_MEMBERSHIP drop constraint FK_ID_MEMSHIP_USR
+alter table JBPM_JOB drop constraint FK_JOB_PRINST
+alter table JBPM_JOB drop constraint FK_JOB_ACTION
+alter table JBPM_JOB drop constraint FK_JOB_TOKEN
+alter table JBPM_JOB drop constraint FK_JOB_NODE
+alter table JBPM_JOB drop constraint FK_JOB_TSKINST
+alter table JBPM_LOG drop constraint FK_LOG_SOURCENODE
+alter table JBPM_LOG drop constraint FK_LOG_DESTNODE
+alter table JBPM_LOG drop constraint FK_LOG_TOKEN
+alter table JBPM_LOG drop constraint FK_LOG_TRANSITION
+alter table JBPM_LOG drop constraint FK_LOG_TASKINST
+alter table JBPM_LOG drop constraint FK_LOG_CHILDTOKEN
+alter table JBPM_LOG drop constraint FK_LOG_OLDBYTES
+alter table JBPM_LOG drop constraint FK_LOG_SWIMINST
+alter table JBPM_LOG drop constraint FK_LOG_NEWBYTES
+alter table JBPM_LOG drop constraint FK_LOG_ACTION
+alter table JBPM_LOG drop constraint FK_LOG_VARINST
+alter table JBPM_LOG drop constraint FK_LOG_NODE
+alter table JBPM_LOG drop constraint FK_LOG_PARENT
+alter table JBPM_MODULEDEFINITION drop constraint FK_MODDEF_PROCDEF
+alter table JBPM_MODULEDEFINITION drop constraint FK_TSKDEF_START
+alter table JBPM_MODULEINSTANCE drop constraint FK_MODINST_PRCINST
+alter table JBPM_MODULEINSTANCE drop constraint FK_TASKMGTINST_TMD
+alter table JBPM_NODE drop constraint FK_DECISION_DELEG
+alter table JBPM_NODE drop constraint FK_NODE_PROCDEF
+alter table JBPM_NODE drop constraint FK_NODE_ACTION
+alter table JBPM_NODE drop constraint FK_PROCST_SBPRCDEF
+alter table JBPM_NODE drop constraint FK_NODE_SCRIPT
+alter table JBPM_NODE drop constraint FK_NODE_SUPERSTATE
+alter table JBPM_POOLEDACTOR drop constraint FK_POOLEDACTOR_SLI
+alter table JBPM_PROCESSDEFINITION drop constraint FK_PROCDEF_STRTSTA
+alter table JBPM_PROCESSINSTANCE drop constraint FK_PROCIN_PROCDEF
+alter table JBPM_PROCESSINSTANCE drop constraint FK_PROCIN_ROOTTKN
+alter table JBPM_PROCESSINSTANCE drop constraint FK_PROCIN_SPROCTKN
+alter table JBPM_RUNTIMEACTION drop constraint FK_RTACTN_PROCINST
+alter table JBPM_RUNTIMEACTION drop constraint FK_RTACTN_ACTION
+alter table JBPM_SWIMLANE drop constraint FK_SWL_ASSDEL
+alter table JBPM_SWIMLANE drop constraint FK_SWL_TSKMGMTDEF
+alter table JBPM_SWIMLANEINSTANCE drop constraint FK_SWIMLANEINST_TM
+alter table JBPM_SWIMLANEINSTANCE drop constraint FK_SWIMLANEINST_SL
+alter table JBPM_TASK drop constraint FK_TASK_STARTST
+alter table JBPM_TASK drop constraint FK_TASK_PROCDEF
+alter table JBPM_TASK drop constraint FK_TASK_ASSDEL
+alter table JBPM_TASK drop constraint FK_TASK_SWIMLANE
+alter table JBPM_TASK drop constraint FK_TASK_TASKNODE
+alter table JBPM_TASK drop constraint FK_TASK_TASKMGTDEF
+alter table JBPM_TASK drop constraint FK_TSK_TSKCTRL
+alter table JBPM_TASKACTORPOOL drop constraint FK_TASKACTPL_TSKI
+alter table JBPM_TASKACTORPOOL drop constraint FK_TSKACTPOL_PLACT
+alter table JBPM_TASKCONTROLLER drop constraint FK_TSKCTRL_DELEG
+alter table JBPM_TASKINSTANCE drop constraint FK_TSKINS_PRCINS
+alter table JBPM_TASKINSTANCE drop constraint FK_TASKINST_TMINST
+alter table JBPM_TASKINSTANCE drop constraint FK_TASKINST_TOKEN
+alter table JBPM_TASKINSTANCE drop constraint FK_TASKINST_SLINST
+alter table JBPM_TASKINSTANCE drop constraint FK_TASKINST_TASK
+alter table JBPM_TOKEN drop constraint FK_TOKEN_SUBPI
+alter table JBPM_TOKEN drop constraint FK_TOKEN_PROCINST
+alter table JBPM_TOKEN drop constraint FK_TOKEN_NODE
+alter table JBPM_TOKEN drop constraint FK_TOKEN_PARENT
+alter table JBPM_TOKENVARIABLEMAP drop constraint FK_TKVARMAP_TOKEN
+alter table JBPM_TOKENVARIABLEMAP drop constraint FK_TKVARMAP_CTXT
+alter table JBPM_TRANSITION drop constraint FK_TRANSITION_FROM
+alter table JBPM_TRANSITION drop constraint FK_TRANS_PROCDEF
+alter table JBPM_TRANSITION drop constraint FK_TRANSITION_TO
+alter table JBPM_VARIABLEACCESS drop constraint FK_VARACC_PROCST
+alter table JBPM_VARIABLEACCESS drop constraint FK_VARACC_SCRIPT
+alter table JBPM_VARIABLEACCESS drop constraint FK_VARACC_TSKCTRL
+alter table JBPM_VARIABLEINSTANCE drop constraint FK_VARINST_PRCINST
+alter table JBPM_VARIABLEINSTANCE drop constraint FK_VARINST_TKVARMP
+alter table JBPM_VARIABLEINSTANCE drop constraint FK_VARINST_TK
+alter table JBPM_VARIABLEINSTANCE drop constraint FK_BYTEINST_ARRAY
+alter table JBPM_VARIABLEINSTANCE drop constraint FK_VAR_TSKINST
+drop table JBPM_ACTION
+drop table JBPM_BYTEARRAY
+drop table JBPM_BYTEBLOCK
+drop table JBPM_COMMENT
+drop table JBPM_DECISIONCONDITIONS
+drop table JBPM_DELEGATION
+drop table JBPM_EVENT
+drop table JBPM_EXCEPTIONHANDLER
+drop table JBPM_ID_GROUP
+drop table JBPM_ID_MEMBERSHIP
+drop table JBPM_ID_PERMISSIONS
+drop table JBPM_ID_USER
+drop table JBPM_JOB
+drop table JBPM_LOG
+drop table JBPM_MODULEDEFINITION
+drop table JBPM_MODULEINSTANCE
+drop table JBPM_NODE
+drop table JBPM_POOLEDACTOR
+drop table JBPM_PROCESSDEFINITION
+drop table JBPM_PROCESSINSTANCE
+drop table JBPM_RUNTIMEACTION
+drop table JBPM_SWIMLANE
+drop table JBPM_SWIMLANEINSTANCE
+drop table JBPM_TASK
+drop table JBPM_TASKACTORPOOL
+drop table JBPM_TASKCONTROLLER
+drop table JBPM_TASKINSTANCE
+drop table JBPM_TOKEN
+drop table JBPM_TOKENVARIABLEMAP
+drop table JBPM_TRANSITION
+drop table JBPM_VARIABLEACCESS
+drop table JBPM_VARIABLEINSTANCE
create table JBPM_ACTION (ID_ numeric(19,0) identity not null, class char(1) not null, NAME_ varchar(255) null, ISPROPAGATIONALLOWED_ tinyint null, ACTIONEXPRESSION_ varchar(255) null, ISASYNC_ tinyint null, REFERENCEDACTION_ numeric(19,0) null, ACTIONDELEGATION_ numeric(19,0) null, EVENT_ numeric(19,0) null, PROCESSDEFINITION_ numeric(19,0) null, EXPRESSION_ varchar(4000) null, TIMERNAME_ varchar(255) null, DUEDATE_ varchar(255) null, REPEAT_ varchar(255) null, TRANSITIONNAME_ varchar(255) null, TIMERACTION_ numeric(19,0) null, EVENTINDEX_ int null, EXCEPTIONHANDLER_ numeric(19,0) null, EXCEPTIONHANDLERINDEX_ int null, primary key (ID_))
create table JBPM_BYTEARRAY (ID_ numeric(19,0) identity not null, NAME_ varchar(255) null, FILEDEFINITION_ numeric(19,0) null, primary key (ID_))
create table JBPM_BYTEBLOCK (PROCESSFILE_ numeric(19,0) not null, BYTES_ varbinary(1024) null, INDEX_ int not null, primary key (PROCESSFILE_, INDEX_))
17 years, 2 months
JBoss JBPM SVN: r3956 - in jbpm3/branches/jbpm-3.2.5.SP/modules: core/src/main/resources/org/jbpm/context/exe/variableinstance and 12 other directories.
by do-not-reply@jboss.org
Author: thomas.diesler(a)jboss.com
Date: 2009-02-19 14:59:05 -0500 (Thu, 19 Feb 2009)
New Revision: 3956
Removed:
jbpm3/branches/jbpm-3.2.5.SP/modules/core/src/main/resources/hibernate.mapping.sybase.xml
jbpm3/branches/jbpm-3.2.5.SP/modules/core/src/main/resources/org/jbpm/context/exe/variableinstance/HibernateStringInstance.sybase.hbm.xml
Modified:
jbpm3/branches/jbpm-3.2.5.SP/modules/core/src/main/resources/org/jbpm/context/exe/variableinstance/HibernateStringInstance.hbm.xml
jbpm3/branches/jbpm-3.2.5.SP/modules/core/src/main/resources/org/jbpm/context/exe/variableinstance/StringInstance.hbm.xml
jbpm3/branches/jbpm-3.2.5.SP/modules/core/src/main/resources/org/jbpm/context/log/variableinstance/StringUpdateLog.hbm.xml
jbpm3/branches/jbpm-3.2.5.SP/modules/core/src/main/resources/org/jbpm/graph/action/Script.hbm.xml
jbpm3/branches/jbpm-3.2.5.SP/modules/core/src/main/resources/org/jbpm/graph/def/ExceptionHandler.hbm.xml
jbpm3/branches/jbpm-3.2.5.SP/modules/core/src/main/resources/org/jbpm/graph/def/Node.hbm.xml
jbpm3/branches/jbpm-3.2.5.SP/modules/core/src/main/resources/org/jbpm/graph/def/ProcessDefinition.hbm.xml
jbpm3/branches/jbpm-3.2.5.SP/modules/core/src/main/resources/org/jbpm/graph/def/Transition.hbm.xml
jbpm3/branches/jbpm-3.2.5.SP/modules/core/src/main/resources/org/jbpm/graph/exe/Comment.hbm.xml
jbpm3/branches/jbpm-3.2.5.SP/modules/core/src/main/resources/org/jbpm/graph/log/ActionLog.hbm.xml
jbpm3/branches/jbpm-3.2.5.SP/modules/core/src/main/resources/org/jbpm/instantiation/Delegation.hbm.xml
jbpm3/branches/jbpm-3.2.5.SP/modules/core/src/main/resources/org/jbpm/job/Job.hbm.xml
jbpm3/branches/jbpm-3.2.5.SP/modules/core/src/main/resources/org/jbpm/logging/log/MessageLog.hbm.xml
jbpm3/branches/jbpm-3.2.5.SP/modules/core/src/main/resources/org/jbpm/module/def/ModuleDefinition.hbm.xml
jbpm3/branches/jbpm-3.2.5.SP/modules/core/src/main/resources/org/jbpm/taskmgmt/def/Task.hbm.xml
jbpm3/branches/jbpm-3.2.5.SP/modules/core/src/main/resources/org/jbpm/taskmgmt/exe/TaskInstance.hbm.xml
jbpm3/branches/jbpm-3.2.5.SP/modules/db/src/main/compatibility/jbpm-3.2.2/jbpm.jpdl.db2.sql
jbpm3/branches/jbpm-3.2.5.SP/modules/db/src/main/compatibility/jbpm-3.2.2/jbpm.jpdl.derby.sql
jbpm3/branches/jbpm-3.2.5.SP/modules/db/src/main/compatibility/jbpm-3.2.2/jbpm.jpdl.firebird.sql
jbpm3/branches/jbpm-3.2.5.SP/modules/db/src/main/compatibility/jbpm-3.2.2/jbpm.jpdl.hsqldb.sql
jbpm3/branches/jbpm-3.2.5.SP/modules/db/src/main/compatibility/jbpm-3.2.2/jbpm.jpdl.informix.sql
jbpm3/branches/jbpm-3.2.5.SP/modules/db/src/main/compatibility/jbpm-3.2.2/jbpm.jpdl.ingres.sql
jbpm3/branches/jbpm-3.2.5.SP/modules/db/src/main/compatibility/jbpm-3.2.2/jbpm.jpdl.interbase.sql
jbpm3/branches/jbpm-3.2.5.SP/modules/db/src/main/compatibility/jbpm-3.2.2/jbpm.jpdl.mckoi.sql
jbpm3/branches/jbpm-3.2.5.SP/modules/db/src/main/compatibility/jbpm-3.2.2/jbpm.jpdl.mssql.sql
jbpm3/branches/jbpm-3.2.5.SP/modules/db/src/main/compatibility/jbpm-3.2.2/jbpm.jpdl.oracle.sql
jbpm3/branches/jbpm-3.2.5.SP/modules/db/src/main/compatibility/jbpm-3.2.2/jbpm.jpdl.pointbase.sql
jbpm3/branches/jbpm-3.2.5.SP/modules/db/src/main/compatibility/jbpm-3.2.2/jbpm.jpdl.postgresql.sql
jbpm3/branches/jbpm-3.2.5.SP/modules/db/src/main/compatibility/jbpm-3.2.2/jbpm.jpdl.progress.sql
jbpm3/branches/jbpm-3.2.5.SP/modules/db/src/main/compatibility/jbpm-3.2.2/jbpm.jpdl.sapdb.sql
jbpm3/branches/jbpm-3.2.5.SP/modules/db/src/main/compatibility/jbpm-3.2.2/jbpm.jpdl.sybase.sql
Log:
Rollback db schema to jbpm322 plus added parrentlockmode
Deleted: jbpm3/branches/jbpm-3.2.5.SP/modules/core/src/main/resources/hibernate.mapping.sybase.xml
===================================================================
--- jbpm3/branches/jbpm-3.2.5.SP/modules/core/src/main/resources/hibernate.mapping.sybase.xml 2009-02-19 19:31:58 UTC (rev 3955)
+++ jbpm3/branches/jbpm-3.2.5.SP/modules/core/src/main/resources/hibernate.mapping.sybase.xml 2009-02-19 19:59:05 UTC (rev 3956)
@@ -1,142 +0,0 @@
- <!-- ###################### -->
- <!-- # jbpm mapping files # -->
- <!-- ###################### -->
-
- <!-- hql queries -->
- <mapping resource="org/jbpm/db/hibernate.queries.hbm.xml" />
-
- <!-- sybase type mappings -->
- <mapping resource="org/jbpm/db/hibernate.types.sybase.hbm.xml" />
-
- <!-- hql queries used in simulation for querying historical data.
- uncomment if you want to use the GetSimulationInputCommand
- or you want to use the queries directly.
- beware: the queries need the stddev function to be enabled in your dialect.
- for more information, visit:
- http://www.camunda.com/business_process_simulation_news/mysql_and_stddev.... -->
- <!--
- <mapping resource="org/jbpm/sim/bam/hibernate.queries.hbm.xml" />
- -->
-
- <!-- graph.action mapping files -->
- <mapping resource="org/jbpm/graph/action/MailAction.hbm.xml"/>
-
- <!-- graph.def mapping files -->
- <mapping resource="org/jbpm/graph/def/ProcessDefinition.hbm.xml"/>
- <mapping resource="org/jbpm/graph/def/Node.hbm.xml"/>
- <mapping resource="org/jbpm/graph/def/Transition.hbm.xml"/>
- <mapping resource="org/jbpm/graph/def/Event.hbm.xml"/>
- <mapping resource="org/jbpm/graph/def/Action.hbm.xml"/>
- <mapping resource="org/jbpm/graph/def/SuperState.hbm.xml"/>
- <mapping resource="org/jbpm/graph/def/ExceptionHandler.hbm.xml"/>
- <mapping resource="org/jbpm/instantiation/Delegation.hbm.xml"/>
-
- <!-- ########################################### -->
- <!-- # mapping file with external dependencies # -->
- <!-- ########################################### -->
- <!-- the following mapping file has a dependency on 'bsh-{version}.jar'.
- uncomment this if bsh is not in your classpath.
- the script element will not be available in process definition files.
- note: this mapping must appear below org/jbpm/graph/def/Action.hbm.xml -->
- <mapping resource="org/jbpm/graph/action/Script.hbm.xml"/>
-
- <!-- graph.node mapping files -->
- <mapping resource="org/jbpm/graph/node/StartState.hbm.xml"/>
- <mapping resource="org/jbpm/graph/node/EndState.hbm.xml"/>
- <mapping resource="org/jbpm/graph/node/ProcessState.hbm.xml"/>
- <mapping resource="org/jbpm/graph/node/Decision.hbm.xml"/>
- <mapping resource="org/jbpm/graph/node/Fork.hbm.xml"/>
- <mapping resource="org/jbpm/graph/node/Join.hbm.xml"/>
- <mapping resource="org/jbpm/graph/node/MailNode.hbm.xml"/>
- <mapping resource="org/jbpm/graph/node/State.hbm.xml"/>
- <mapping resource="org/jbpm/graph/node/TaskNode.hbm.xml"/>
-
- <!-- context.def mapping files -->
- <mapping resource="org/jbpm/context/def/ContextDefinition.hbm.xml"/>
- <mapping resource="org/jbpm/context/def/VariableAccess.hbm.xml"/>
-
- <!-- bytes mapping files -->
- <mapping resource="org/jbpm/bytes/ByteArray.hbm.xml"/>
-
- <!-- module.def mapping files -->
- <mapping resource="org/jbpm/module/def/ModuleDefinition.hbm.xml"/>
-
- <!-- file.def mapping files -->
- <mapping resource="org/jbpm/file/def/FileDefinition.hbm.xml"/>
-
- <!-- taskmgmt.def mapping files -->
- <mapping resource="org/jbpm/taskmgmt/def/TaskMgmtDefinition.hbm.xml"/>
- <mapping resource="org/jbpm/taskmgmt/def/Swimlane.hbm.xml"/>
- <mapping resource="org/jbpm/taskmgmt/def/Task.hbm.xml"/>
- <mapping resource="org/jbpm/taskmgmt/def/TaskController.hbm.xml"/>
-
- <!-- scheduler.def mapping files -->
- <mapping resource="org/jbpm/scheduler/def/CreateTimerAction.hbm.xml"/>
- <mapping resource="org/jbpm/scheduler/def/CancelTimerAction.hbm.xml"/>
-
- <!-- graph.exe mapping files -->
- <mapping resource="org/jbpm/graph/exe/Comment.hbm.xml"/>
- <mapping resource="org/jbpm/graph/exe/ProcessInstance.hbm.xml"/>
- <mapping resource="org/jbpm/graph/exe/Token.hbm.xml"/>
- <mapping resource="org/jbpm/graph/exe/RuntimeAction.hbm.xml"/>
-
- <!-- module.exe mapping files -->
- <mapping resource="org/jbpm/module/exe/ModuleInstance.hbm.xml"/>
-
- <!-- context.exe mapping files -->
- <mapping resource="org/jbpm/context/exe/ContextInstance.hbm.xml"/>
- <mapping resource="org/jbpm/context/exe/TokenVariableMap.hbm.xml"/>
- <mapping resource="org/jbpm/context/exe/VariableInstance.hbm.xml"/>
- <mapping resource="org/jbpm/context/exe/variableinstance/ByteArrayInstance.hbm.xml"/>
- <mapping resource="org/jbpm/context/exe/variableinstance/DateInstance.hbm.xml"/>
- <mapping resource="org/jbpm/context/exe/variableinstance/DoubleInstance.hbm.xml"/>
- <mapping resource="org/jbpm/context/exe/variableinstance/HibernateLongInstance.hbm.xml"/>
- <mapping resource="org/jbpm/context/exe/variableinstance/HibernateStringInstance.sybase.hbm.xml" />
- <mapping resource="org/jbpm/context/exe/variableinstance/LongInstance.hbm.xml"/>
- <mapping resource="org/jbpm/context/exe/variableinstance/NullInstance.hbm.xml"/>
- <mapping resource="org/jbpm/context/exe/variableinstance/StringInstance.hbm.xml"/>
-
- <!-- job mapping files -->
- <mapping resource="org/jbpm/job/Job.hbm.xml"/>
- <mapping resource="org/jbpm/job/Timer.hbm.xml"/>
- <mapping resource="org/jbpm/job/ExecuteNodeJob.hbm.xml"/>
- <mapping resource="org/jbpm/job/ExecuteActionJob.hbm.xml"/>
- <mapping resource="org/jbpm/job/CleanUpProcessJob.hbm.xml"/>
-
- <!-- taskmgmt.exe mapping files -->
- <mapping resource="org/jbpm/taskmgmt/exe/TaskMgmtInstance.hbm.xml"/>
- <mapping resource="org/jbpm/taskmgmt/exe/TaskInstance.hbm.xml"/>
- <mapping resource="org/jbpm/taskmgmt/exe/PooledActor.hbm.xml"/>
- <mapping resource="org/jbpm/taskmgmt/exe/SwimlaneInstance.hbm.xml"/>
-
- <!-- logging mapping files -->
- <mapping resource="org/jbpm/logging/log/ProcessLog.hbm.xml"/>
- <mapping resource="org/jbpm/logging/log/MessageLog.hbm.xml"/>
- <mapping resource="org/jbpm/logging/log/CompositeLog.hbm.xml"/>
- <mapping resource="org/jbpm/graph/log/ActionLog.hbm.xml"/>
- <mapping resource="org/jbpm/graph/log/NodeLog.hbm.xml"/>
- <mapping resource="org/jbpm/graph/log/ProcessInstanceCreateLog.hbm.xml"/>
- <mapping resource="org/jbpm/graph/log/ProcessInstanceEndLog.hbm.xml"/>
- <mapping resource="org/jbpm/graph/log/ProcessStateLog.hbm.xml"/>
- <mapping resource="org/jbpm/graph/log/SignalLog.hbm.xml"/>
- <mapping resource="org/jbpm/graph/log/TokenCreateLog.hbm.xml"/>
- <mapping resource="org/jbpm/graph/log/TokenEndLog.hbm.xml"/>
- <mapping resource="org/jbpm/graph/log/TransitionLog.hbm.xml"/>
- <mapping resource="org/jbpm/context/log/VariableLog.hbm.xml"/>
- <mapping resource="org/jbpm/context/log/VariableCreateLog.hbm.xml"/>
- <mapping resource="org/jbpm/context/log/VariableDeleteLog.hbm.xml"/>
- <mapping resource="org/jbpm/context/log/VariableUpdateLog.hbm.xml"/>
- <mapping resource="org/jbpm/context/log/variableinstance/ByteArrayUpdateLog.hbm.xml"/>
- <mapping resource="org/jbpm/context/log/variableinstance/DateUpdateLog.hbm.xml"/>
- <mapping resource="org/jbpm/context/log/variableinstance/DoubleUpdateLog.hbm.xml"/>
- <mapping resource="org/jbpm/context/log/variableinstance/HibernateLongUpdateLog.hbm.xml"/>
- <mapping resource="org/jbpm/context/log/variableinstance/HibernateStringUpdateLog.hbm.xml"/>
- <mapping resource="org/jbpm/context/log/variableinstance/LongUpdateLog.hbm.xml"/>
- <mapping resource="org/jbpm/context/log/variableinstance/StringUpdateLog.hbm.xml"/>
- <mapping resource="org/jbpm/taskmgmt/log/TaskLog.hbm.xml"/>
- <mapping resource="org/jbpm/taskmgmt/log/TaskCreateLog.hbm.xml"/>
- <mapping resource="org/jbpm/taskmgmt/log/TaskAssignLog.hbm.xml"/>
- <mapping resource="org/jbpm/taskmgmt/log/TaskEndLog.hbm.xml"/>
- <mapping resource="org/jbpm/taskmgmt/log/SwimlaneLog.hbm.xml"/>
- <mapping resource="org/jbpm/taskmgmt/log/SwimlaneCreateLog.hbm.xml"/>
- <mapping resource="org/jbpm/taskmgmt/log/SwimlaneAssignLog.hbm.xml"/>
Modified: jbpm3/branches/jbpm-3.2.5.SP/modules/core/src/main/resources/org/jbpm/context/exe/variableinstance/HibernateStringInstance.hbm.xml
===================================================================
--- jbpm3/branches/jbpm-3.2.5.SP/modules/core/src/main/resources/org/jbpm/context/exe/variableinstance/HibernateStringInstance.hbm.xml 2009-02-19 19:31:58 UTC (rev 3955)
+++ jbpm3/branches/jbpm-3.2.5.SP/modules/core/src/main/resources/org/jbpm/context/exe/variableinstance/HibernateStringInstance.hbm.xml 2009-02-19 19:59:05 UTC (rev 3956)
@@ -8,7 +8,7 @@
<subclass name="org.jbpm.context.exe.variableinstance.HibernateStringInstance"
extends="org.jbpm.context.exe.VariableInstance"
discriminator-value="I">
- <any name="value" id-type="text" cascade="save-update">
+ <any name="value" id-type="string" cascade="save-update">
<column name="STRINGIDCLASS_" />
<column name="STRINGVALUE_" length="4000"/>
</any>
Deleted: jbpm3/branches/jbpm-3.2.5.SP/modules/core/src/main/resources/org/jbpm/context/exe/variableinstance/HibernateStringInstance.sybase.hbm.xml
===================================================================
--- jbpm3/branches/jbpm-3.2.5.SP/modules/core/src/main/resources/org/jbpm/context/exe/variableinstance/HibernateStringInstance.sybase.hbm.xml 2009-02-19 19:31:58 UTC (rev 3955)
+++ jbpm3/branches/jbpm-3.2.5.SP/modules/core/src/main/resources/org/jbpm/context/exe/variableinstance/HibernateStringInstance.sybase.hbm.xml 2009-02-19 19:59:05 UTC (rev 3956)
@@ -1,17 +0,0 @@
-<?xml version="1.0"?>
-
-<!DOCTYPE hibernate-mapping PUBLIC
- "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
- "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
-
-<hibernate-mapping auto-import="false" default-access="field">
- <subclass name="org.jbpm.context.exe.variableinstance.HibernateStringInstance"
- extends="org.jbpm.context.exe.VariableInstance"
- discriminator-value="I">
- <!-- id-type seems to be unaware of type definitions -->
- <any name="value" id-type="org.jbpm.db.hibernate.TextType" cascade="save-update">
- <column name="STRINGIDCLASS_" />
- <column name="STRINGVALUE_" length="4000"/>
- </any>
- </subclass>
-</hibernate-mapping>
Modified: jbpm3/branches/jbpm-3.2.5.SP/modules/core/src/main/resources/org/jbpm/context/exe/variableinstance/StringInstance.hbm.xml
===================================================================
--- jbpm3/branches/jbpm-3.2.5.SP/modules/core/src/main/resources/org/jbpm/context/exe/variableinstance/StringInstance.hbm.xml 2009-02-19 19:31:58 UTC (rev 3955)
+++ jbpm3/branches/jbpm-3.2.5.SP/modules/core/src/main/resources/org/jbpm/context/exe/variableinstance/StringInstance.hbm.xml 2009-02-19 19:59:05 UTC (rev 3956)
@@ -8,6 +8,6 @@
<subclass name="org.jbpm.context.exe.variableinstance.StringInstance"
extends="org.jbpm.context.exe.VariableInstance"
discriminator-value="S">
- <property name="value" column="STRINGVALUE_" type="text" length="4000"/>
+ <property name="value" column="STRINGVALUE_" length="4000"/>
</subclass>
</hibernate-mapping>
Modified: jbpm3/branches/jbpm-3.2.5.SP/modules/core/src/main/resources/org/jbpm/context/log/variableinstance/StringUpdateLog.hbm.xml
===================================================================
--- jbpm3/branches/jbpm-3.2.5.SP/modules/core/src/main/resources/org/jbpm/context/log/variableinstance/StringUpdateLog.hbm.xml 2009-02-19 19:31:58 UTC (rev 3955)
+++ jbpm3/branches/jbpm-3.2.5.SP/modules/core/src/main/resources/org/jbpm/context/log/variableinstance/StringUpdateLog.hbm.xml 2009-02-19 19:59:05 UTC (rev 3956)
@@ -9,8 +9,8 @@
<subclass name="org.jbpm.context.log.variableinstance.StringUpdateLog"
extends="org.jbpm.context.log.VariableUpdateLog"
discriminator-value="U">
- <property name="oldValue" column="OLDSTRINGVALUE_" type="text" length="4000"/>
- <property name="newValue" column="NEWSTRINGVALUE_" type="text" length="4000"/>
+ <property name="oldValue" column="OLDSTRINGVALUE_" length="4000"/>
+ <property name="newValue" column="NEWSTRINGVALUE_" length="4000"/>
</subclass>
</hibernate-mapping>
Modified: jbpm3/branches/jbpm-3.2.5.SP/modules/core/src/main/resources/org/jbpm/graph/action/Script.hbm.xml
===================================================================
--- jbpm3/branches/jbpm-3.2.5.SP/modules/core/src/main/resources/org/jbpm/graph/action/Script.hbm.xml 2009-02-19 19:31:58 UTC (rev 3955)
+++ jbpm3/branches/jbpm-3.2.5.SP/modules/core/src/main/resources/org/jbpm/graph/action/Script.hbm.xml 2009-02-19 19:59:05 UTC (rev 3956)
@@ -7,7 +7,7 @@
<subclass name="org.jbpm.graph.action.Script"
discriminator-value="S"
extends="org.jbpm.graph.def.Action">
- <property name="expression" column="EXPRESSION_" type="text" length="4000" />
+ <property name="expression" column="EXPRESSION_" length="4000" />
<set name="variableAccesses" cascade="all">
<key column="SCRIPT_" foreign-key="FK_VARACC_SCRIPT"/>
<one-to-many class="org.jbpm.context.def.VariableAccess" />
Modified: jbpm3/branches/jbpm-3.2.5.SP/modules/core/src/main/resources/org/jbpm/graph/def/ExceptionHandler.hbm.xml
===================================================================
--- jbpm3/branches/jbpm-3.2.5.SP/modules/core/src/main/resources/org/jbpm/graph/def/ExceptionHandler.hbm.xml 2009-02-19 19:31:58 UTC (rev 3955)
+++ jbpm3/branches/jbpm-3.2.5.SP/modules/core/src/main/resources/org/jbpm/graph/def/ExceptionHandler.hbm.xml 2009-02-19 19:59:05 UTC (rev 3956)
@@ -9,7 +9,7 @@
<id name="id" column="ID_"><generator class="native" /></id>
<property name="exceptionClassName" column="EXCEPTIONCLASSNAME_"
- type="text" length="4000" />
+ length="4000" />
<any name="graphElement" id-type="long" meta-type="char">
<meta-value value="A" class="org.jbpm.taskmgmt.def.Task"/>
Modified: jbpm3/branches/jbpm-3.2.5.SP/modules/core/src/main/resources/org/jbpm/graph/def/Node.hbm.xml
===================================================================
--- jbpm3/branches/jbpm-3.2.5.SP/modules/core/src/main/resources/org/jbpm/graph/def/Node.hbm.xml 2009-02-19 19:31:58 UTC (rev 3955)
+++ jbpm3/branches/jbpm-3.2.5.SP/modules/core/src/main/resources/org/jbpm/graph/def/Node.hbm.xml 2009-02-19 19:59:05 UTC (rev 3956)
@@ -25,7 +25,7 @@
<!-- GRAPHELEMENT -->
<property name="name" column="NAME_"/>
- <property name="description" column="DESCRIPTION_" type="text" length="4000"/>
+ <property name="description" column="DESCRIPTION_" length="4000"/>
<many-to-one name="processDefinition"
column="PROCESSDEFINITION_"
foreign-key="FK_NODE_PROCDEF"
Modified: jbpm3/branches/jbpm-3.2.5.SP/modules/core/src/main/resources/org/jbpm/graph/def/ProcessDefinition.hbm.xml
===================================================================
--- jbpm3/branches/jbpm-3.2.5.SP/modules/core/src/main/resources/org/jbpm/graph/def/ProcessDefinition.hbm.xml 2009-02-19 19:31:58 UTC (rev 3955)
+++ jbpm3/branches/jbpm-3.2.5.SP/modules/core/src/main/resources/org/jbpm/graph/def/ProcessDefinition.hbm.xml 2009-02-19 19:59:05 UTC (rev 3956)
@@ -13,7 +13,7 @@
<!-- GRAPHELEMENT -->
<!-- base class fields are mapped here -->
<property name="name" column="NAME_" />
- <property name="description" column="DESCRIPTION_" type="text" length="4000"/>
+ <property name="description" column="DESCRIPTION_" length="4000"/>
<map name="events" cascade="all">
<key column="PROCESSDEFINITION_" foreign-key="FK_EVENT_PROCDEF" />
<index column="EVENTTYPE_" type="string"/>
Modified: jbpm3/branches/jbpm-3.2.5.SP/modules/core/src/main/resources/org/jbpm/graph/def/Transition.hbm.xml
===================================================================
--- jbpm3/branches/jbpm-3.2.5.SP/modules/core/src/main/resources/org/jbpm/graph/def/Transition.hbm.xml 2009-02-19 19:31:58 UTC (rev 3955)
+++ jbpm3/branches/jbpm-3.2.5.SP/modules/core/src/main/resources/org/jbpm/graph/def/Transition.hbm.xml 2009-02-19 19:59:05 UTC (rev 3956)
@@ -10,7 +10,7 @@
<!-- GRAPHELEMENT -->
<property name="name" column="NAME_"/>
- <property name="description" column="DESCRIPTION_" type="text" length="4000"/>
+ <property name="description" column="DESCRIPTION_" length="4000"/>
<many-to-one name="processDefinition"
column="PROCESSDEFINITION_"
foreign-key="FK_TRANS_PROCDEF"
Modified: jbpm3/branches/jbpm-3.2.5.SP/modules/core/src/main/resources/org/jbpm/graph/exe/Comment.hbm.xml
===================================================================
--- jbpm3/branches/jbpm-3.2.5.SP/modules/core/src/main/resources/org/jbpm/graph/exe/Comment.hbm.xml 2009-02-19 19:31:58 UTC (rev 3955)
+++ jbpm3/branches/jbpm-3.2.5.SP/modules/core/src/main/resources/org/jbpm/graph/exe/Comment.hbm.xml 2009-02-19 19:59:05 UTC (rev 3956)
@@ -11,7 +11,7 @@
<property name="actorId" column="ACTORID_"/>
<property name="time" column="TIME_"/>
- <property name="message" column="MESSAGE_" type="text" length="4000"/>
+ <property name="message" column="MESSAGE_" length="4000"/>
<many-to-one name="token"
column="TOKEN_"
foreign-key="FK_COMMENT_TOKEN"
Modified: jbpm3/branches/jbpm-3.2.5.SP/modules/core/src/main/resources/org/jbpm/graph/log/ActionLog.hbm.xml
===================================================================
--- jbpm3/branches/jbpm-3.2.5.SP/modules/core/src/main/resources/org/jbpm/graph/log/ActionLog.hbm.xml 2009-02-19 19:31:58 UTC (rev 3955)
+++ jbpm3/branches/jbpm-3.2.5.SP/modules/core/src/main/resources/org/jbpm/graph/log/ActionLog.hbm.xml 2009-02-19 19:59:05 UTC (rev 3956)
@@ -10,7 +10,7 @@
extends="org.jbpm.logging.log.CompositeLog"
discriminator-value="A">
- <property name="exception" column="EXCEPTION_" type="text" length="4000"/>
+ <property name="exception" column="EXCEPTION_" length="4000"/>
<many-to-one name="action"
column="ACTION_"
class="org.jbpm.graph.def.Action"
Modified: jbpm3/branches/jbpm-3.2.5.SP/modules/core/src/main/resources/org/jbpm/instantiation/Delegation.hbm.xml
===================================================================
--- jbpm3/branches/jbpm-3.2.5.SP/modules/core/src/main/resources/org/jbpm/instantiation/Delegation.hbm.xml 2009-02-19 19:31:58 UTC (rev 3955)
+++ jbpm3/branches/jbpm-3.2.5.SP/modules/core/src/main/resources/org/jbpm/instantiation/Delegation.hbm.xml 2009-02-19 19:59:05 UTC (rev 3956)
@@ -8,8 +8,8 @@
table="JBPM_DELEGATION">
<id name="id" column="ID_"><generator class="native" /></id>
- <property name="className" column="CLASSNAME_" type="text" length="4000" />
- <property name="configuration" column="CONFIGURATION_" type="text" length="4000" />
+ <property name="className" column="CLASSNAME_" length="4000" />
+ <property name="configuration" column="CONFIGURATION_" length="4000" />
<property name="configType" column="CONFIGTYPE_"/>
<many-to-one name="processDefinition"
Modified: jbpm3/branches/jbpm-3.2.5.SP/modules/core/src/main/resources/org/jbpm/job/Job.hbm.xml
===================================================================
--- jbpm3/branches/jbpm-3.2.5.SP/modules/core/src/main/resources/org/jbpm/job/Job.hbm.xml 2009-02-19 19:31:58 UTC (rev 3955)
+++ jbpm3/branches/jbpm-3.2.5.SP/modules/core/src/main/resources/org/jbpm/job/Job.hbm.xml 2009-02-19 19:59:05 UTC (rev 3956)
@@ -35,7 +35,7 @@
<property name="isExclusive" column="ISEXCLUSIVE_" />
<property name="lockOwner" column="LOCKOWNER_" />
<property name="lockTime" column="LOCKTIME_" />
- <property name="exception" column="EXCEPTION_" type="text" length="4000"/>
+ <property name="exception" column="EXCEPTION_" length="4000"/>
<property name="retries" column="RETRIES_" />
</class>
Modified: jbpm3/branches/jbpm-3.2.5.SP/modules/core/src/main/resources/org/jbpm/logging/log/MessageLog.hbm.xml
===================================================================
--- jbpm3/branches/jbpm-3.2.5.SP/modules/core/src/main/resources/org/jbpm/logging/log/MessageLog.hbm.xml 2009-02-19 19:31:58 UTC (rev 3955)
+++ jbpm3/branches/jbpm-3.2.5.SP/modules/core/src/main/resources/org/jbpm/logging/log/MessageLog.hbm.xml 2009-02-19 19:59:05 UTC (rev 3956)
@@ -9,7 +9,7 @@
<subclass name="org.jbpm.logging.log.MessageLog"
extends="org.jbpm.logging.log.ProcessLog"
discriminator-value="M">
- <property name="message" column="MESSAGE_" type="text" length="4000"/>
+ <property name="message" column="MESSAGE_" length="4000"/>
</subclass>
</hibernate-mapping>
Modified: jbpm3/branches/jbpm-3.2.5.SP/modules/core/src/main/resources/org/jbpm/module/def/ModuleDefinition.hbm.xml
===================================================================
--- jbpm3/branches/jbpm-3.2.5.SP/modules/core/src/main/resources/org/jbpm/module/def/ModuleDefinition.hbm.xml 2009-02-19 19:31:58 UTC (rev 3955)
+++ jbpm3/branches/jbpm-3.2.5.SP/modules/core/src/main/resources/org/jbpm/module/def/ModuleDefinition.hbm.xml 2009-02-19 19:59:05 UTC (rev 3956)
@@ -21,7 +21,7 @@
<!-- : -->
<!-- : -->
- <property name="name" column="NAME_" type="text" length="4000"/>
+ <property name="name" column="NAME_" length="4000"/>
<many-to-one name="processDefinition"
column="PROCESSDEFINITION_"
foreign-key="FK_MODDEF_PROCDEF"
Modified: jbpm3/branches/jbpm-3.2.5.SP/modules/core/src/main/resources/org/jbpm/taskmgmt/def/Task.hbm.xml
===================================================================
--- jbpm3/branches/jbpm-3.2.5.SP/modules/core/src/main/resources/org/jbpm/taskmgmt/def/Task.hbm.xml 2009-02-19 19:31:58 UTC (rev 3955)
+++ jbpm3/branches/jbpm-3.2.5.SP/modules/core/src/main/resources/org/jbpm/taskmgmt/def/Task.hbm.xml 2009-02-19 19:59:05 UTC (rev 3956)
@@ -12,7 +12,8 @@
<!-- GRAPHELEMENT -->
<property name="name" column="NAME_" />
- <property name="description" column="DESCRIPTION_" type="text" length="4000"/>
+ <property name="description" column="DESCRIPTION_" length="4000"/>
+
<many-to-one name="processDefinition"
column="PROCESSDEFINITION_"
foreign-key="FK_TASK_PROCDEF"
Modified: jbpm3/branches/jbpm-3.2.5.SP/modules/core/src/main/resources/org/jbpm/taskmgmt/exe/TaskInstance.hbm.xml
===================================================================
--- jbpm3/branches/jbpm-3.2.5.SP/modules/core/src/main/resources/org/jbpm/taskmgmt/exe/TaskInstance.hbm.xml 2009-02-19 19:31:58 UTC (rev 3955)
+++ jbpm3/branches/jbpm-3.2.5.SP/modules/core/src/main/resources/org/jbpm/taskmgmt/exe/TaskInstance.hbm.xml 2009-02-19 19:59:05 UTC (rev 3956)
@@ -14,7 +14,7 @@
<version name="version" column="VERSION_" />
<property name="name" column="NAME_" />
- <property name="description" column="DESCRIPTION_" type="text" length="4000"/>
+ <property name="description" column="DESCRIPTION_" length="4000"/>
<property name="actorId" column="ACTORID_" index="IDX_TASK_ACTORID"/>
<property name="create" column="CREATE_" />
<property name="start" column="START_" />
Modified: jbpm3/branches/jbpm-3.2.5.SP/modules/db/src/main/compatibility/jbpm-3.2.2/jbpm.jpdl.db2.sql
===================================================================
--- jbpm3/branches/jbpm-3.2.5.SP/modules/db/src/main/compatibility/jbpm-3.2.2/jbpm.jpdl.db2.sql 2009-02-19 19:31:58 UTC (rev 3955)
+++ jbpm3/branches/jbpm-3.2.5.SP/modules/db/src/main/compatibility/jbpm-3.2.2/jbpm.jpdl.db2.sql 2009-02-19 19:59:05 UTC (rev 3956)
@@ -1,35 +1,3 @@
-drop table JBPM_ACTION
-drop table JBPM_BYTEARRAY
-drop table JBPM_BYTEBLOCK
-drop table JBPM_COMMENT
-drop table JBPM_DECISIONCONDITIONS
-drop table JBPM_DELEGATION
-drop table JBPM_EVENT
-drop table JBPM_EXCEPTIONHANDLER
-drop table JBPM_ID_GROUP
-drop table JBPM_ID_MEMBERSHIP
-drop table JBPM_ID_PERMISSIONS
-drop table JBPM_ID_USER
-drop table JBPM_JOB
-drop table JBPM_LOG
-drop table JBPM_MODULEDEFINITION
-drop table JBPM_MODULEINSTANCE
-drop table JBPM_NODE
-drop table JBPM_POOLEDACTOR
-drop table JBPM_PROCESSDEFINITION
-drop table JBPM_PROCESSINSTANCE
-drop table JBPM_RUNTIMEACTION
-drop table JBPM_SWIMLANE
-drop table JBPM_SWIMLANEINSTANCE
-drop table JBPM_TASK
-drop table JBPM_TASKACTORPOOL
-drop table JBPM_TASKCONTROLLER
-drop table JBPM_TASKINSTANCE
-drop table JBPM_TOKEN
-drop table JBPM_TOKENVARIABLEMAP
-drop table JBPM_TRANSITION
-drop table JBPM_VARIABLEACCESS
-drop table JBPM_VARIABLEINSTANCE
create table JBPM_ACTION (ID_ bigint generated by default as identity, class char(1) not null, NAME_ varchar(255), ISPROPAGATIONALLOWED_ smallint, ACTIONEXPRESSION_ varchar(255), ISASYNC_ smallint, REFERENCEDACTION_ bigint, ACTIONDELEGATION_ bigint, EVENT_ bigint, PROCESSDEFINITION_ bigint, EXPRESSION_ varchar(4000), TIMERNAME_ varchar(255), DUEDATE_ varchar(255), REPEAT_ varchar(255), TRANSITIONNAME_ varchar(255), TIMERACTION_ bigint, EVENTINDEX_ integer, EXCEPTIONHANDLER_ bigint, EXCEPTIONHANDLERINDEX_ integer, primary key (ID_))
create table JBPM_BYTEARRAY (ID_ bigint generated by default as identity, NAME_ varchar(255), FILEDEFINITION_ bigint, primary key (ID_))
create table JBPM_BYTEBLOCK (PROCESSFILE_ bigint not null, BYTES_ varchar(1024) for bit data, INDEX_ integer not null, primary key (PROCESSFILE_, INDEX_))
Modified: jbpm3/branches/jbpm-3.2.5.SP/modules/db/src/main/compatibility/jbpm-3.2.2/jbpm.jpdl.derby.sql
===================================================================
--- jbpm3/branches/jbpm-3.2.5.SP/modules/db/src/main/compatibility/jbpm-3.2.2/jbpm.jpdl.derby.sql 2009-02-19 19:31:58 UTC (rev 3955)
+++ jbpm3/branches/jbpm-3.2.5.SP/modules/db/src/main/compatibility/jbpm-3.2.2/jbpm.jpdl.derby.sql 2009-02-19 19:59:05 UTC (rev 3956)
@@ -1,126 +1,3 @@
-alter table JBPM_ACTION drop constraint FK_ACTION_REFACT
-alter table JBPM_ACTION drop constraint FK_CRTETIMERACT_TA
-alter table JBPM_ACTION drop constraint FK_ACTION_PROCDEF
-alter table JBPM_ACTION drop constraint FK_ACTION_EVENT
-alter table JBPM_ACTION drop constraint FK_ACTION_ACTNDEL
-alter table JBPM_ACTION drop constraint FK_ACTION_EXPTHDL
-alter table JBPM_BYTEARRAY drop constraint FK_BYTEARR_FILDEF
-alter table JBPM_BYTEBLOCK drop constraint FK_BYTEBLOCK_FILE
-alter table JBPM_COMMENT drop constraint FK_COMMENT_TOKEN
-alter table JBPM_COMMENT drop constraint FK_COMMENT_TSK
-alter table JBPM_DECISIONCONDITIONS drop constraint FK_DECCOND_DEC
-alter table JBPM_DELEGATION drop constraint FK_DELEGATION_PRCD
-alter table JBPM_EVENT drop constraint FK_EVENT_PROCDEF
-alter table JBPM_EVENT drop constraint FK_EVENT_TRANS
-alter table JBPM_EVENT drop constraint FK_EVENT_NODE
-alter table JBPM_EVENT drop constraint FK_EVENT_TASK
-alter table JBPM_ID_GROUP drop constraint FK_ID_GRP_PARENT
-alter table JBPM_ID_MEMBERSHIP drop constraint FK_ID_MEMSHIP_GRP
-alter table JBPM_ID_MEMBERSHIP drop constraint FK_ID_MEMSHIP_USR
-alter table JBPM_JOB drop constraint FK_JOB_PRINST
-alter table JBPM_JOB drop constraint FK_JOB_ACTION
-alter table JBPM_JOB drop constraint FK_JOB_TOKEN
-alter table JBPM_JOB drop constraint FK_JOB_NODE
-alter table JBPM_JOB drop constraint FK_JOB_TSKINST
-alter table JBPM_LOG drop constraint FK_LOG_SOURCENODE
-alter table JBPM_LOG drop constraint FK_LOG_DESTNODE
-alter table JBPM_LOG drop constraint FK_LOG_TOKEN
-alter table JBPM_LOG drop constraint FK_LOG_TRANSITION
-alter table JBPM_LOG drop constraint FK_LOG_TASKINST
-alter table JBPM_LOG drop constraint FK_LOG_CHILDTOKEN
-alter table JBPM_LOG drop constraint FK_LOG_OLDBYTES
-alter table JBPM_LOG drop constraint FK_LOG_SWIMINST
-alter table JBPM_LOG drop constraint FK_LOG_NEWBYTES
-alter table JBPM_LOG drop constraint FK_LOG_ACTION
-alter table JBPM_LOG drop constraint FK_LOG_VARINST
-alter table JBPM_LOG drop constraint FK_LOG_NODE
-alter table JBPM_LOG drop constraint FK_LOG_PARENT
-alter table JBPM_MODULEDEFINITION drop constraint FK_MODDEF_PROCDEF
-alter table JBPM_MODULEDEFINITION drop constraint FK_TSKDEF_START
-alter table JBPM_MODULEINSTANCE drop constraint FK_MODINST_PRCINST
-alter table JBPM_MODULEINSTANCE drop constraint FK_TASKMGTINST_TMD
-alter table JBPM_NODE drop constraint FK_DECISION_DELEG
-alter table JBPM_NODE drop constraint FK_NODE_PROCDEF
-alter table JBPM_NODE drop constraint FK_NODE_ACTION
-alter table JBPM_NODE drop constraint FK_PROCST_SBPRCDEF
-alter table JBPM_NODE drop constraint FK_NODE_SCRIPT
-alter table JBPM_NODE drop constraint FK_NODE_SUPERSTATE
-alter table JBPM_POOLEDACTOR drop constraint FK_POOLEDACTOR_SLI
-alter table JBPM_PROCESSDEFINITION drop constraint FK_PROCDEF_STRTSTA
-alter table JBPM_PROCESSINSTANCE drop constraint FK_PROCIN_PROCDEF
-alter table JBPM_PROCESSINSTANCE drop constraint FK_PROCIN_ROOTTKN
-alter table JBPM_PROCESSINSTANCE drop constraint FK_PROCIN_SPROCTKN
-alter table JBPM_RUNTIMEACTION drop constraint FK_RTACTN_PROCINST
-alter table JBPM_RUNTIMEACTION drop constraint FK_RTACTN_ACTION
-alter table JBPM_SWIMLANE drop constraint FK_SWL_ASSDEL
-alter table JBPM_SWIMLANE drop constraint FK_SWL_TSKMGMTDEF
-alter table JBPM_SWIMLANEINSTANCE drop constraint FK_SWIMLANEINST_TM
-alter table JBPM_SWIMLANEINSTANCE drop constraint FK_SWIMLANEINST_SL
-alter table JBPM_TASK drop constraint FK_TASK_STARTST
-alter table JBPM_TASK drop constraint FK_TASK_PROCDEF
-alter table JBPM_TASK drop constraint FK_TASK_ASSDEL
-alter table JBPM_TASK drop constraint FK_TASK_SWIMLANE
-alter table JBPM_TASK drop constraint FK_TASK_TASKNODE
-alter table JBPM_TASK drop constraint FK_TASK_TASKMGTDEF
-alter table JBPM_TASK drop constraint FK_TSK_TSKCTRL
-alter table JBPM_TASKACTORPOOL drop constraint FK_TASKACTPL_TSKI
-alter table JBPM_TASKACTORPOOL drop constraint FK_TSKACTPOL_PLACT
-alter table JBPM_TASKCONTROLLER drop constraint FK_TSKCTRL_DELEG
-alter table JBPM_TASKINSTANCE drop constraint FK_TSKINS_PRCINS
-alter table JBPM_TASKINSTANCE drop constraint FK_TASKINST_TMINST
-alter table JBPM_TASKINSTANCE drop constraint FK_TASKINST_TOKEN
-alter table JBPM_TASKINSTANCE drop constraint FK_TASKINST_SLINST
-alter table JBPM_TASKINSTANCE drop constraint FK_TASKINST_TASK
-alter table JBPM_TOKEN drop constraint FK_TOKEN_SUBPI
-alter table JBPM_TOKEN drop constraint FK_TOKEN_PROCINST
-alter table JBPM_TOKEN drop constraint FK_TOKEN_NODE
-alter table JBPM_TOKEN drop constraint FK_TOKEN_PARENT
-alter table JBPM_TOKENVARIABLEMAP drop constraint FK_TKVARMAP_TOKEN
-alter table JBPM_TOKENVARIABLEMAP drop constraint FK_TKVARMAP_CTXT
-alter table JBPM_TRANSITION drop constraint FK_TRANSITION_FROM
-alter table JBPM_TRANSITION drop constraint FK_TRANS_PROCDEF
-alter table JBPM_TRANSITION drop constraint FK_TRANSITION_TO
-alter table JBPM_VARIABLEACCESS drop constraint FK_VARACC_PROCST
-alter table JBPM_VARIABLEACCESS drop constraint FK_VARACC_SCRIPT
-alter table JBPM_VARIABLEACCESS drop constraint FK_VARACC_TSKCTRL
-alter table JBPM_VARIABLEINSTANCE drop constraint FK_VARINST_PRCINST
-alter table JBPM_VARIABLEINSTANCE drop constraint FK_VARINST_TKVARMP
-alter table JBPM_VARIABLEINSTANCE drop constraint FK_VARINST_TK
-alter table JBPM_VARIABLEINSTANCE drop constraint FK_BYTEINST_ARRAY
-alter table JBPM_VARIABLEINSTANCE drop constraint FK_VAR_TSKINST
-drop table JBPM_ACTION
-drop table JBPM_BYTEARRAY
-drop table JBPM_BYTEBLOCK
-drop table JBPM_COMMENT
-drop table JBPM_DECISIONCONDITIONS
-drop table JBPM_DELEGATION
-drop table JBPM_EVENT
-drop table JBPM_EXCEPTIONHANDLER
-drop table JBPM_ID_GROUP
-drop table JBPM_ID_MEMBERSHIP
-drop table JBPM_ID_PERMISSIONS
-drop table JBPM_ID_USER
-drop table JBPM_JOB
-drop table JBPM_LOG
-drop table JBPM_MODULEDEFINITION
-drop table JBPM_MODULEINSTANCE
-drop table JBPM_NODE
-drop table JBPM_POOLEDACTOR
-drop table JBPM_PROCESSDEFINITION
-drop table JBPM_PROCESSINSTANCE
-drop table JBPM_RUNTIMEACTION
-drop table JBPM_SWIMLANE
-drop table JBPM_SWIMLANEINSTANCE
-drop table JBPM_TASK
-drop table JBPM_TASKACTORPOOL
-drop table JBPM_TASKCONTROLLER
-drop table JBPM_TASKINSTANCE
-drop table JBPM_TOKEN
-drop table JBPM_TOKENVARIABLEMAP
-drop table JBPM_TRANSITION
-drop table JBPM_VARIABLEACCESS
-drop table JBPM_VARIABLEINSTANCE
-drop table hibernate_unique_key
create table JBPM_ACTION (ID_ bigint not null, class char(1) not null, NAME_ varchar(255), ISPROPAGATIONALLOWED_ smallint, ACTIONEXPRESSION_ varchar(255), ISASYNC_ smallint, REFERENCEDACTION_ bigint, ACTIONDELEGATION_ bigint, EVENT_ bigint, PROCESSDEFINITION_ bigint, EXPRESSION_ varchar(4000), TIMERNAME_ varchar(255), DUEDATE_ varchar(255), REPEAT_ varchar(255), TRANSITIONNAME_ varchar(255), TIMERACTION_ bigint, EVENTINDEX_ integer, EXCEPTIONHANDLER_ bigint, EXCEPTIONHANDLERINDEX_ integer, primary key (ID_))
create table JBPM_BYTEARRAY (ID_ bigint not null, NAME_ varchar(255), FILEDEFINITION_ bigint, primary key (ID_))
create table JBPM_BYTEBLOCK (PROCESSFILE_ bigint not null, BYTES_ varchar(1024) for bit data, INDEX_ integer not null, primary key (PROCESSFILE_, INDEX_))
Modified: jbpm3/branches/jbpm-3.2.5.SP/modules/db/src/main/compatibility/jbpm-3.2.2/jbpm.jpdl.firebird.sql
===================================================================
--- jbpm3/branches/jbpm-3.2.5.SP/modules/db/src/main/compatibility/jbpm-3.2.2/jbpm.jpdl.firebird.sql 2009-02-19 19:31:58 UTC (rev 3955)
+++ jbpm3/branches/jbpm-3.2.5.SP/modules/db/src/main/compatibility/jbpm-3.2.2/jbpm.jpdl.firebird.sql 2009-02-19 19:59:05 UTC (rev 3956)
@@ -1,126 +1,3 @@
-alter table JBPM_ACTION drop constraint FK_ACTION_REFACT
-alter table JBPM_ACTION drop constraint FK_CRTETIMERACT_TA
-alter table JBPM_ACTION drop constraint FK_ACTION_PROCDEF
-alter table JBPM_ACTION drop constraint FK_ACTION_EVENT
-alter table JBPM_ACTION drop constraint FK_ACTION_ACTNDEL
-alter table JBPM_ACTION drop constraint FK_ACTION_EXPTHDL
-alter table JBPM_BYTEARRAY drop constraint FK_BYTEARR_FILDEF
-alter table JBPM_BYTEBLOCK drop constraint FK_BYTEBLOCK_FILE
-alter table JBPM_COMMENT drop constraint FK_COMMENT_TOKEN
-alter table JBPM_COMMENT drop constraint FK_COMMENT_TSK
-alter table JBPM_DECISIONCONDITIONS drop constraint FK_DECCOND_DEC
-alter table JBPM_DELEGATION drop constraint FK_DELEGATION_PRCD
-alter table JBPM_EVENT drop constraint FK_EVENT_PROCDEF
-alter table JBPM_EVENT drop constraint FK_EVENT_TRANS
-alter table JBPM_EVENT drop constraint FK_EVENT_NODE
-alter table JBPM_EVENT drop constraint FK_EVENT_TASK
-alter table JBPM_ID_GROUP drop constraint FK_ID_GRP_PARENT
-alter table JBPM_ID_MEMBERSHIP drop constraint FK_ID_MEMSHIP_GRP
-alter table JBPM_ID_MEMBERSHIP drop constraint FK_ID_MEMSHIP_USR
-alter table JBPM_JOB drop constraint FK_JOB_PRINST
-alter table JBPM_JOB drop constraint FK_JOB_ACTION
-alter table JBPM_JOB drop constraint FK_JOB_TOKEN
-alter table JBPM_JOB drop constraint FK_JOB_NODE
-alter table JBPM_JOB drop constraint FK_JOB_TSKINST
-alter table JBPM_LOG drop constraint FK_LOG_SOURCENODE
-alter table JBPM_LOG drop constraint FK_LOG_DESTNODE
-alter table JBPM_LOG drop constraint FK_LOG_TOKEN
-alter table JBPM_LOG drop constraint FK_LOG_TRANSITION
-alter table JBPM_LOG drop constraint FK_LOG_TASKINST
-alter table JBPM_LOG drop constraint FK_LOG_CHILDTOKEN
-alter table JBPM_LOG drop constraint FK_LOG_OLDBYTES
-alter table JBPM_LOG drop constraint FK_LOG_SWIMINST
-alter table JBPM_LOG drop constraint FK_LOG_NEWBYTES
-alter table JBPM_LOG drop constraint FK_LOG_ACTION
-alter table JBPM_LOG drop constraint FK_LOG_VARINST
-alter table JBPM_LOG drop constraint FK_LOG_NODE
-alter table JBPM_LOG drop constraint FK_LOG_PARENT
-alter table JBPM_MODULEDEFINITION drop constraint FK_MODDEF_PROCDEF
-alter table JBPM_MODULEDEFINITION drop constraint FK_TSKDEF_START
-alter table JBPM_MODULEINSTANCE drop constraint FK_MODINST_PRCINST
-alter table JBPM_MODULEINSTANCE drop constraint FK_TASKMGTINST_TMD
-alter table JBPM_NODE drop constraint FK_DECISION_DELEG
-alter table JBPM_NODE drop constraint FK_NODE_PROCDEF
-alter table JBPM_NODE drop constraint FK_NODE_ACTION
-alter table JBPM_NODE drop constraint FK_PROCST_SBPRCDEF
-alter table JBPM_NODE drop constraint FK_NODE_SCRIPT
-alter table JBPM_NODE drop constraint FK_NODE_SUPERSTATE
-alter table JBPM_POOLEDACTOR drop constraint FK_POOLEDACTOR_SLI
-alter table JBPM_PROCESSDEFINITION drop constraint FK_PROCDEF_STRTSTA
-alter table JBPM_PROCESSINSTANCE drop constraint FK_PROCIN_PROCDEF
-alter table JBPM_PROCESSINSTANCE drop constraint FK_PROCIN_ROOTTKN
-alter table JBPM_PROCESSINSTANCE drop constraint FK_PROCIN_SPROCTKN
-alter table JBPM_RUNTIMEACTION drop constraint FK_RTACTN_PROCINST
-alter table JBPM_RUNTIMEACTION drop constraint FK_RTACTN_ACTION
-alter table JBPM_SWIMLANE drop constraint FK_SWL_ASSDEL
-alter table JBPM_SWIMLANE drop constraint FK_SWL_TSKMGMTDEF
-alter table JBPM_SWIMLANEINSTANCE drop constraint FK_SWIMLANEINST_TM
-alter table JBPM_SWIMLANEINSTANCE drop constraint FK_SWIMLANEINST_SL
-alter table JBPM_TASK drop constraint FK_TASK_STARTST
-alter table JBPM_TASK drop constraint FK_TASK_PROCDEF
-alter table JBPM_TASK drop constraint FK_TASK_ASSDEL
-alter table JBPM_TASK drop constraint FK_TASK_SWIMLANE
-alter table JBPM_TASK drop constraint FK_TASK_TASKNODE
-alter table JBPM_TASK drop constraint FK_TASK_TASKMGTDEF
-alter table JBPM_TASK drop constraint FK_TSK_TSKCTRL
-alter table JBPM_TASKACTORPOOL drop constraint FK_TASKACTPL_TSKI
-alter table JBPM_TASKACTORPOOL drop constraint FK_TSKACTPOL_PLACT
-alter table JBPM_TASKCONTROLLER drop constraint FK_TSKCTRL_DELEG
-alter table JBPM_TASKINSTANCE drop constraint FK_TSKINS_PRCINS
-alter table JBPM_TASKINSTANCE drop constraint FK_TASKINST_TMINST
-alter table JBPM_TASKINSTANCE drop constraint FK_TASKINST_TOKEN
-alter table JBPM_TASKINSTANCE drop constraint FK_TASKINST_SLINST
-alter table JBPM_TASKINSTANCE drop constraint FK_TASKINST_TASK
-alter table JBPM_TOKEN drop constraint FK_TOKEN_SUBPI
-alter table JBPM_TOKEN drop constraint FK_TOKEN_PROCINST
-alter table JBPM_TOKEN drop constraint FK_TOKEN_NODE
-alter table JBPM_TOKEN drop constraint FK_TOKEN_PARENT
-alter table JBPM_TOKENVARIABLEMAP drop constraint FK_TKVARMAP_TOKEN
-alter table JBPM_TOKENVARIABLEMAP drop constraint FK_TKVARMAP_CTXT
-alter table JBPM_TRANSITION drop constraint FK_TRANSITION_FROM
-alter table JBPM_TRANSITION drop constraint FK_TRANS_PROCDEF
-alter table JBPM_TRANSITION drop constraint FK_TRANSITION_TO
-alter table JBPM_VARIABLEACCESS drop constraint FK_VARACC_PROCST
-alter table JBPM_VARIABLEACCESS drop constraint FK_VARACC_SCRIPT
-alter table JBPM_VARIABLEACCESS drop constraint FK_VARACC_TSKCTRL
-alter table JBPM_VARIABLEINSTANCE drop constraint FK_VARINST_PRCINST
-alter table JBPM_VARIABLEINSTANCE drop constraint FK_VARINST_TKVARMP
-alter table JBPM_VARIABLEINSTANCE drop constraint FK_VARINST_TK
-alter table JBPM_VARIABLEINSTANCE drop constraint FK_BYTEINST_ARRAY
-alter table JBPM_VARIABLEINSTANCE drop constraint FK_VAR_TSKINST
-drop table JBPM_ACTION
-drop table JBPM_BYTEARRAY
-drop table JBPM_BYTEBLOCK
-drop table JBPM_COMMENT
-drop table JBPM_DECISIONCONDITIONS
-drop table JBPM_DELEGATION
-drop table JBPM_EVENT
-drop table JBPM_EXCEPTIONHANDLER
-drop table JBPM_ID_GROUP
-drop table JBPM_ID_MEMBERSHIP
-drop table JBPM_ID_PERMISSIONS
-drop table JBPM_ID_USER
-drop table JBPM_JOB
-drop table JBPM_LOG
-drop table JBPM_MODULEDEFINITION
-drop table JBPM_MODULEINSTANCE
-drop table JBPM_NODE
-drop table JBPM_POOLEDACTOR
-drop table JBPM_PROCESSDEFINITION
-drop table JBPM_PROCESSINSTANCE
-drop table JBPM_RUNTIMEACTION
-drop table JBPM_SWIMLANE
-drop table JBPM_SWIMLANEINSTANCE
-drop table JBPM_TASK
-drop table JBPM_TASKACTORPOOL
-drop table JBPM_TASKCONTROLLER
-drop table JBPM_TASKINSTANCE
-drop table JBPM_TOKEN
-drop table JBPM_TOKENVARIABLEMAP
-drop table JBPM_TRANSITION
-drop table JBPM_VARIABLEACCESS
-drop table JBPM_VARIABLEINSTANCE
-drop generator hibernate_sequence
create table JBPM_ACTION (ID_ numeric(18,0) not null, class char(1) not null, NAME_ varchar(255), ISPROPAGATIONALLOWED_ smallint, ACTIONEXPRESSION_ varchar(255), ISASYNC_ smallint, REFERENCEDACTION_ numeric(18,0), ACTIONDELEGATION_ numeric(18,0), EVENT_ numeric(18,0), PROCESSDEFINITION_ numeric(18,0), EXPRESSION_ varchar(4000), TIMERNAME_ varchar(255), DUEDATE_ varchar(255), REPEAT_ varchar(255), TRANSITIONNAME_ varchar(255), TIMERACTION_ numeric(18,0), EVENTINDEX_ integer, EXCEPTIONHANDLER_ numeric(18,0), EXCEPTIONHANDLERINDEX_ integer, primary key (ID_))
create table JBPM_BYTEARRAY (ID_ numeric(18,0) not null, NAME_ varchar(255), FILEDEFINITION_ numeric(18,0), primary key (ID_))
create table JBPM_BYTEBLOCK (PROCESSFILE_ numeric(18,0) not null, BYTES_ blob, INDEX_ integer not null, primary key (PROCESSFILE_, INDEX_))
Modified: jbpm3/branches/jbpm-3.2.5.SP/modules/db/src/main/compatibility/jbpm-3.2.2/jbpm.jpdl.hsqldb.sql
===================================================================
--- jbpm3/branches/jbpm-3.2.5.SP/modules/db/src/main/compatibility/jbpm-3.2.2/jbpm.jpdl.hsqldb.sql 2009-02-19 19:31:58 UTC (rev 3955)
+++ jbpm3/branches/jbpm-3.2.5.SP/modules/db/src/main/compatibility/jbpm-3.2.2/jbpm.jpdl.hsqldb.sql 2009-02-19 19:59:05 UTC (rev 3956)
@@ -1,125 +1,3 @@
-alter table JBPM_ACTION drop constraint FK_ACTION_REFACT
-alter table JBPM_ACTION drop constraint FK_CRTETIMERACT_TA
-alter table JBPM_ACTION drop constraint FK_ACTION_PROCDEF
-alter table JBPM_ACTION drop constraint FK_ACTION_EVENT
-alter table JBPM_ACTION drop constraint FK_ACTION_ACTNDEL
-alter table JBPM_ACTION drop constraint FK_ACTION_EXPTHDL
-alter table JBPM_BYTEARRAY drop constraint FK_BYTEARR_FILDEF
-alter table JBPM_BYTEBLOCK drop constraint FK_BYTEBLOCK_FILE
-alter table JBPM_COMMENT drop constraint FK_COMMENT_TOKEN
-alter table JBPM_COMMENT drop constraint FK_COMMENT_TSK
-alter table JBPM_DECISIONCONDITIONS drop constraint FK_DECCOND_DEC
-alter table JBPM_DELEGATION drop constraint FK_DELEGATION_PRCD
-alter table JBPM_EVENT drop constraint FK_EVENT_PROCDEF
-alter table JBPM_EVENT drop constraint FK_EVENT_TRANS
-alter table JBPM_EVENT drop constraint FK_EVENT_NODE
-alter table JBPM_EVENT drop constraint FK_EVENT_TASK
-alter table JBPM_ID_GROUP drop constraint FK_ID_GRP_PARENT
-alter table JBPM_ID_MEMBERSHIP drop constraint FK_ID_MEMSHIP_GRP
-alter table JBPM_ID_MEMBERSHIP drop constraint FK_ID_MEMSHIP_USR
-alter table JBPM_JOB drop constraint FK_JOB_PRINST
-alter table JBPM_JOB drop constraint FK_JOB_ACTION
-alter table JBPM_JOB drop constraint FK_JOB_TOKEN
-alter table JBPM_JOB drop constraint FK_JOB_NODE
-alter table JBPM_JOB drop constraint FK_JOB_TSKINST
-alter table JBPM_LOG drop constraint FK_LOG_SOURCENODE
-alter table JBPM_LOG drop constraint FK_LOG_DESTNODE
-alter table JBPM_LOG drop constraint FK_LOG_TOKEN
-alter table JBPM_LOG drop constraint FK_LOG_TRANSITION
-alter table JBPM_LOG drop constraint FK_LOG_TASKINST
-alter table JBPM_LOG drop constraint FK_LOG_CHILDTOKEN
-alter table JBPM_LOG drop constraint FK_LOG_OLDBYTES
-alter table JBPM_LOG drop constraint FK_LOG_SWIMINST
-alter table JBPM_LOG drop constraint FK_LOG_NEWBYTES
-alter table JBPM_LOG drop constraint FK_LOG_ACTION
-alter table JBPM_LOG drop constraint FK_LOG_VARINST
-alter table JBPM_LOG drop constraint FK_LOG_NODE
-alter table JBPM_LOG drop constraint FK_LOG_PARENT
-alter table JBPM_MODULEDEFINITION drop constraint FK_MODDEF_PROCDEF
-alter table JBPM_MODULEDEFINITION drop constraint FK_TSKDEF_START
-alter table JBPM_MODULEINSTANCE drop constraint FK_MODINST_PRCINST
-alter table JBPM_MODULEINSTANCE drop constraint FK_TASKMGTINST_TMD
-alter table JBPM_NODE drop constraint FK_DECISION_DELEG
-alter table JBPM_NODE drop constraint FK_NODE_PROCDEF
-alter table JBPM_NODE drop constraint FK_NODE_ACTION
-alter table JBPM_NODE drop constraint FK_PROCST_SBPRCDEF
-alter table JBPM_NODE drop constraint FK_NODE_SCRIPT
-alter table JBPM_NODE drop constraint FK_NODE_SUPERSTATE
-alter table JBPM_POOLEDACTOR drop constraint FK_POOLEDACTOR_SLI
-alter table JBPM_PROCESSDEFINITION drop constraint FK_PROCDEF_STRTSTA
-alter table JBPM_PROCESSINSTANCE drop constraint FK_PROCIN_PROCDEF
-alter table JBPM_PROCESSINSTANCE drop constraint FK_PROCIN_ROOTTKN
-alter table JBPM_PROCESSINSTANCE drop constraint FK_PROCIN_SPROCTKN
-alter table JBPM_RUNTIMEACTION drop constraint FK_RTACTN_PROCINST
-alter table JBPM_RUNTIMEACTION drop constraint FK_RTACTN_ACTION
-alter table JBPM_SWIMLANE drop constraint FK_SWL_ASSDEL
-alter table JBPM_SWIMLANE drop constraint FK_SWL_TSKMGMTDEF
-alter table JBPM_SWIMLANEINSTANCE drop constraint FK_SWIMLANEINST_TM
-alter table JBPM_SWIMLANEINSTANCE drop constraint FK_SWIMLANEINST_SL
-alter table JBPM_TASK drop constraint FK_TASK_STARTST
-alter table JBPM_TASK drop constraint FK_TASK_PROCDEF
-alter table JBPM_TASK drop constraint FK_TASK_ASSDEL
-alter table JBPM_TASK drop constraint FK_TASK_SWIMLANE
-alter table JBPM_TASK drop constraint FK_TASK_TASKNODE
-alter table JBPM_TASK drop constraint FK_TASK_TASKMGTDEF
-alter table JBPM_TASK drop constraint FK_TSK_TSKCTRL
-alter table JBPM_TASKACTORPOOL drop constraint FK_TASKACTPL_TSKI
-alter table JBPM_TASKACTORPOOL drop constraint FK_TSKACTPOL_PLACT
-alter table JBPM_TASKCONTROLLER drop constraint FK_TSKCTRL_DELEG
-alter table JBPM_TASKINSTANCE drop constraint FK_TSKINS_PRCINS
-alter table JBPM_TASKINSTANCE drop constraint FK_TASKINST_TMINST
-alter table JBPM_TASKINSTANCE drop constraint FK_TASKINST_TOKEN
-alter table JBPM_TASKINSTANCE drop constraint FK_TASKINST_SLINST
-alter table JBPM_TASKINSTANCE drop constraint FK_TASKINST_TASK
-alter table JBPM_TOKEN drop constraint FK_TOKEN_SUBPI
-alter table JBPM_TOKEN drop constraint FK_TOKEN_PROCINST
-alter table JBPM_TOKEN drop constraint FK_TOKEN_NODE
-alter table JBPM_TOKEN drop constraint FK_TOKEN_PARENT
-alter table JBPM_TOKENVARIABLEMAP drop constraint FK_TKVARMAP_TOKEN
-alter table JBPM_TOKENVARIABLEMAP drop constraint FK_TKVARMAP_CTXT
-alter table JBPM_TRANSITION drop constraint FK_TRANSITION_FROM
-alter table JBPM_TRANSITION drop constraint FK_TRANS_PROCDEF
-alter table JBPM_TRANSITION drop constraint FK_TRANSITION_TO
-alter table JBPM_VARIABLEACCESS drop constraint FK_VARACC_PROCST
-alter table JBPM_VARIABLEACCESS drop constraint FK_VARACC_SCRIPT
-alter table JBPM_VARIABLEACCESS drop constraint FK_VARACC_TSKCTRL
-alter table JBPM_VARIABLEINSTANCE drop constraint FK_VARINST_PRCINST
-alter table JBPM_VARIABLEINSTANCE drop constraint FK_VARINST_TKVARMP
-alter table JBPM_VARIABLEINSTANCE drop constraint FK_VARINST_TK
-alter table JBPM_VARIABLEINSTANCE drop constraint FK_BYTEINST_ARRAY
-alter table JBPM_VARIABLEINSTANCE drop constraint FK_VAR_TSKINST
-drop table JBPM_ACTION if exists
-drop table JBPM_BYTEARRAY if exists
-drop table JBPM_BYTEBLOCK if exists
-drop table JBPM_COMMENT if exists
-drop table JBPM_DECISIONCONDITIONS if exists
-drop table JBPM_DELEGATION if exists
-drop table JBPM_EVENT if exists
-drop table JBPM_EXCEPTIONHANDLER if exists
-drop table JBPM_ID_GROUP if exists
-drop table JBPM_ID_MEMBERSHIP if exists
-drop table JBPM_ID_PERMISSIONS if exists
-drop table JBPM_ID_USER if exists
-drop table JBPM_JOB if exists
-drop table JBPM_LOG if exists
-drop table JBPM_MODULEDEFINITION if exists
-drop table JBPM_MODULEINSTANCE if exists
-drop table JBPM_NODE if exists
-drop table JBPM_POOLEDACTOR if exists
-drop table JBPM_PROCESSDEFINITION if exists
-drop table JBPM_PROCESSINSTANCE if exists
-drop table JBPM_RUNTIMEACTION if exists
-drop table JBPM_SWIMLANE if exists
-drop table JBPM_SWIMLANEINSTANCE if exists
-drop table JBPM_TASK if exists
-drop table JBPM_TASKACTORPOOL if exists
-drop table JBPM_TASKCONTROLLER if exists
-drop table JBPM_TASKINSTANCE if exists
-drop table JBPM_TOKEN if exists
-drop table JBPM_TOKENVARIABLEMAP if exists
-drop table JBPM_TRANSITION if exists
-drop table JBPM_VARIABLEACCESS if exists
-drop table JBPM_VARIABLEINSTANCE if exists
create table JBPM_ACTION (ID_ bigint generated by default as identity (start with 1), class char(1) not null, NAME_ varchar(255), ISPROPAGATIONALLOWED_ bit, ACTIONEXPRESSION_ varchar(255), ISASYNC_ bit, REFERENCEDACTION_ bigint, ACTIONDELEGATION_ bigint, EVENT_ bigint, PROCESSDEFINITION_ bigint, EXPRESSION_ varchar(4000), TIMERNAME_ varchar(255), DUEDATE_ varchar(255), REPEAT_ varchar(255), TRANSITIONNAME_ varchar(255), TIMERACTION_ bigint, EVENTINDEX_ integer, EXCEPTIONHANDLER_ bigint, EXCEPTIONHANDLERINDEX_ integer, primary key (ID_))
create table JBPM_BYTEARRAY (ID_ bigint generated by default as identity (start with 1), NAME_ varchar(255), FILEDEFINITION_ bigint, primary key (ID_))
create table JBPM_BYTEBLOCK (PROCESSFILE_ bigint not null, BYTES_ varbinary(1024), INDEX_ integer not null, primary key (PROCESSFILE_, INDEX_))
Modified: jbpm3/branches/jbpm-3.2.5.SP/modules/db/src/main/compatibility/jbpm-3.2.2/jbpm.jpdl.informix.sql
===================================================================
--- jbpm3/branches/jbpm-3.2.5.SP/modules/db/src/main/compatibility/jbpm-3.2.2/jbpm.jpdl.informix.sql 2009-02-19 19:31:58 UTC (rev 3955)
+++ jbpm3/branches/jbpm-3.2.5.SP/modules/db/src/main/compatibility/jbpm-3.2.2/jbpm.jpdl.informix.sql 2009-02-19 19:59:05 UTC (rev 3956)
@@ -1,125 +1,3 @@
-alter table JBPM_ACTION drop constraint FK_ACTION_REFACT
-alter table JBPM_ACTION drop constraint FK_CRTETIMERACT_TA
-alter table JBPM_ACTION drop constraint FK_ACTION_PROCDEF
-alter table JBPM_ACTION drop constraint FK_ACTION_EVENT
-alter table JBPM_ACTION drop constraint FK_ACTION_ACTNDEL
-alter table JBPM_ACTION drop constraint FK_ACTION_EXPTHDL
-alter table JBPM_BYTEARRAY drop constraint FK_BYTEARR_FILDEF
-alter table JBPM_BYTEBLOCK drop constraint FK_BYTEBLOCK_FILE
-alter table JBPM_COMMENT drop constraint FK_COMMENT_TOKEN
-alter table JBPM_COMMENT drop constraint FK_COMMENT_TSK
-alter table JBPM_DECISIONCONDITIONS drop constraint FK_DECCOND_DEC
-alter table JBPM_DELEGATION drop constraint FK_DELEGATION_PRCD
-alter table JBPM_EVENT drop constraint FK_EVENT_PROCDEF
-alter table JBPM_EVENT drop constraint FK_EVENT_TRANS
-alter table JBPM_EVENT drop constraint FK_EVENT_NODE
-alter table JBPM_EVENT drop constraint FK_EVENT_TASK
-alter table JBPM_ID_GROUP drop constraint FK_ID_GRP_PARENT
-alter table JBPM_ID_MEMBERSHIP drop constraint FK_ID_MEMSHIP_GRP
-alter table JBPM_ID_MEMBERSHIP drop constraint FK_ID_MEMSHIP_USR
-alter table JBPM_JOB drop constraint FK_JOB_PRINST
-alter table JBPM_JOB drop constraint FK_JOB_ACTION
-alter table JBPM_JOB drop constraint FK_JOB_TOKEN
-alter table JBPM_JOB drop constraint FK_JOB_NODE
-alter table JBPM_JOB drop constraint FK_JOB_TSKINST
-alter table JBPM_LOG drop constraint FK_LOG_SOURCENODE
-alter table JBPM_LOG drop constraint FK_LOG_DESTNODE
-alter table JBPM_LOG drop constraint FK_LOG_TOKEN
-alter table JBPM_LOG drop constraint FK_LOG_TRANSITION
-alter table JBPM_LOG drop constraint FK_LOG_TASKINST
-alter table JBPM_LOG drop constraint FK_LOG_CHILDTOKEN
-alter table JBPM_LOG drop constraint FK_LOG_OLDBYTES
-alter table JBPM_LOG drop constraint FK_LOG_SWIMINST
-alter table JBPM_LOG drop constraint FK_LOG_NEWBYTES
-alter table JBPM_LOG drop constraint FK_LOG_ACTION
-alter table JBPM_LOG drop constraint FK_LOG_VARINST
-alter table JBPM_LOG drop constraint FK_LOG_NODE
-alter table JBPM_LOG drop constraint FK_LOG_PARENT
-alter table JBPM_MODULEDEFINITION drop constraint FK_MODDEF_PROCDEF
-alter table JBPM_MODULEDEFINITION drop constraint FK_TSKDEF_START
-alter table JBPM_MODULEINSTANCE drop constraint FK_MODINST_PRCINST
-alter table JBPM_MODULEINSTANCE drop constraint FK_TASKMGTINST_TMD
-alter table JBPM_NODE drop constraint FK_DECISION_DELEG
-alter table JBPM_NODE drop constraint FK_NODE_PROCDEF
-alter table JBPM_NODE drop constraint FK_NODE_ACTION
-alter table JBPM_NODE drop constraint FK_PROCST_SBPRCDEF
-alter table JBPM_NODE drop constraint FK_NODE_SCRIPT
-alter table JBPM_NODE drop constraint FK_NODE_SUPERSTATE
-alter table JBPM_POOLEDACTOR drop constraint FK_POOLEDACTOR_SLI
-alter table JBPM_PROCESSDEFINITION drop constraint FK_PROCDEF_STRTSTA
-alter table JBPM_PROCESSINSTANCE drop constraint FK_PROCIN_PROCDEF
-alter table JBPM_PROCESSINSTANCE drop constraint FK_PROCIN_ROOTTKN
-alter table JBPM_PROCESSINSTANCE drop constraint FK_PROCIN_SPROCTKN
-alter table JBPM_RUNTIMEACTION drop constraint FK_RTACTN_PROCINST
-alter table JBPM_RUNTIMEACTION drop constraint FK_RTACTN_ACTION
-alter table JBPM_SWIMLANE drop constraint FK_SWL_ASSDEL
-alter table JBPM_SWIMLANE drop constraint FK_SWL_TSKMGMTDEF
-alter table JBPM_SWIMLANEINSTANCE drop constraint FK_SWIMLANEINST_TM
-alter table JBPM_SWIMLANEINSTANCE drop constraint FK_SWIMLANEINST_SL
-alter table JBPM_TASK drop constraint FK_TASK_STARTST
-alter table JBPM_TASK drop constraint FK_TASK_PROCDEF
-alter table JBPM_TASK drop constraint FK_TASK_ASSDEL
-alter table JBPM_TASK drop constraint FK_TASK_SWIMLANE
-alter table JBPM_TASK drop constraint FK_TASK_TASKNODE
-alter table JBPM_TASK drop constraint FK_TASK_TASKMGTDEF
-alter table JBPM_TASK drop constraint FK_TSK_TSKCTRL
-alter table JBPM_TASKACTORPOOL drop constraint FK_TASKACTPL_TSKI
-alter table JBPM_TASKACTORPOOL drop constraint FK_TSKACTPOL_PLACT
-alter table JBPM_TASKCONTROLLER drop constraint FK_TSKCTRL_DELEG
-alter table JBPM_TASKINSTANCE drop constraint FK_TSKINS_PRCINS
-alter table JBPM_TASKINSTANCE drop constraint FK_TASKINST_TMINST
-alter table JBPM_TASKINSTANCE drop constraint FK_TASKINST_TOKEN
-alter table JBPM_TASKINSTANCE drop constraint FK_TASKINST_SLINST
-alter table JBPM_TASKINSTANCE drop constraint FK_TASKINST_TASK
-alter table JBPM_TOKEN drop constraint FK_TOKEN_SUBPI
-alter table JBPM_TOKEN drop constraint FK_TOKEN_PROCINST
-alter table JBPM_TOKEN drop constraint FK_TOKEN_NODE
-alter table JBPM_TOKEN drop constraint FK_TOKEN_PARENT
-alter table JBPM_TOKENVARIABLEMAP drop constraint FK_TKVARMAP_TOKEN
-alter table JBPM_TOKENVARIABLEMAP drop constraint FK_TKVARMAP_CTXT
-alter table JBPM_TRANSITION drop constraint FK_TRANSITION_FROM
-alter table JBPM_TRANSITION drop constraint FK_TRANS_PROCDEF
-alter table JBPM_TRANSITION drop constraint FK_TRANSITION_TO
-alter table JBPM_VARIABLEACCESS drop constraint FK_VARACC_PROCST
-alter table JBPM_VARIABLEACCESS drop constraint FK_VARACC_SCRIPT
-alter table JBPM_VARIABLEACCESS drop constraint FK_VARACC_TSKCTRL
-alter table JBPM_VARIABLEINSTANCE drop constraint FK_VARINST_PRCINST
-alter table JBPM_VARIABLEINSTANCE drop constraint FK_VARINST_TKVARMP
-alter table JBPM_VARIABLEINSTANCE drop constraint FK_VARINST_TK
-alter table JBPM_VARIABLEINSTANCE drop constraint FK_BYTEINST_ARRAY
-alter table JBPM_VARIABLEINSTANCE drop constraint FK_VAR_TSKINST
-drop table JBPM_ACTION
-drop table JBPM_BYTEARRAY
-drop table JBPM_BYTEBLOCK
-drop table JBPM_COMMENT
-drop table JBPM_DECISIONCONDITIONS
-drop table JBPM_DELEGATION
-drop table JBPM_EVENT
-drop table JBPM_EXCEPTIONHANDLER
-drop table JBPM_ID_GROUP
-drop table JBPM_ID_MEMBERSHIP
-drop table JBPM_ID_PERMISSIONS
-drop table JBPM_ID_USER
-drop table JBPM_JOB
-drop table JBPM_LOG
-drop table JBPM_MODULEDEFINITION
-drop table JBPM_MODULEINSTANCE
-drop table JBPM_NODE
-drop table JBPM_POOLEDACTOR
-drop table JBPM_PROCESSDEFINITION
-drop table JBPM_PROCESSINSTANCE
-drop table JBPM_RUNTIMEACTION
-drop table JBPM_SWIMLANE
-drop table JBPM_SWIMLANEINSTANCE
-drop table JBPM_TASK
-drop table JBPM_TASKACTORPOOL
-drop table JBPM_TASKCONTROLLER
-drop table JBPM_TASKINSTANCE
-drop table JBPM_TOKEN
-drop table JBPM_TOKENVARIABLEMAP
-drop table JBPM_TRANSITION
-drop table JBPM_VARIABLEACCESS
-drop table JBPM_VARIABLEINSTANCE
create table JBPM_ACTION (ID_ serial8 not null, class char(255) not null, NAME_ varchar(255), ISPROPAGATIONALLOWED_ smallint, ACTIONEXPRESSION_ varchar(255), ISASYNC_ smallint, REFERENCEDACTION_ int8, ACTIONDELEGATION_ int8, EVENT_ int8, PROCESSDEFINITION_ int8, EXPRESSION_ lvarchar(4000), TIMERNAME_ varchar(255), DUEDATE_ varchar(255), REPEAT_ varchar(255), TRANSITIONNAME_ varchar(255), TIMERACTION_ int8, EVENTINDEX_ integer, EXCEPTIONHANDLER_ int8, EXCEPTIONHANDLERINDEX_ integer, primary key (ID_))
create table JBPM_BYTEARRAY (ID_ serial8 not null, NAME_ varchar(255), FILEDEFINITION_ int8, primary key (ID_))
create table JBPM_BYTEBLOCK (PROCESSFILE_ int8 not null, BYTES_ byte, INDEX_ integer not null, primary key (PROCESSFILE_, INDEX_))
Modified: jbpm3/branches/jbpm-3.2.5.SP/modules/db/src/main/compatibility/jbpm-3.2.2/jbpm.jpdl.ingres.sql
===================================================================
--- jbpm3/branches/jbpm-3.2.5.SP/modules/db/src/main/compatibility/jbpm-3.2.2/jbpm.jpdl.ingres.sql 2009-02-19 19:31:58 UTC (rev 3955)
+++ jbpm3/branches/jbpm-3.2.5.SP/modules/db/src/main/compatibility/jbpm-3.2.2/jbpm.jpdl.ingres.sql 2009-02-19 19:59:05 UTC (rev 3956)
@@ -1,36 +1,3 @@
-drop table JBPM_ACTION
-drop table JBPM_BYTEARRAY
-drop table JBPM_BYTEBLOCK
-drop table JBPM_COMMENT
-drop table JBPM_DECISIONCONDITIONS
-drop table JBPM_DELEGATION
-drop table JBPM_EVENT
-drop table JBPM_EXCEPTIONHANDLER
-drop table JBPM_ID_GROUP
-drop table JBPM_ID_MEMBERSHIP
-drop table JBPM_ID_PERMISSIONS
-drop table JBPM_ID_USER
-drop table JBPM_JOB
-drop table JBPM_LOG
-drop table JBPM_MODULEDEFINITION
-drop table JBPM_MODULEINSTANCE
-drop table JBPM_NODE
-drop table JBPM_POOLEDACTOR
-drop table JBPM_PROCESSDEFINITION
-drop table JBPM_PROCESSINSTANCE
-drop table JBPM_RUNTIMEACTION
-drop table JBPM_SWIMLANE
-drop table JBPM_SWIMLANEINSTANCE
-drop table JBPM_TASK
-drop table JBPM_TASKACTORPOOL
-drop table JBPM_TASKCONTROLLER
-drop table JBPM_TASKINSTANCE
-drop table JBPM_TOKEN
-drop table JBPM_TOKENVARIABLEMAP
-drop table JBPM_TRANSITION
-drop table JBPM_VARIABLEACCESS
-drop table JBPM_VARIABLEINSTANCE
-drop sequence hibernate_sequence restrict
create table JBPM_ACTION (ID_ bigint not null, class char(1) not null, NAME_ varchar(255) with null, ISPROPAGATIONALLOWED_ tinyint with null, ACTIONEXPRESSION_ varchar(255) with null, ISASYNC_ tinyint with null, REFERENCEDACTION_ bigint with null, ACTIONDELEGATION_ bigint with null, EVENT_ bigint with null, PROCESSDEFINITION_ bigint with null, EXPRESSION_ varchar(4000) with null, TIMERNAME_ varchar(255) with null, DUEDATE_ varchar(255) with null, REPEAT_ varchar(255) with null, TRANSITIONNAME_ varchar(255) with null, TIMERACTION_ bigint with null, EVENTINDEX_ integer with null, EXCEPTIONHANDLER_ bigint with null, EXCEPTIONHANDLERINDEX_ integer with null, primary key (ID_))
create table JBPM_BYTEARRAY (ID_ bigint not null, NAME_ varchar(255) with null, FILEDEFINITION_ bigint with null, primary key (ID_))
create table JBPM_BYTEBLOCK (PROCESSFILE_ bigint not null, BYTES_ varbyte(1024) with null, INDEX_ integer not null, primary key (PROCESSFILE_, INDEX_))
Modified: jbpm3/branches/jbpm-3.2.5.SP/modules/db/src/main/compatibility/jbpm-3.2.2/jbpm.jpdl.interbase.sql
===================================================================
--- jbpm3/branches/jbpm-3.2.5.SP/modules/db/src/main/compatibility/jbpm-3.2.2/jbpm.jpdl.interbase.sql 2009-02-19 19:31:58 UTC (rev 3955)
+++ jbpm3/branches/jbpm-3.2.5.SP/modules/db/src/main/compatibility/jbpm-3.2.2/jbpm.jpdl.interbase.sql 2009-02-19 19:59:05 UTC (rev 3956)
@@ -1,126 +1,3 @@
-alter table JBPM_ACTION drop constraint FK_ACTION_REFACT
-alter table JBPM_ACTION drop constraint FK_CRTETIMERACT_TA
-alter table JBPM_ACTION drop constraint FK_ACTION_PROCDEF
-alter table JBPM_ACTION drop constraint FK_ACTION_EVENT
-alter table JBPM_ACTION drop constraint FK_ACTION_ACTNDEL
-alter table JBPM_ACTION drop constraint FK_ACTION_EXPTHDL
-alter table JBPM_BYTEARRAY drop constraint FK_BYTEARR_FILDEF
-alter table JBPM_BYTEBLOCK drop constraint FK_BYTEBLOCK_FILE
-alter table JBPM_COMMENT drop constraint FK_COMMENT_TOKEN
-alter table JBPM_COMMENT drop constraint FK_COMMENT_TSK
-alter table JBPM_DECISIONCONDITIONS drop constraint FK_DECCOND_DEC
-alter table JBPM_DELEGATION drop constraint FK_DELEGATION_PRCD
-alter table JBPM_EVENT drop constraint FK_EVENT_PROCDEF
-alter table JBPM_EVENT drop constraint FK_EVENT_TRANS
-alter table JBPM_EVENT drop constraint FK_EVENT_NODE
-alter table JBPM_EVENT drop constraint FK_EVENT_TASK
-alter table JBPM_ID_GROUP drop constraint FK_ID_GRP_PARENT
-alter table JBPM_ID_MEMBERSHIP drop constraint FK_ID_MEMSHIP_GRP
-alter table JBPM_ID_MEMBERSHIP drop constraint FK_ID_MEMSHIP_USR
-alter table JBPM_JOB drop constraint FK_JOB_PRINST
-alter table JBPM_JOB drop constraint FK_JOB_ACTION
-alter table JBPM_JOB drop constraint FK_JOB_TOKEN
-alter table JBPM_JOB drop constraint FK_JOB_NODE
-alter table JBPM_JOB drop constraint FK_JOB_TSKINST
-alter table JBPM_LOG drop constraint FK_LOG_SOURCENODE
-alter table JBPM_LOG drop constraint FK_LOG_DESTNODE
-alter table JBPM_LOG drop constraint FK_LOG_TOKEN
-alter table JBPM_LOG drop constraint FK_LOG_TRANSITION
-alter table JBPM_LOG drop constraint FK_LOG_TASKINST
-alter table JBPM_LOG drop constraint FK_LOG_CHILDTOKEN
-alter table JBPM_LOG drop constraint FK_LOG_OLDBYTES
-alter table JBPM_LOG drop constraint FK_LOG_SWIMINST
-alter table JBPM_LOG drop constraint FK_LOG_NEWBYTES
-alter table JBPM_LOG drop constraint FK_LOG_ACTION
-alter table JBPM_LOG drop constraint FK_LOG_VARINST
-alter table JBPM_LOG drop constraint FK_LOG_NODE
-alter table JBPM_LOG drop constraint FK_LOG_PARENT
-alter table JBPM_MODULEDEFINITION drop constraint FK_MODDEF_PROCDEF
-alter table JBPM_MODULEDEFINITION drop constraint FK_TSKDEF_START
-alter table JBPM_MODULEINSTANCE drop constraint FK_MODINST_PRCINST
-alter table JBPM_MODULEINSTANCE drop constraint FK_TASKMGTINST_TMD
-alter table JBPM_NODE drop constraint FK_DECISION_DELEG
-alter table JBPM_NODE drop constraint FK_NODE_PROCDEF
-alter table JBPM_NODE drop constraint FK_NODE_ACTION
-alter table JBPM_NODE drop constraint FK_PROCST_SBPRCDEF
-alter table JBPM_NODE drop constraint FK_NODE_SCRIPT
-alter table JBPM_NODE drop constraint FK_NODE_SUPERSTATE
-alter table JBPM_POOLEDACTOR drop constraint FK_POOLEDACTOR_SLI
-alter table JBPM_PROCESSDEFINITION drop constraint FK_PROCDEF_STRTSTA
-alter table JBPM_PROCESSINSTANCE drop constraint FK_PROCIN_PROCDEF
-alter table JBPM_PROCESSINSTANCE drop constraint FK_PROCIN_ROOTTKN
-alter table JBPM_PROCESSINSTANCE drop constraint FK_PROCIN_SPROCTKN
-alter table JBPM_RUNTIMEACTION drop constraint FK_RTACTN_PROCINST
-alter table JBPM_RUNTIMEACTION drop constraint FK_RTACTN_ACTION
-alter table JBPM_SWIMLANE drop constraint FK_SWL_ASSDEL
-alter table JBPM_SWIMLANE drop constraint FK_SWL_TSKMGMTDEF
-alter table JBPM_SWIMLANEINSTANCE drop constraint FK_SWIMLANEINST_TM
-alter table JBPM_SWIMLANEINSTANCE drop constraint FK_SWIMLANEINST_SL
-alter table JBPM_TASK drop constraint FK_TASK_STARTST
-alter table JBPM_TASK drop constraint FK_TASK_PROCDEF
-alter table JBPM_TASK drop constraint FK_TASK_ASSDEL
-alter table JBPM_TASK drop constraint FK_TASK_SWIMLANE
-alter table JBPM_TASK drop constraint FK_TASK_TASKNODE
-alter table JBPM_TASK drop constraint FK_TASK_TASKMGTDEF
-alter table JBPM_TASK drop constraint FK_TSK_TSKCTRL
-alter table JBPM_TASKACTORPOOL drop constraint FK_TASKACTPL_TSKI
-alter table JBPM_TASKACTORPOOL drop constraint FK_TSKACTPOL_PLACT
-alter table JBPM_TASKCONTROLLER drop constraint FK_TSKCTRL_DELEG
-alter table JBPM_TASKINSTANCE drop constraint FK_TSKINS_PRCINS
-alter table JBPM_TASKINSTANCE drop constraint FK_TASKINST_TMINST
-alter table JBPM_TASKINSTANCE drop constraint FK_TASKINST_TOKEN
-alter table JBPM_TASKINSTANCE drop constraint FK_TASKINST_SLINST
-alter table JBPM_TASKINSTANCE drop constraint FK_TASKINST_TASK
-alter table JBPM_TOKEN drop constraint FK_TOKEN_SUBPI
-alter table JBPM_TOKEN drop constraint FK_TOKEN_PROCINST
-alter table JBPM_TOKEN drop constraint FK_TOKEN_NODE
-alter table JBPM_TOKEN drop constraint FK_TOKEN_PARENT
-alter table JBPM_TOKENVARIABLEMAP drop constraint FK_TKVARMAP_TOKEN
-alter table JBPM_TOKENVARIABLEMAP drop constraint FK_TKVARMAP_CTXT
-alter table JBPM_TRANSITION drop constraint FK_TRANSITION_FROM
-alter table JBPM_TRANSITION drop constraint FK_TRANS_PROCDEF
-alter table JBPM_TRANSITION drop constraint FK_TRANSITION_TO
-alter table JBPM_VARIABLEACCESS drop constraint FK_VARACC_PROCST
-alter table JBPM_VARIABLEACCESS drop constraint FK_VARACC_SCRIPT
-alter table JBPM_VARIABLEACCESS drop constraint FK_VARACC_TSKCTRL
-alter table JBPM_VARIABLEINSTANCE drop constraint FK_VARINST_PRCINST
-alter table JBPM_VARIABLEINSTANCE drop constraint FK_VARINST_TKVARMP
-alter table JBPM_VARIABLEINSTANCE drop constraint FK_VARINST_TK
-alter table JBPM_VARIABLEINSTANCE drop constraint FK_BYTEINST_ARRAY
-alter table JBPM_VARIABLEINSTANCE drop constraint FK_VAR_TSKINST
-drop table JBPM_ACTION
-drop table JBPM_BYTEARRAY
-drop table JBPM_BYTEBLOCK
-drop table JBPM_COMMENT
-drop table JBPM_DECISIONCONDITIONS
-drop table JBPM_DELEGATION
-drop table JBPM_EVENT
-drop table JBPM_EXCEPTIONHANDLER
-drop table JBPM_ID_GROUP
-drop table JBPM_ID_MEMBERSHIP
-drop table JBPM_ID_PERMISSIONS
-drop table JBPM_ID_USER
-drop table JBPM_JOB
-drop table JBPM_LOG
-drop table JBPM_MODULEDEFINITION
-drop table JBPM_MODULEINSTANCE
-drop table JBPM_NODE
-drop table JBPM_POOLEDACTOR
-drop table JBPM_PROCESSDEFINITION
-drop table JBPM_PROCESSINSTANCE
-drop table JBPM_RUNTIMEACTION
-drop table JBPM_SWIMLANE
-drop table JBPM_SWIMLANEINSTANCE
-drop table JBPM_TASK
-drop table JBPM_TASKACTORPOOL
-drop table JBPM_TASKCONTROLLER
-drop table JBPM_TASKINSTANCE
-drop table JBPM_TOKEN
-drop table JBPM_TOKENVARIABLEMAP
-drop table JBPM_TRANSITION
-drop table JBPM_VARIABLEACCESS
-drop table JBPM_VARIABLEINSTANCE
-delete from RDB$GENERATORS where RDB$GENERATOR_NAME = 'HIBERNATE_SEQUENCE'
create table JBPM_ACTION (ID_ numeric(18,0) not null, class char(1) not null, NAME_ varchar(255), ISPROPAGATIONALLOWED_ smallint, ACTIONEXPRESSION_ varchar(255), ISASYNC_ smallint, REFERENCEDACTION_ numeric(18,0), ACTIONDELEGATION_ numeric(18,0), EVENT_ numeric(18,0), PROCESSDEFINITION_ numeric(18,0), EXPRESSION_ varchar(4000), TIMERNAME_ varchar(255), DUEDATE_ varchar(255), REPEAT_ varchar(255), TRANSITIONNAME_ varchar(255), TIMERACTION_ numeric(18,0), EVENTINDEX_ integer, EXCEPTIONHANDLER_ numeric(18,0), EXCEPTIONHANDLERINDEX_ integer, primary key (ID_))
create table JBPM_BYTEARRAY (ID_ numeric(18,0) not null, NAME_ varchar(255), FILEDEFINITION_ numeric(18,0), primary key (ID_))
create table JBPM_BYTEBLOCK (PROCESSFILE_ numeric(18,0) not null, BYTES_ blob, INDEX_ integer not null, primary key (PROCESSFILE_, INDEX_))
Modified: jbpm3/branches/jbpm-3.2.5.SP/modules/db/src/main/compatibility/jbpm-3.2.2/jbpm.jpdl.mckoi.sql
===================================================================
--- jbpm3/branches/jbpm-3.2.5.SP/modules/db/src/main/compatibility/jbpm-3.2.2/jbpm.jpdl.mckoi.sql 2009-02-19 19:31:58 UTC (rev 3955)
+++ jbpm3/branches/jbpm-3.2.5.SP/modules/db/src/main/compatibility/jbpm-3.2.2/jbpm.jpdl.mckoi.sql 2009-02-19 19:59:05 UTC (rev 3956)
@@ -1,126 +1,3 @@
-alter table JBPM_ACTION drop constraint FK_ACTION_REFACT
-alter table JBPM_ACTION drop constraint FK_CRTETIMERACT_TA
-alter table JBPM_ACTION drop constraint FK_ACTION_PROCDEF
-alter table JBPM_ACTION drop constraint FK_ACTION_EVENT
-alter table JBPM_ACTION drop constraint FK_ACTION_ACTNDEL
-alter table JBPM_ACTION drop constraint FK_ACTION_EXPTHDL
-alter table JBPM_BYTEARRAY drop constraint FK_BYTEARR_FILDEF
-alter table JBPM_BYTEBLOCK drop constraint FK_BYTEBLOCK_FILE
-alter table JBPM_COMMENT drop constraint FK_COMMENT_TOKEN
-alter table JBPM_COMMENT drop constraint FK_COMMENT_TSK
-alter table JBPM_DECISIONCONDITIONS drop constraint FK_DECCOND_DEC
-alter table JBPM_DELEGATION drop constraint FK_DELEGATION_PRCD
-alter table JBPM_EVENT drop constraint FK_EVENT_PROCDEF
-alter table JBPM_EVENT drop constraint FK_EVENT_TRANS
-alter table JBPM_EVENT drop constraint FK_EVENT_NODE
-alter table JBPM_EVENT drop constraint FK_EVENT_TASK
-alter table JBPM_ID_GROUP drop constraint FK_ID_GRP_PARENT
-alter table JBPM_ID_MEMBERSHIP drop constraint FK_ID_MEMSHIP_GRP
-alter table JBPM_ID_MEMBERSHIP drop constraint FK_ID_MEMSHIP_USR
-alter table JBPM_JOB drop constraint FK_JOB_PRINST
-alter table JBPM_JOB drop constraint FK_JOB_ACTION
-alter table JBPM_JOB drop constraint FK_JOB_TOKEN
-alter table JBPM_JOB drop constraint FK_JOB_NODE
-alter table JBPM_JOB drop constraint FK_JOB_TSKINST
-alter table JBPM_LOG drop constraint FK_LOG_SOURCENODE
-alter table JBPM_LOG drop constraint FK_LOG_DESTNODE
-alter table JBPM_LOG drop constraint FK_LOG_TOKEN
-alter table JBPM_LOG drop constraint FK_LOG_TRANSITION
-alter table JBPM_LOG drop constraint FK_LOG_TASKINST
-alter table JBPM_LOG drop constraint FK_LOG_CHILDTOKEN
-alter table JBPM_LOG drop constraint FK_LOG_OLDBYTES
-alter table JBPM_LOG drop constraint FK_LOG_SWIMINST
-alter table JBPM_LOG drop constraint FK_LOG_NEWBYTES
-alter table JBPM_LOG drop constraint FK_LOG_ACTION
-alter table JBPM_LOG drop constraint FK_LOG_VARINST
-alter table JBPM_LOG drop constraint FK_LOG_NODE
-alter table JBPM_LOG drop constraint FK_LOG_PARENT
-alter table JBPM_MODULEDEFINITION drop constraint FK_MODDEF_PROCDEF
-alter table JBPM_MODULEDEFINITION drop constraint FK_TSKDEF_START
-alter table JBPM_MODULEINSTANCE drop constraint FK_MODINST_PRCINST
-alter table JBPM_MODULEINSTANCE drop constraint FK_TASKMGTINST_TMD
-alter table JBPM_NODE drop constraint FK_DECISION_DELEG
-alter table JBPM_NODE drop constraint FK_NODE_PROCDEF
-alter table JBPM_NODE drop constraint FK_NODE_ACTION
-alter table JBPM_NODE drop constraint FK_PROCST_SBPRCDEF
-alter table JBPM_NODE drop constraint FK_NODE_SCRIPT
-alter table JBPM_NODE drop constraint FK_NODE_SUPERSTATE
-alter table JBPM_POOLEDACTOR drop constraint FK_POOLEDACTOR_SLI
-alter table JBPM_PROCESSDEFINITION drop constraint FK_PROCDEF_STRTSTA
-alter table JBPM_PROCESSINSTANCE drop constraint FK_PROCIN_PROCDEF
-alter table JBPM_PROCESSINSTANCE drop constraint FK_PROCIN_ROOTTKN
-alter table JBPM_PROCESSINSTANCE drop constraint FK_PROCIN_SPROCTKN
-alter table JBPM_RUNTIMEACTION drop constraint FK_RTACTN_PROCINST
-alter table JBPM_RUNTIMEACTION drop constraint FK_RTACTN_ACTION
-alter table JBPM_SWIMLANE drop constraint FK_SWL_ASSDEL
-alter table JBPM_SWIMLANE drop constraint FK_SWL_TSKMGMTDEF
-alter table JBPM_SWIMLANEINSTANCE drop constraint FK_SWIMLANEINST_TM
-alter table JBPM_SWIMLANEINSTANCE drop constraint FK_SWIMLANEINST_SL
-alter table JBPM_TASK drop constraint FK_TASK_STARTST
-alter table JBPM_TASK drop constraint FK_TASK_PROCDEF
-alter table JBPM_TASK drop constraint FK_TASK_ASSDEL
-alter table JBPM_TASK drop constraint FK_TASK_SWIMLANE
-alter table JBPM_TASK drop constraint FK_TASK_TASKNODE
-alter table JBPM_TASK drop constraint FK_TASK_TASKMGTDEF
-alter table JBPM_TASK drop constraint FK_TSK_TSKCTRL
-alter table JBPM_TASKACTORPOOL drop constraint FK_TASKACTPL_TSKI
-alter table JBPM_TASKACTORPOOL drop constraint FK_TSKACTPOL_PLACT
-alter table JBPM_TASKCONTROLLER drop constraint FK_TSKCTRL_DELEG
-alter table JBPM_TASKINSTANCE drop constraint FK_TSKINS_PRCINS
-alter table JBPM_TASKINSTANCE drop constraint FK_TASKINST_TMINST
-alter table JBPM_TASKINSTANCE drop constraint FK_TASKINST_TOKEN
-alter table JBPM_TASKINSTANCE drop constraint FK_TASKINST_SLINST
-alter table JBPM_TASKINSTANCE drop constraint FK_TASKINST_TASK
-alter table JBPM_TOKEN drop constraint FK_TOKEN_SUBPI
-alter table JBPM_TOKEN drop constraint FK_TOKEN_PROCINST
-alter table JBPM_TOKEN drop constraint FK_TOKEN_NODE
-alter table JBPM_TOKEN drop constraint FK_TOKEN_PARENT
-alter table JBPM_TOKENVARIABLEMAP drop constraint FK_TKVARMAP_TOKEN
-alter table JBPM_TOKENVARIABLEMAP drop constraint FK_TKVARMAP_CTXT
-alter table JBPM_TRANSITION drop constraint FK_TRANSITION_FROM
-alter table JBPM_TRANSITION drop constraint FK_TRANS_PROCDEF
-alter table JBPM_TRANSITION drop constraint FK_TRANSITION_TO
-alter table JBPM_VARIABLEACCESS drop constraint FK_VARACC_PROCST
-alter table JBPM_VARIABLEACCESS drop constraint FK_VARACC_SCRIPT
-alter table JBPM_VARIABLEACCESS drop constraint FK_VARACC_TSKCTRL
-alter table JBPM_VARIABLEINSTANCE drop constraint FK_VARINST_PRCINST
-alter table JBPM_VARIABLEINSTANCE drop constraint FK_VARINST_TKVARMP
-alter table JBPM_VARIABLEINSTANCE drop constraint FK_VARINST_TK
-alter table JBPM_VARIABLEINSTANCE drop constraint FK_BYTEINST_ARRAY
-alter table JBPM_VARIABLEINSTANCE drop constraint FK_VAR_TSKINST
-drop table JBPM_ACTION
-drop table JBPM_BYTEARRAY
-drop table JBPM_BYTEBLOCK
-drop table JBPM_COMMENT
-drop table JBPM_DECISIONCONDITIONS
-drop table JBPM_DELEGATION
-drop table JBPM_EVENT
-drop table JBPM_EXCEPTIONHANDLER
-drop table JBPM_ID_GROUP
-drop table JBPM_ID_MEMBERSHIP
-drop table JBPM_ID_PERMISSIONS
-drop table JBPM_ID_USER
-drop table JBPM_JOB
-drop table JBPM_LOG
-drop table JBPM_MODULEDEFINITION
-drop table JBPM_MODULEINSTANCE
-drop table JBPM_NODE
-drop table JBPM_POOLEDACTOR
-drop table JBPM_PROCESSDEFINITION
-drop table JBPM_PROCESSINSTANCE
-drop table JBPM_RUNTIMEACTION
-drop table JBPM_SWIMLANE
-drop table JBPM_SWIMLANEINSTANCE
-drop table JBPM_TASK
-drop table JBPM_TASKACTORPOOL
-drop table JBPM_TASKCONTROLLER
-drop table JBPM_TASKINSTANCE
-drop table JBPM_TOKEN
-drop table JBPM_TOKENVARIABLEMAP
-drop table JBPM_TRANSITION
-drop table JBPM_VARIABLEACCESS
-drop table JBPM_VARIABLEINSTANCE
-drop sequence hibernate_sequence
create table JBPM_ACTION (ID_ bigint not null, class char(1) not null, NAME_ varchar(255), ISPROPAGATIONALLOWED_ bit, ACTIONEXPRESSION_ varchar(255), ISASYNC_ bit, REFERENCEDACTION_ bigint, ACTIONDELEGATION_ bigint, EVENT_ bigint, PROCESSDEFINITION_ bigint, EXPRESSION_ varchar(4000), TIMERNAME_ varchar(255), DUEDATE_ varchar(255), REPEAT_ varchar(255), TRANSITIONNAME_ varchar(255), TIMERACTION_ bigint, EVENTINDEX_ integer, EXCEPTIONHANDLER_ bigint, EXCEPTIONHANDLERINDEX_ integer, primary key (ID_))
create table JBPM_BYTEARRAY (ID_ bigint not null, NAME_ varchar(255), FILEDEFINITION_ bigint, primary key (ID_))
create table JBPM_BYTEBLOCK (PROCESSFILE_ bigint not null, BYTES_ varbinary, INDEX_ integer not null, primary key (PROCESSFILE_, INDEX_))
Modified: jbpm3/branches/jbpm-3.2.5.SP/modules/db/src/main/compatibility/jbpm-3.2.2/jbpm.jpdl.mssql.sql
===================================================================
--- jbpm3/branches/jbpm-3.2.5.SP/modules/db/src/main/compatibility/jbpm-3.2.2/jbpm.jpdl.mssql.sql 2009-02-19 19:31:58 UTC (rev 3955)
+++ jbpm3/branches/jbpm-3.2.5.SP/modules/db/src/main/compatibility/jbpm-3.2.2/jbpm.jpdl.mssql.sql 2009-02-19 19:59:05 UTC (rev 3956)
@@ -1,125 +1,3 @@
-alter table JBPM_ACTION drop constraint FK_ACTION_REFACT
-alter table JBPM_ACTION drop constraint FK_CRTETIMERACT_TA
-alter table JBPM_ACTION drop constraint FK_ACTION_PROCDEF
-alter table JBPM_ACTION drop constraint FK_ACTION_EVENT
-alter table JBPM_ACTION drop constraint FK_ACTION_ACTNDEL
-alter table JBPM_ACTION drop constraint FK_ACTION_EXPTHDL
-alter table JBPM_BYTEARRAY drop constraint FK_BYTEARR_FILDEF
-alter table JBPM_BYTEBLOCK drop constraint FK_BYTEBLOCK_FILE
-alter table JBPM_COMMENT drop constraint FK_COMMENT_TOKEN
-alter table JBPM_COMMENT drop constraint FK_COMMENT_TSK
-alter table JBPM_DECISIONCONDITIONS drop constraint FK_DECCOND_DEC
-alter table JBPM_DELEGATION drop constraint FK_DELEGATION_PRCD
-alter table JBPM_EVENT drop constraint FK_EVENT_PROCDEF
-alter table JBPM_EVENT drop constraint FK_EVENT_TRANS
-alter table JBPM_EVENT drop constraint FK_EVENT_NODE
-alter table JBPM_EVENT drop constraint FK_EVENT_TASK
-alter table JBPM_ID_GROUP drop constraint FK_ID_GRP_PARENT
-alter table JBPM_ID_MEMBERSHIP drop constraint FK_ID_MEMSHIP_GRP
-alter table JBPM_ID_MEMBERSHIP drop constraint FK_ID_MEMSHIP_USR
-alter table JBPM_JOB drop constraint FK_JOB_PRINST
-alter table JBPM_JOB drop constraint FK_JOB_ACTION
-alter table JBPM_JOB drop constraint FK_JOB_TOKEN
-alter table JBPM_JOB drop constraint FK_JOB_NODE
-alter table JBPM_JOB drop constraint FK_JOB_TSKINST
-alter table JBPM_LOG drop constraint FK_LOG_SOURCENODE
-alter table JBPM_LOG drop constraint FK_LOG_DESTNODE
-alter table JBPM_LOG drop constraint FK_LOG_TOKEN
-alter table JBPM_LOG drop constraint FK_LOG_TRANSITION
-alter table JBPM_LOG drop constraint FK_LOG_TASKINST
-alter table JBPM_LOG drop constraint FK_LOG_CHILDTOKEN
-alter table JBPM_LOG drop constraint FK_LOG_OLDBYTES
-alter table JBPM_LOG drop constraint FK_LOG_SWIMINST
-alter table JBPM_LOG drop constraint FK_LOG_NEWBYTES
-alter table JBPM_LOG drop constraint FK_LOG_ACTION
-alter table JBPM_LOG drop constraint FK_LOG_VARINST
-alter table JBPM_LOG drop constraint FK_LOG_NODE
-alter table JBPM_LOG drop constraint FK_LOG_PARENT
-alter table JBPM_MODULEDEFINITION drop constraint FK_MODDEF_PROCDEF
-alter table JBPM_MODULEDEFINITION drop constraint FK_TSKDEF_START
-alter table JBPM_MODULEINSTANCE drop constraint FK_MODINST_PRCINST
-alter table JBPM_MODULEINSTANCE drop constraint FK_TASKMGTINST_TMD
-alter table JBPM_NODE drop constraint FK_DECISION_DELEG
-alter table JBPM_NODE drop constraint FK_NODE_PROCDEF
-alter table JBPM_NODE drop constraint FK_NODE_ACTION
-alter table JBPM_NODE drop constraint FK_PROCST_SBPRCDEF
-alter table JBPM_NODE drop constraint FK_NODE_SCRIPT
-alter table JBPM_NODE drop constraint FK_NODE_SUPERSTATE
-alter table JBPM_POOLEDACTOR drop constraint FK_POOLEDACTOR_SLI
-alter table JBPM_PROCESSDEFINITION drop constraint FK_PROCDEF_STRTSTA
-alter table JBPM_PROCESSINSTANCE drop constraint FK_PROCIN_PROCDEF
-alter table JBPM_PROCESSINSTANCE drop constraint FK_PROCIN_ROOTTKN
-alter table JBPM_PROCESSINSTANCE drop constraint FK_PROCIN_SPROCTKN
-alter table JBPM_RUNTIMEACTION drop constraint FK_RTACTN_PROCINST
-alter table JBPM_RUNTIMEACTION drop constraint FK_RTACTN_ACTION
-alter table JBPM_SWIMLANE drop constraint FK_SWL_ASSDEL
-alter table JBPM_SWIMLANE drop constraint FK_SWL_TSKMGMTDEF
-alter table JBPM_SWIMLANEINSTANCE drop constraint FK_SWIMLANEINST_TM
-alter table JBPM_SWIMLANEINSTANCE drop constraint FK_SWIMLANEINST_SL
-alter table JBPM_TASK drop constraint FK_TASK_STARTST
-alter table JBPM_TASK drop constraint FK_TASK_PROCDEF
-alter table JBPM_TASK drop constraint FK_TASK_ASSDEL
-alter table JBPM_TASK drop constraint FK_TASK_SWIMLANE
-alter table JBPM_TASK drop constraint FK_TASK_TASKNODE
-alter table JBPM_TASK drop constraint FK_TASK_TASKMGTDEF
-alter table JBPM_TASK drop constraint FK_TSK_TSKCTRL
-alter table JBPM_TASKACTORPOOL drop constraint FK_TASKACTPL_TSKI
-alter table JBPM_TASKACTORPOOL drop constraint FK_TSKACTPOL_PLACT
-alter table JBPM_TASKCONTROLLER drop constraint FK_TSKCTRL_DELEG
-alter table JBPM_TASKINSTANCE drop constraint FK_TSKINS_PRCINS
-alter table JBPM_TASKINSTANCE drop constraint FK_TASKINST_TMINST
-alter table JBPM_TASKINSTANCE drop constraint FK_TASKINST_TOKEN
-alter table JBPM_TASKINSTANCE drop constraint FK_TASKINST_SLINST
-alter table JBPM_TASKINSTANCE drop constraint FK_TASKINST_TASK
-alter table JBPM_TOKEN drop constraint FK_TOKEN_SUBPI
-alter table JBPM_TOKEN drop constraint FK_TOKEN_PROCINST
-alter table JBPM_TOKEN drop constraint FK_TOKEN_NODE
-alter table JBPM_TOKEN drop constraint FK_TOKEN_PARENT
-alter table JBPM_TOKENVARIABLEMAP drop constraint FK_TKVARMAP_TOKEN
-alter table JBPM_TOKENVARIABLEMAP drop constraint FK_TKVARMAP_CTXT
-alter table JBPM_TRANSITION drop constraint FK_TRANSITION_FROM
-alter table JBPM_TRANSITION drop constraint FK_TRANS_PROCDEF
-alter table JBPM_TRANSITION drop constraint FK_TRANSITION_TO
-alter table JBPM_VARIABLEACCESS drop constraint FK_VARACC_PROCST
-alter table JBPM_VARIABLEACCESS drop constraint FK_VARACC_SCRIPT
-alter table JBPM_VARIABLEACCESS drop constraint FK_VARACC_TSKCTRL
-alter table JBPM_VARIABLEINSTANCE drop constraint FK_VARINST_PRCINST
-alter table JBPM_VARIABLEINSTANCE drop constraint FK_VARINST_TKVARMP
-alter table JBPM_VARIABLEINSTANCE drop constraint FK_VARINST_TK
-alter table JBPM_VARIABLEINSTANCE drop constraint FK_BYTEINST_ARRAY
-alter table JBPM_VARIABLEINSTANCE drop constraint FK_VAR_TSKINST
-drop table JBPM_ACTION
-drop table JBPM_BYTEARRAY
-drop table JBPM_BYTEBLOCK
-drop table JBPM_COMMENT
-drop table JBPM_DECISIONCONDITIONS
-drop table JBPM_DELEGATION
-drop table JBPM_EVENT
-drop table JBPM_EXCEPTIONHANDLER
-drop table JBPM_ID_GROUP
-drop table JBPM_ID_MEMBERSHIP
-drop table JBPM_ID_PERMISSIONS
-drop table JBPM_ID_USER
-drop table JBPM_JOB
-drop table JBPM_LOG
-drop table JBPM_MODULEDEFINITION
-drop table JBPM_MODULEINSTANCE
-drop table JBPM_NODE
-drop table JBPM_POOLEDACTOR
-drop table JBPM_PROCESSDEFINITION
-drop table JBPM_PROCESSINSTANCE
-drop table JBPM_RUNTIMEACTION
-drop table JBPM_SWIMLANE
-drop table JBPM_SWIMLANEINSTANCE
-drop table JBPM_TASK
-drop table JBPM_TASKACTORPOOL
-drop table JBPM_TASKCONTROLLER
-drop table JBPM_TASKINSTANCE
-drop table JBPM_TOKEN
-drop table JBPM_TOKENVARIABLEMAP
-drop table JBPM_TRANSITION
-drop table JBPM_VARIABLEACCESS
-drop table JBPM_VARIABLEINSTANCE
create table JBPM_ACTION (ID_ numeric(19,0) identity not null, class char(1) not null, NAME_ varchar(255) null, ISPROPAGATIONALLOWED_ tinyint null, ACTIONEXPRESSION_ varchar(255) null, ISASYNC_ tinyint null, REFERENCEDACTION_ numeric(19,0) null, ACTIONDELEGATION_ numeric(19,0) null, EVENT_ numeric(19,0) null, PROCESSDEFINITION_ numeric(19,0) null, EXPRESSION_ varchar(4000) null, TIMERNAME_ varchar(255) null, DUEDATE_ varchar(255) null, REPEAT_ varchar(255) null, TRANSITIONNAME_ varchar(255) null, TIMERACTION_ numeric(19,0) null, EVENTINDEX_ int null, EXCEPTIONHANDLER_ numeric(19,0) null, EXCEPTIONHANDLERINDEX_ int null, primary key (ID_))
create table JBPM_BYTEARRAY (ID_ numeric(19,0) identity not null, NAME_ varchar(255) null, FILEDEFINITION_ numeric(19,0) null, primary key (ID_))
create table JBPM_BYTEBLOCK (PROCESSFILE_ numeric(19,0) not null, BYTES_ varbinary(1024) null, INDEX_ int not null, primary key (PROCESSFILE_, INDEX_))
Modified: jbpm3/branches/jbpm-3.2.5.SP/modules/db/src/main/compatibility/jbpm-3.2.2/jbpm.jpdl.oracle.sql
===================================================================
--- jbpm3/branches/jbpm-3.2.5.SP/modules/db/src/main/compatibility/jbpm-3.2.2/jbpm.jpdl.oracle.sql 2009-02-19 19:31:58 UTC (rev 3955)
+++ jbpm3/branches/jbpm-3.2.5.SP/modules/db/src/main/compatibility/jbpm-3.2.2/jbpm.jpdl.oracle.sql 2009-02-19 19:59:05 UTC (rev 3956)
@@ -1,36 +1,3 @@
-drop table JBPM_ACTION cascade constraints;
-drop table JBPM_BYTEARRAY cascade constraints;
-drop table JBPM_BYTEBLOCK cascade constraints;
-drop table JBPM_COMMENT cascade constraints;
-drop table JBPM_DECISIONCONDITIONS cascade constraints;
-drop table JBPM_DELEGATION cascade constraints;
-drop table JBPM_EVENT cascade constraints;
-drop table JBPM_EXCEPTIONHANDLER cascade constraints;
-drop table JBPM_ID_GROUP cascade constraints;
-drop table JBPM_ID_MEMBERSHIP cascade constraints;
-drop table JBPM_ID_PERMISSIONS cascade constraints;
-drop table JBPM_ID_USER cascade constraints;
-drop table JBPM_JOB cascade constraints;
-drop table JBPM_LOG cascade constraints;
-drop table JBPM_MODULEDEFINITION cascade constraints;
-drop table JBPM_MODULEINSTANCE cascade constraints;
-drop table JBPM_NODE cascade constraints;
-drop table JBPM_POOLEDACTOR cascade constraints;
-drop table JBPM_PROCESSDEFINITION cascade constraints;
-drop table JBPM_PROCESSINSTANCE cascade constraints;
-drop table JBPM_RUNTIMEACTION cascade constraints;
-drop table JBPM_SWIMLANE cascade constraints;
-drop table JBPM_SWIMLANEINSTANCE cascade constraints;
-drop table JBPM_TASK cascade constraints;
-drop table JBPM_TASKACTORPOOL cascade constraints;
-drop table JBPM_TASKCONTROLLER cascade constraints;
-drop table JBPM_TASKINSTANCE cascade constraints;
-drop table JBPM_TOKEN cascade constraints;
-drop table JBPM_TOKENVARIABLEMAP cascade constraints;
-drop table JBPM_TRANSITION cascade constraints;
-drop table JBPM_VARIABLEACCESS cascade constraints;
-drop table JBPM_VARIABLEINSTANCE cascade constraints;
-drop sequence hibernate_sequence;
create table JBPM_ACTION (ID_ number(19,0) not null, class char(1 char) not null, NAME_ varchar2(255 char), ISPROPAGATIONALLOWED_ number(1,0), ACTIONEXPRESSION_ varchar2(255 char), ISASYNC_ number(1,0), REFERENCEDACTION_ number(19,0), ACTIONDELEGATION_ number(19,0), EVENT_ number(19,0), PROCESSDEFINITION_ number(19,0), EXPRESSION_ varchar2(4000 char), TIMERNAME_ varchar2(255 char), DUEDATE_ varchar2(255 char), REPEAT_ varchar2(255 char), TRANSITIONNAME_ varchar2(255 char), TIMERACTION_ number(19,0), EVENTINDEX_ number(10,0), EXCEPTIONHANDLER_ number(19,0), EXCEPTIONHANDLERINDEX_ number(10,0), primary key (ID_));
create table JBPM_BYTEARRAY (ID_ number(19,0) not null, NAME_ varchar2(255 char), FILEDEFINITION_ number(19,0), primary key (ID_));
create table JBPM_BYTEBLOCK (PROCESSFILE_ number(19,0) not null, BYTES_ raw(1024), INDEX_ number(10,0) not null, primary key (PROCESSFILE_, INDEX_));
Modified: jbpm3/branches/jbpm-3.2.5.SP/modules/db/src/main/compatibility/jbpm-3.2.2/jbpm.jpdl.pointbase.sql
===================================================================
--- jbpm3/branches/jbpm-3.2.5.SP/modules/db/src/main/compatibility/jbpm-3.2.2/jbpm.jpdl.pointbase.sql 2009-02-19 19:31:58 UTC (rev 3955)
+++ jbpm3/branches/jbpm-3.2.5.SP/modules/db/src/main/compatibility/jbpm-3.2.2/jbpm.jpdl.pointbase.sql 2009-02-19 19:59:05 UTC (rev 3956)
@@ -1,36 +1,3 @@
-drop table JBPM_ACTION cascade
-drop table JBPM_BYTEARRAY cascade
-drop table JBPM_BYTEBLOCK cascade
-drop table JBPM_COMMENT cascade
-drop table JBPM_DECISIONCONDITIONS cascade
-drop table JBPM_DELEGATION cascade
-drop table JBPM_EVENT cascade
-drop table JBPM_EXCEPTIONHANDLER cascade
-drop table JBPM_ID_GROUP cascade
-drop table JBPM_ID_MEMBERSHIP cascade
-drop table JBPM_ID_PERMISSIONS cascade
-drop table JBPM_ID_USER cascade
-drop table JBPM_JOB cascade
-drop table JBPM_LOG cascade
-drop table JBPM_MODULEDEFINITION cascade
-drop table JBPM_MODULEINSTANCE cascade
-drop table JBPM_NODE cascade
-drop table JBPM_POOLEDACTOR cascade
-drop table JBPM_PROCESSDEFINITION cascade
-drop table JBPM_PROCESSINSTANCE cascade
-drop table JBPM_RUNTIMEACTION cascade
-drop table JBPM_SWIMLANE cascade
-drop table JBPM_SWIMLANEINSTANCE cascade
-drop table JBPM_TASK cascade
-drop table JBPM_TASKACTORPOOL cascade
-drop table JBPM_TASKCONTROLLER cascade
-drop table JBPM_TASKINSTANCE cascade
-drop table JBPM_TOKEN cascade
-drop table JBPM_TOKENVARIABLEMAP cascade
-drop table JBPM_TRANSITION cascade
-drop table JBPM_VARIABLEACCESS cascade
-drop table JBPM_VARIABLEINSTANCE cascade
-drop table hibernate_unique_key cascade
create table JBPM_ACTION (ID_ bigint not null, class char(1) not null, NAME_ varchar(255), ISPROPAGATIONALLOWED_ smallint, ACTIONEXPRESSION_ varchar(255), ISASYNC_ smallint, REFERENCEDACTION_ bigint, ACTIONDELEGATION_ bigint, EVENT_ bigint, PROCESSDEFINITION_ bigint, EXPRESSION_ varchar(4000), TIMERNAME_ varchar(255), DUEDATE_ varchar(255), REPEAT_ varchar(255), TRANSITIONNAME_ varchar(255), TIMERACTION_ bigint, EVENTINDEX_ integer, EXCEPTIONHANDLER_ bigint, EXCEPTIONHANDLERINDEX_ integer, primary key (ID_))
create table JBPM_BYTEARRAY (ID_ bigint not null, NAME_ varchar(255), FILEDEFINITION_ bigint, primary key (ID_))
create table JBPM_BYTEBLOCK (PROCESSFILE_ bigint not null, BYTES_ blob(1024), INDEX_ integer not null, primary key (PROCESSFILE_, INDEX_))
Modified: jbpm3/branches/jbpm-3.2.5.SP/modules/db/src/main/compatibility/jbpm-3.2.2/jbpm.jpdl.postgresql.sql
===================================================================
--- jbpm3/branches/jbpm-3.2.5.SP/modules/db/src/main/compatibility/jbpm-3.2.2/jbpm.jpdl.postgresql.sql 2009-02-19 19:31:58 UTC (rev 3955)
+++ jbpm3/branches/jbpm-3.2.5.SP/modules/db/src/main/compatibility/jbpm-3.2.2/jbpm.jpdl.postgresql.sql 2009-02-19 19:59:05 UTC (rev 3956)
@@ -1,126 +1,3 @@
-alter table JBPM_ACTION drop constraint FK_ACTION_REFACT
-alter table JBPM_ACTION drop constraint FK_CRTETIMERACT_TA
-alter table JBPM_ACTION drop constraint FK_ACTION_PROCDEF
-alter table JBPM_ACTION drop constraint FK_ACTION_EVENT
-alter table JBPM_ACTION drop constraint FK_ACTION_ACTNDEL
-alter table JBPM_ACTION drop constraint FK_ACTION_EXPTHDL
-alter table JBPM_BYTEARRAY drop constraint FK_BYTEARR_FILDEF
-alter table JBPM_BYTEBLOCK drop constraint FK_BYTEBLOCK_FILE
-alter table JBPM_COMMENT drop constraint FK_COMMENT_TOKEN
-alter table JBPM_COMMENT drop constraint FK_COMMENT_TSK
-alter table JBPM_DECISIONCONDITIONS drop constraint FK_DECCOND_DEC
-alter table JBPM_DELEGATION drop constraint FK_DELEGATION_PRCD
-alter table JBPM_EVENT drop constraint FK_EVENT_PROCDEF
-alter table JBPM_EVENT drop constraint FK_EVENT_TRANS
-alter table JBPM_EVENT drop constraint FK_EVENT_NODE
-alter table JBPM_EVENT drop constraint FK_EVENT_TASK
-alter table JBPM_ID_GROUP drop constraint FK_ID_GRP_PARENT
-alter table JBPM_ID_MEMBERSHIP drop constraint FK_ID_MEMSHIP_GRP
-alter table JBPM_ID_MEMBERSHIP drop constraint FK_ID_MEMSHIP_USR
-alter table JBPM_JOB drop constraint FK_JOB_PRINST
-alter table JBPM_JOB drop constraint FK_JOB_ACTION
-alter table JBPM_JOB drop constraint FK_JOB_TOKEN
-alter table JBPM_JOB drop constraint FK_JOB_NODE
-alter table JBPM_JOB drop constraint FK_JOB_TSKINST
-alter table JBPM_LOG drop constraint FK_LOG_SOURCENODE
-alter table JBPM_LOG drop constraint FK_LOG_DESTNODE
-alter table JBPM_LOG drop constraint FK_LOG_TOKEN
-alter table JBPM_LOG drop constraint FK_LOG_TRANSITION
-alter table JBPM_LOG drop constraint FK_LOG_TASKINST
-alter table JBPM_LOG drop constraint FK_LOG_CHILDTOKEN
-alter table JBPM_LOG drop constraint FK_LOG_OLDBYTES
-alter table JBPM_LOG drop constraint FK_LOG_SWIMINST
-alter table JBPM_LOG drop constraint FK_LOG_NEWBYTES
-alter table JBPM_LOG drop constraint FK_LOG_ACTION
-alter table JBPM_LOG drop constraint FK_LOG_VARINST
-alter table JBPM_LOG drop constraint FK_LOG_NODE
-alter table JBPM_LOG drop constraint FK_LOG_PARENT
-alter table JBPM_MODULEDEFINITION drop constraint FK_MODDEF_PROCDEF
-alter table JBPM_MODULEDEFINITION drop constraint FK_TSKDEF_START
-alter table JBPM_MODULEINSTANCE drop constraint FK_MODINST_PRCINST
-alter table JBPM_MODULEINSTANCE drop constraint FK_TASKMGTINST_TMD
-alter table JBPM_NODE drop constraint FK_DECISION_DELEG
-alter table JBPM_NODE drop constraint FK_NODE_PROCDEF
-alter table JBPM_NODE drop constraint FK_NODE_ACTION
-alter table JBPM_NODE drop constraint FK_PROCST_SBPRCDEF
-alter table JBPM_NODE drop constraint FK_NODE_SCRIPT
-alter table JBPM_NODE drop constraint FK_NODE_SUPERSTATE
-alter table JBPM_POOLEDACTOR drop constraint FK_POOLEDACTOR_SLI
-alter table JBPM_PROCESSDEFINITION drop constraint FK_PROCDEF_STRTSTA
-alter table JBPM_PROCESSINSTANCE drop constraint FK_PROCIN_PROCDEF
-alter table JBPM_PROCESSINSTANCE drop constraint FK_PROCIN_ROOTTKN
-alter table JBPM_PROCESSINSTANCE drop constraint FK_PROCIN_SPROCTKN
-alter table JBPM_RUNTIMEACTION drop constraint FK_RTACTN_PROCINST
-alter table JBPM_RUNTIMEACTION drop constraint FK_RTACTN_ACTION
-alter table JBPM_SWIMLANE drop constraint FK_SWL_ASSDEL
-alter table JBPM_SWIMLANE drop constraint FK_SWL_TSKMGMTDEF
-alter table JBPM_SWIMLANEINSTANCE drop constraint FK_SWIMLANEINST_TM
-alter table JBPM_SWIMLANEINSTANCE drop constraint FK_SWIMLANEINST_SL
-alter table JBPM_TASK drop constraint FK_TASK_STARTST
-alter table JBPM_TASK drop constraint FK_TASK_PROCDEF
-alter table JBPM_TASK drop constraint FK_TASK_ASSDEL
-alter table JBPM_TASK drop constraint FK_TASK_SWIMLANE
-alter table JBPM_TASK drop constraint FK_TASK_TASKNODE
-alter table JBPM_TASK drop constraint FK_TASK_TASKMGTDEF
-alter table JBPM_TASK drop constraint FK_TSK_TSKCTRL
-alter table JBPM_TASKACTORPOOL drop constraint FK_TASKACTPL_TSKI
-alter table JBPM_TASKACTORPOOL drop constraint FK_TSKACTPOL_PLACT
-alter table JBPM_TASKCONTROLLER drop constraint FK_TSKCTRL_DELEG
-alter table JBPM_TASKINSTANCE drop constraint FK_TSKINS_PRCINS
-alter table JBPM_TASKINSTANCE drop constraint FK_TASKINST_TMINST
-alter table JBPM_TASKINSTANCE drop constraint FK_TASKINST_TOKEN
-alter table JBPM_TASKINSTANCE drop constraint FK_TASKINST_SLINST
-alter table JBPM_TASKINSTANCE drop constraint FK_TASKINST_TASK
-alter table JBPM_TOKEN drop constraint FK_TOKEN_SUBPI
-alter table JBPM_TOKEN drop constraint FK_TOKEN_PROCINST
-alter table JBPM_TOKEN drop constraint FK_TOKEN_NODE
-alter table JBPM_TOKEN drop constraint FK_TOKEN_PARENT
-alter table JBPM_TOKENVARIABLEMAP drop constraint FK_TKVARMAP_TOKEN
-alter table JBPM_TOKENVARIABLEMAP drop constraint FK_TKVARMAP_CTXT
-alter table JBPM_TRANSITION drop constraint FK_TRANSITION_FROM
-alter table JBPM_TRANSITION drop constraint FK_TRANS_PROCDEF
-alter table JBPM_TRANSITION drop constraint FK_TRANSITION_TO
-alter table JBPM_VARIABLEACCESS drop constraint FK_VARACC_PROCST
-alter table JBPM_VARIABLEACCESS drop constraint FK_VARACC_SCRIPT
-alter table JBPM_VARIABLEACCESS drop constraint FK_VARACC_TSKCTRL
-alter table JBPM_VARIABLEINSTANCE drop constraint FK_VARINST_PRCINST
-alter table JBPM_VARIABLEINSTANCE drop constraint FK_VARINST_TKVARMP
-alter table JBPM_VARIABLEINSTANCE drop constraint FK_VARINST_TK
-alter table JBPM_VARIABLEINSTANCE drop constraint FK_BYTEINST_ARRAY
-alter table JBPM_VARIABLEINSTANCE drop constraint FK_VAR_TSKINST
-drop table JBPM_ACTION
-drop table JBPM_BYTEARRAY
-drop table JBPM_BYTEBLOCK
-drop table JBPM_COMMENT
-drop table JBPM_DECISIONCONDITIONS
-drop table JBPM_DELEGATION
-drop table JBPM_EVENT
-drop table JBPM_EXCEPTIONHANDLER
-drop table JBPM_ID_GROUP
-drop table JBPM_ID_MEMBERSHIP
-drop table JBPM_ID_PERMISSIONS
-drop table JBPM_ID_USER
-drop table JBPM_JOB
-drop table JBPM_LOG
-drop table JBPM_MODULEDEFINITION
-drop table JBPM_MODULEINSTANCE
-drop table JBPM_NODE
-drop table JBPM_POOLEDACTOR
-drop table JBPM_PROCESSDEFINITION
-drop table JBPM_PROCESSINSTANCE
-drop table JBPM_RUNTIMEACTION
-drop table JBPM_SWIMLANE
-drop table JBPM_SWIMLANEINSTANCE
-drop table JBPM_TASK
-drop table JBPM_TASKACTORPOOL
-drop table JBPM_TASKCONTROLLER
-drop table JBPM_TASKINSTANCE
-drop table JBPM_TOKEN
-drop table JBPM_TOKENVARIABLEMAP
-drop table JBPM_TRANSITION
-drop table JBPM_VARIABLEACCESS
-drop table JBPM_VARIABLEINSTANCE
-drop sequence hibernate_sequence
create table JBPM_ACTION (ID_ int8 not null, class char(1) not null, NAME_ varchar(255), ISPROPAGATIONALLOWED_ bool, ACTIONEXPRESSION_ varchar(255), ISASYNC_ bool, REFERENCEDACTION_ int8, ACTIONDELEGATION_ int8, EVENT_ int8, PROCESSDEFINITION_ int8, EXPRESSION_ varchar(4000), TIMERNAME_ varchar(255), DUEDATE_ varchar(255), REPEAT_ varchar(255), TRANSITIONNAME_ varchar(255), TIMERACTION_ int8, EVENTINDEX_ int4, EXCEPTIONHANDLER_ int8, EXCEPTIONHANDLERINDEX_ int4, primary key (ID_))
create table JBPM_BYTEARRAY (ID_ int8 not null, NAME_ varchar(255), FILEDEFINITION_ int8, primary key (ID_))
create table JBPM_BYTEBLOCK (PROCESSFILE_ int8 not null, BYTES_ bytea, INDEX_ int4 not null, primary key (PROCESSFILE_, INDEX_))
Modified: jbpm3/branches/jbpm-3.2.5.SP/modules/db/src/main/compatibility/jbpm-3.2.2/jbpm.jpdl.progress.sql
===================================================================
--- jbpm3/branches/jbpm-3.2.5.SP/modules/db/src/main/compatibility/jbpm-3.2.2/jbpm.jpdl.progress.sql 2009-02-19 19:31:58 UTC (rev 3955)
+++ jbpm3/branches/jbpm-3.2.5.SP/modules/db/src/main/compatibility/jbpm-3.2.2/jbpm.jpdl.progress.sql 2009-02-19 19:59:05 UTC (rev 3956)
@@ -1,126 +1,3 @@
-alter table JBPM_ACTION drop constraint FK_ACTION_REFACT
-alter table JBPM_ACTION drop constraint FK_CRTETIMERACT_TA
-alter table JBPM_ACTION drop constraint FK_ACTION_PROCDEF
-alter table JBPM_ACTION drop constraint FK_ACTION_EVENT
-alter table JBPM_ACTION drop constraint FK_ACTION_ACTNDEL
-alter table JBPM_ACTION drop constraint FK_ACTION_EXPTHDL
-alter table JBPM_BYTEARRAY drop constraint FK_BYTEARR_FILDEF
-alter table JBPM_BYTEBLOCK drop constraint FK_BYTEBLOCK_FILE
-alter table JBPM_COMMENT drop constraint FK_COMMENT_TOKEN
-alter table JBPM_COMMENT drop constraint FK_COMMENT_TSK
-alter table JBPM_DECISIONCONDITIONS drop constraint FK_DECCOND_DEC
-alter table JBPM_DELEGATION drop constraint FK_DELEGATION_PRCD
-alter table JBPM_EVENT drop constraint FK_EVENT_PROCDEF
-alter table JBPM_EVENT drop constraint FK_EVENT_TRANS
-alter table JBPM_EVENT drop constraint FK_EVENT_NODE
-alter table JBPM_EVENT drop constraint FK_EVENT_TASK
-alter table JBPM_ID_GROUP drop constraint FK_ID_GRP_PARENT
-alter table JBPM_ID_MEMBERSHIP drop constraint FK_ID_MEMSHIP_GRP
-alter table JBPM_ID_MEMBERSHIP drop constraint FK_ID_MEMSHIP_USR
-alter table JBPM_JOB drop constraint FK_JOB_PRINST
-alter table JBPM_JOB drop constraint FK_JOB_ACTION
-alter table JBPM_JOB drop constraint FK_JOB_TOKEN
-alter table JBPM_JOB drop constraint FK_JOB_NODE
-alter table JBPM_JOB drop constraint FK_JOB_TSKINST
-alter table JBPM_LOG drop constraint FK_LOG_SOURCENODE
-alter table JBPM_LOG drop constraint FK_LOG_DESTNODE
-alter table JBPM_LOG drop constraint FK_LOG_TOKEN
-alter table JBPM_LOG drop constraint FK_LOG_TRANSITION
-alter table JBPM_LOG drop constraint FK_LOG_TASKINST
-alter table JBPM_LOG drop constraint FK_LOG_CHILDTOKEN
-alter table JBPM_LOG drop constraint FK_LOG_OLDBYTES
-alter table JBPM_LOG drop constraint FK_LOG_SWIMINST
-alter table JBPM_LOG drop constraint FK_LOG_NEWBYTES
-alter table JBPM_LOG drop constraint FK_LOG_ACTION
-alter table JBPM_LOG drop constraint FK_LOG_VARINST
-alter table JBPM_LOG drop constraint FK_LOG_NODE
-alter table JBPM_LOG drop constraint FK_LOG_PARENT
-alter table JBPM_MODULEDEFINITION drop constraint FK_MODDEF_PROCDEF
-alter table JBPM_MODULEDEFINITION drop constraint FK_TSKDEF_START
-alter table JBPM_MODULEINSTANCE drop constraint FK_MODINST_PRCINST
-alter table JBPM_MODULEINSTANCE drop constraint FK_TASKMGTINST_TMD
-alter table JBPM_NODE drop constraint FK_DECISION_DELEG
-alter table JBPM_NODE drop constraint FK_NODE_PROCDEF
-alter table JBPM_NODE drop constraint FK_NODE_ACTION
-alter table JBPM_NODE drop constraint FK_PROCST_SBPRCDEF
-alter table JBPM_NODE drop constraint FK_NODE_SCRIPT
-alter table JBPM_NODE drop constraint FK_NODE_SUPERSTATE
-alter table JBPM_POOLEDACTOR drop constraint FK_POOLEDACTOR_SLI
-alter table JBPM_PROCESSDEFINITION drop constraint FK_PROCDEF_STRTSTA
-alter table JBPM_PROCESSINSTANCE drop constraint FK_PROCIN_PROCDEF
-alter table JBPM_PROCESSINSTANCE drop constraint FK_PROCIN_ROOTTKN
-alter table JBPM_PROCESSINSTANCE drop constraint FK_PROCIN_SPROCTKN
-alter table JBPM_RUNTIMEACTION drop constraint FK_RTACTN_PROCINST
-alter table JBPM_RUNTIMEACTION drop constraint FK_RTACTN_ACTION
-alter table JBPM_SWIMLANE drop constraint FK_SWL_ASSDEL
-alter table JBPM_SWIMLANE drop constraint FK_SWL_TSKMGMTDEF
-alter table JBPM_SWIMLANEINSTANCE drop constraint FK_SWIMLANEINST_TM
-alter table JBPM_SWIMLANEINSTANCE drop constraint FK_SWIMLANEINST_SL
-alter table JBPM_TASK drop constraint FK_TASK_STARTST
-alter table JBPM_TASK drop constraint FK_TASK_PROCDEF
-alter table JBPM_TASK drop constraint FK_TASK_ASSDEL
-alter table JBPM_TASK drop constraint FK_TASK_SWIMLANE
-alter table JBPM_TASK drop constraint FK_TASK_TASKNODE
-alter table JBPM_TASK drop constraint FK_TASK_TASKMGTDEF
-alter table JBPM_TASK drop constraint FK_TSK_TSKCTRL
-alter table JBPM_TASKACTORPOOL drop constraint FK_TASKACTPL_TSKI
-alter table JBPM_TASKACTORPOOL drop constraint FK_TSKACTPOL_PLACT
-alter table JBPM_TASKCONTROLLER drop constraint FK_TSKCTRL_DELEG
-alter table JBPM_TASKINSTANCE drop constraint FK_TSKINS_PRCINS
-alter table JBPM_TASKINSTANCE drop constraint FK_TASKINST_TMINST
-alter table JBPM_TASKINSTANCE drop constraint FK_TASKINST_TOKEN
-alter table JBPM_TASKINSTANCE drop constraint FK_TASKINST_SLINST
-alter table JBPM_TASKINSTANCE drop constraint FK_TASKINST_TASK
-alter table JBPM_TOKEN drop constraint FK_TOKEN_SUBPI
-alter table JBPM_TOKEN drop constraint FK_TOKEN_PROCINST
-alter table JBPM_TOKEN drop constraint FK_TOKEN_NODE
-alter table JBPM_TOKEN drop constraint FK_TOKEN_PARENT
-alter table JBPM_TOKENVARIABLEMAP drop constraint FK_TKVARMAP_TOKEN
-alter table JBPM_TOKENVARIABLEMAP drop constraint FK_TKVARMAP_CTXT
-alter table JBPM_TRANSITION drop constraint FK_TRANSITION_FROM
-alter table JBPM_TRANSITION drop constraint FK_TRANS_PROCDEF
-alter table JBPM_TRANSITION drop constraint FK_TRANSITION_TO
-alter table JBPM_VARIABLEACCESS drop constraint FK_VARACC_PROCST
-alter table JBPM_VARIABLEACCESS drop constraint FK_VARACC_SCRIPT
-alter table JBPM_VARIABLEACCESS drop constraint FK_VARACC_TSKCTRL
-alter table JBPM_VARIABLEINSTANCE drop constraint FK_VARINST_PRCINST
-alter table JBPM_VARIABLEINSTANCE drop constraint FK_VARINST_TKVARMP
-alter table JBPM_VARIABLEINSTANCE drop constraint FK_VARINST_TK
-alter table JBPM_VARIABLEINSTANCE drop constraint FK_BYTEINST_ARRAY
-alter table JBPM_VARIABLEINSTANCE drop constraint FK_VAR_TSKINST
-drop table JBPM_ACTION
-drop table JBPM_BYTEARRAY
-drop table JBPM_BYTEBLOCK
-drop table JBPM_COMMENT
-drop table JBPM_DECISIONCONDITIONS
-drop table JBPM_DELEGATION
-drop table JBPM_EVENT
-drop table JBPM_EXCEPTIONHANDLER
-drop table JBPM_ID_GROUP
-drop table JBPM_ID_MEMBERSHIP
-drop table JBPM_ID_PERMISSIONS
-drop table JBPM_ID_USER
-drop table JBPM_JOB
-drop table JBPM_LOG
-drop table JBPM_MODULEDEFINITION
-drop table JBPM_MODULEINSTANCE
-drop table JBPM_NODE
-drop table JBPM_POOLEDACTOR
-drop table JBPM_PROCESSDEFINITION
-drop table JBPM_PROCESSINSTANCE
-drop table JBPM_RUNTIMEACTION
-drop table JBPM_SWIMLANE
-drop table JBPM_SWIMLANEINSTANCE
-drop table JBPM_TASK
-drop table JBPM_TASKACTORPOOL
-drop table JBPM_TASKCONTROLLER
-drop table JBPM_TASKINSTANCE
-drop table JBPM_TOKEN
-drop table JBPM_TOKENVARIABLEMAP
-drop table JBPM_TRANSITION
-drop table JBPM_VARIABLEACCESS
-drop table JBPM_VARIABLEINSTANCE
-drop table hibernate_unique_key
create table JBPM_ACTION (ID_ numeric not null, class character(1) not null, NAME_ varchar(255), ISPROPAGATIONALLOWED_ bit, ACTIONEXPRESSION_ varchar(255), ISASYNC_ bit, REFERENCEDACTION_ numeric, ACTIONDELEGATION_ numeric, EVENT_ numeric, PROCESSDEFINITION_ numeric, EXPRESSION_ varchar(4000), TIMERNAME_ varchar(255), DUEDATE_ varchar(255), REPEAT_ varchar(255), TRANSITIONNAME_ varchar(255), TIMERACTION_ numeric, EVENTINDEX_ integer, EXCEPTIONHANDLER_ numeric, EXCEPTIONHANDLERINDEX_ integer, primary key (ID_))
create table JBPM_BYTEARRAY (ID_ numeric not null, NAME_ varchar(255), FILEDEFINITION_ numeric, primary key (ID_))
create table JBPM_BYTEBLOCK (PROCESSFILE_ numeric not null, BYTES_ varbinary(1024), INDEX_ integer not null, primary key (PROCESSFILE_, INDEX_))
Modified: jbpm3/branches/jbpm-3.2.5.SP/modules/db/src/main/compatibility/jbpm-3.2.2/jbpm.jpdl.sapdb.sql
===================================================================
--- jbpm3/branches/jbpm-3.2.5.SP/modules/db/src/main/compatibility/jbpm-3.2.2/jbpm.jpdl.sapdb.sql 2009-02-19 19:31:58 UTC (rev 3955)
+++ jbpm3/branches/jbpm-3.2.5.SP/modules/db/src/main/compatibility/jbpm-3.2.2/jbpm.jpdl.sapdb.sql 2009-02-19 19:59:05 UTC (rev 3956)
@@ -1,36 +1,3 @@
-drop table JBPM_ACTION
-drop table JBPM_BYTEARRAY
-drop table JBPM_BYTEBLOCK
-drop table JBPM_COMMENT
-drop table JBPM_DECISIONCONDITIONS
-drop table JBPM_DELEGATION
-drop table JBPM_EVENT
-drop table JBPM_EXCEPTIONHANDLER
-drop table JBPM_ID_GROUP
-drop table JBPM_ID_MEMBERSHIP
-drop table JBPM_ID_PERMISSIONS
-drop table JBPM_ID_USER
-drop table JBPM_JOB
-drop table JBPM_LOG
-drop table JBPM_MODULEDEFINITION
-drop table JBPM_MODULEINSTANCE
-drop table JBPM_NODE
-drop table JBPM_POOLEDACTOR
-drop table JBPM_PROCESSDEFINITION
-drop table JBPM_PROCESSINSTANCE
-drop table JBPM_RUNTIMEACTION
-drop table JBPM_SWIMLANE
-drop table JBPM_SWIMLANEINSTANCE
-drop table JBPM_TASK
-drop table JBPM_TASKACTORPOOL
-drop table JBPM_TASKCONTROLLER
-drop table JBPM_TASKINSTANCE
-drop table JBPM_TOKEN
-drop table JBPM_TOKENVARIABLEMAP
-drop table JBPM_TRANSITION
-drop table JBPM_VARIABLEACCESS
-drop table JBPM_VARIABLEINSTANCE
-drop sequence hibernate_sequence
create table JBPM_ACTION (ID_ fixed(19,0) not null, class char(1) not null, NAME_ varchar(255) null, ISPROPAGATIONALLOWED_ boolean null, ACTIONEXPRESSION_ varchar(255) null, ISASYNC_ boolean null, REFERENCEDACTION_ fixed(19,0) null, ACTIONDELEGATION_ fixed(19,0) null, EVENT_ fixed(19,0) null, PROCESSDEFINITION_ fixed(19,0) null, EXPRESSION_ varchar(4000) null, TIMERNAME_ varchar(255) null, DUEDATE_ varchar(255) null, REPEAT_ varchar(255) null, TRANSITIONNAME_ varchar(255) null, TIMERACTION_ fixed(19,0) null, EVENTINDEX_ int null, EXCEPTIONHANDLER_ fixed(19,0) null, EXCEPTIONHANDLERINDEX_ int null, primary key (ID_))
create table JBPM_BYTEARRAY (ID_ fixed(19,0) not null, NAME_ varchar(255) null, FILEDEFINITION_ fixed(19,0) null, primary key (ID_))
create table JBPM_BYTEBLOCK (PROCESSFILE_ fixed(19,0) not null, BYTES_ long byte null, INDEX_ int not null, primary key (PROCESSFILE_, INDEX_))
Modified: jbpm3/branches/jbpm-3.2.5.SP/modules/db/src/main/compatibility/jbpm-3.2.2/jbpm.jpdl.sybase.sql
===================================================================
--- jbpm3/branches/jbpm-3.2.5.SP/modules/db/src/main/compatibility/jbpm-3.2.2/jbpm.jpdl.sybase.sql 2009-02-19 19:31:58 UTC (rev 3955)
+++ jbpm3/branches/jbpm-3.2.5.SP/modules/db/src/main/compatibility/jbpm-3.2.2/jbpm.jpdl.sybase.sql 2009-02-19 19:59:05 UTC (rev 3956)
@@ -1,125 +1,3 @@
-alter table JBPM_ACTION drop constraint FK_ACTION_REFACT
-alter table JBPM_ACTION drop constraint FK_CRTETIMERACT_TA
-alter table JBPM_ACTION drop constraint FK_ACTION_PROCDEF
-alter table JBPM_ACTION drop constraint FK_ACTION_EVENT
-alter table JBPM_ACTION drop constraint FK_ACTION_ACTNDEL
-alter table JBPM_ACTION drop constraint FK_ACTION_EXPTHDL
-alter table JBPM_BYTEARRAY drop constraint FK_BYTEARR_FILDEF
-alter table JBPM_BYTEBLOCK drop constraint FK_BYTEBLOCK_FILE
-alter table JBPM_COMMENT drop constraint FK_COMMENT_TOKEN
-alter table JBPM_COMMENT drop constraint FK_COMMENT_TSK
-alter table JBPM_DECISIONCONDITIONS drop constraint FK_DECCOND_DEC
-alter table JBPM_DELEGATION drop constraint FK_DELEGATION_PRCD
-alter table JBPM_EVENT drop constraint FK_EVENT_PROCDEF
-alter table JBPM_EVENT drop constraint FK_EVENT_TRANS
-alter table JBPM_EVENT drop constraint FK_EVENT_NODE
-alter table JBPM_EVENT drop constraint FK_EVENT_TASK
-alter table JBPM_ID_GROUP drop constraint FK_ID_GRP_PARENT
-alter table JBPM_ID_MEMBERSHIP drop constraint FK_ID_MEMSHIP_GRP
-alter table JBPM_ID_MEMBERSHIP drop constraint FK_ID_MEMSHIP_USR
-alter table JBPM_JOB drop constraint FK_JOB_PRINST
-alter table JBPM_JOB drop constraint FK_JOB_ACTION
-alter table JBPM_JOB drop constraint FK_JOB_TOKEN
-alter table JBPM_JOB drop constraint FK_JOB_NODE
-alter table JBPM_JOB drop constraint FK_JOB_TSKINST
-alter table JBPM_LOG drop constraint FK_LOG_SOURCENODE
-alter table JBPM_LOG drop constraint FK_LOG_DESTNODE
-alter table JBPM_LOG drop constraint FK_LOG_TOKEN
-alter table JBPM_LOG drop constraint FK_LOG_TRANSITION
-alter table JBPM_LOG drop constraint FK_LOG_TASKINST
-alter table JBPM_LOG drop constraint FK_LOG_CHILDTOKEN
-alter table JBPM_LOG drop constraint FK_LOG_OLDBYTES
-alter table JBPM_LOG drop constraint FK_LOG_SWIMINST
-alter table JBPM_LOG drop constraint FK_LOG_NEWBYTES
-alter table JBPM_LOG drop constraint FK_LOG_ACTION
-alter table JBPM_LOG drop constraint FK_LOG_VARINST
-alter table JBPM_LOG drop constraint FK_LOG_NODE
-alter table JBPM_LOG drop constraint FK_LOG_PARENT
-alter table JBPM_MODULEDEFINITION drop constraint FK_MODDEF_PROCDEF
-alter table JBPM_MODULEDEFINITION drop constraint FK_TSKDEF_START
-alter table JBPM_MODULEINSTANCE drop constraint FK_MODINST_PRCINST
-alter table JBPM_MODULEINSTANCE drop constraint FK_TASKMGTINST_TMD
-alter table JBPM_NODE drop constraint FK_DECISION_DELEG
-alter table JBPM_NODE drop constraint FK_NODE_PROCDEF
-alter table JBPM_NODE drop constraint FK_NODE_ACTION
-alter table JBPM_NODE drop constraint FK_PROCST_SBPRCDEF
-alter table JBPM_NODE drop constraint FK_NODE_SCRIPT
-alter table JBPM_NODE drop constraint FK_NODE_SUPERSTATE
-alter table JBPM_POOLEDACTOR drop constraint FK_POOLEDACTOR_SLI
-alter table JBPM_PROCESSDEFINITION drop constraint FK_PROCDEF_STRTSTA
-alter table JBPM_PROCESSINSTANCE drop constraint FK_PROCIN_PROCDEF
-alter table JBPM_PROCESSINSTANCE drop constraint FK_PROCIN_ROOTTKN
-alter table JBPM_PROCESSINSTANCE drop constraint FK_PROCIN_SPROCTKN
-alter table JBPM_RUNTIMEACTION drop constraint FK_RTACTN_PROCINST
-alter table JBPM_RUNTIMEACTION drop constraint FK_RTACTN_ACTION
-alter table JBPM_SWIMLANE drop constraint FK_SWL_ASSDEL
-alter table JBPM_SWIMLANE drop constraint FK_SWL_TSKMGMTDEF
-alter table JBPM_SWIMLANEINSTANCE drop constraint FK_SWIMLANEINST_TM
-alter table JBPM_SWIMLANEINSTANCE drop constraint FK_SWIMLANEINST_SL
-alter table JBPM_TASK drop constraint FK_TASK_STARTST
-alter table JBPM_TASK drop constraint FK_TASK_PROCDEF
-alter table JBPM_TASK drop constraint FK_TASK_ASSDEL
-alter table JBPM_TASK drop constraint FK_TASK_SWIMLANE
-alter table JBPM_TASK drop constraint FK_TASK_TASKNODE
-alter table JBPM_TASK drop constraint FK_TASK_TASKMGTDEF
-alter table JBPM_TASK drop constraint FK_TSK_TSKCTRL
-alter table JBPM_TASKACTORPOOL drop constraint FK_TASKACTPL_TSKI
-alter table JBPM_TASKACTORPOOL drop constraint FK_TSKACTPOL_PLACT
-alter table JBPM_TASKCONTROLLER drop constraint FK_TSKCTRL_DELEG
-alter table JBPM_TASKINSTANCE drop constraint FK_TSKINS_PRCINS
-alter table JBPM_TASKINSTANCE drop constraint FK_TASKINST_TMINST
-alter table JBPM_TASKINSTANCE drop constraint FK_TASKINST_TOKEN
-alter table JBPM_TASKINSTANCE drop constraint FK_TASKINST_SLINST
-alter table JBPM_TASKINSTANCE drop constraint FK_TASKINST_TASK
-alter table JBPM_TOKEN drop constraint FK_TOKEN_SUBPI
-alter table JBPM_TOKEN drop constraint FK_TOKEN_PROCINST
-alter table JBPM_TOKEN drop constraint FK_TOKEN_NODE
-alter table JBPM_TOKEN drop constraint FK_TOKEN_PARENT
-alter table JBPM_TOKENVARIABLEMAP drop constraint FK_TKVARMAP_TOKEN
-alter table JBPM_TOKENVARIABLEMAP drop constraint FK_TKVARMAP_CTXT
-alter table JBPM_TRANSITION drop constraint FK_TRANSITION_FROM
-alter table JBPM_TRANSITION drop constraint FK_TRANS_PROCDEF
-alter table JBPM_TRANSITION drop constraint FK_TRANSITION_TO
-alter table JBPM_VARIABLEACCESS drop constraint FK_VARACC_PROCST
-alter table JBPM_VARIABLEACCESS drop constraint FK_VARACC_SCRIPT
-alter table JBPM_VARIABLEACCESS drop constraint FK_VARACC_TSKCTRL
-alter table JBPM_VARIABLEINSTANCE drop constraint FK_VARINST_PRCINST
-alter table JBPM_VARIABLEINSTANCE drop constraint FK_VARINST_TKVARMP
-alter table JBPM_VARIABLEINSTANCE drop constraint FK_VARINST_TK
-alter table JBPM_VARIABLEINSTANCE drop constraint FK_BYTEINST_ARRAY
-alter table JBPM_VARIABLEINSTANCE drop constraint FK_VAR_TSKINST
-drop table JBPM_ACTION
-drop table JBPM_BYTEARRAY
-drop table JBPM_BYTEBLOCK
-drop table JBPM_COMMENT
-drop table JBPM_DECISIONCONDITIONS
-drop table JBPM_DELEGATION
-drop table JBPM_EVENT
-drop table JBPM_EXCEPTIONHANDLER
-drop table JBPM_ID_GROUP
-drop table JBPM_ID_MEMBERSHIP
-drop table JBPM_ID_PERMISSIONS
-drop table JBPM_ID_USER
-drop table JBPM_JOB
-drop table JBPM_LOG
-drop table JBPM_MODULEDEFINITION
-drop table JBPM_MODULEINSTANCE
-drop table JBPM_NODE
-drop table JBPM_POOLEDACTOR
-drop table JBPM_PROCESSDEFINITION
-drop table JBPM_PROCESSINSTANCE
-drop table JBPM_RUNTIMEACTION
-drop table JBPM_SWIMLANE
-drop table JBPM_SWIMLANEINSTANCE
-drop table JBPM_TASK
-drop table JBPM_TASKACTORPOOL
-drop table JBPM_TASKCONTROLLER
-drop table JBPM_TASKINSTANCE
-drop table JBPM_TOKEN
-drop table JBPM_TOKENVARIABLEMAP
-drop table JBPM_TRANSITION
-drop table JBPM_VARIABLEACCESS
-drop table JBPM_VARIABLEINSTANCE
create table JBPM_ACTION (ID_ numeric(19,0) identity not null, class char(1) not null, NAME_ varchar(255) null, ISPROPAGATIONALLOWED_ tinyint null, ACTIONEXPRESSION_ varchar(255) null, ISASYNC_ tinyint null, REFERENCEDACTION_ numeric(19,0) null, ACTIONDELEGATION_ numeric(19,0) null, EVENT_ numeric(19,0) null, PROCESSDEFINITION_ numeric(19,0) null, EXPRESSION_ varchar(4000) null, TIMERNAME_ varchar(255) null, DUEDATE_ varchar(255) null, REPEAT_ varchar(255) null, TRANSITIONNAME_ varchar(255) null, TIMERACTION_ numeric(19,0) null, EVENTINDEX_ int null, EXCEPTIONHANDLER_ numeric(19,0) null, EXCEPTIONHANDLERINDEX_ int null, primary key (ID_))
create table JBPM_BYTEARRAY (ID_ numeric(19,0) identity not null, NAME_ varchar(255) null, FILEDEFINITION_ numeric(19,0) null, primary key (ID_))
create table JBPM_BYTEBLOCK (PROCESSFILE_ numeric(19,0) not null, BYTES_ varbinary(1024) null, INDEX_ int not null, primary key (PROCESSFILE_, INDEX_))
17 years, 2 months
JBoss JBPM SVN: r3955 - in jbpm4/trunk/modules: enterprise and 6 other directories.
by do-not-reply@jboss.org
Author: heiko.braun(a)jboss.com
Date: 2009-02-19 14:31:58 -0500 (Thu, 19 Feb 2009)
New Revision: 3955
Modified:
jbpm4/trunk/modules/db/jbpm4-db.iml
jbpm4/trunk/modules/enterprise/jbpm4-enterprise.iml
jbpm4/trunk/modules/enterprise/src/main/java/org/jbpm/enterprise/mgmt/ManagementFactoryImpl.java
jbpm4/trunk/modules/enterprise/src/main/java/org/jbpm/enterprise/mgmt/ModelAdaptor.java
jbpm4/trunk/modules/enterprise/src/main/java/org/jbpm/enterprise/mgmt/ProcessManagementImpl.java
jbpm4/trunk/modules/enterprise/src/main/resources/jbpm.cfg.xml
jbpm4/trunk/modules/examples/jbpm4-examples.iml
jbpm4/trunk/modules/integration/jboss5/integration-jboss5.iml
jbpm4/trunk/modules/integration/spi/integration-spi.iml
jbpm4/trunk/modules/test-db/jbpm4-test-db.iml
Log:
Add process deployment through console. Add process instance opertions
Modified: jbpm4/trunk/modules/db/jbpm4-db.iml
===================================================================
--- jbpm4/trunk/modules/db/jbpm4-db.iml 2009-02-19 19:30:32 UTC (rev 3954)
+++ jbpm4/trunk/modules/db/jbpm4-db.iml 2009-02-19 19:31:58 UTC (rev 3955)
@@ -10,8 +10,6 @@
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
<orderEntry type="module" module-name="toplevel" />
- <orderEntry type="module" module-name="jpdl" />
- <orderEntry type="module" module-name="pvm" />
<orderEntry type="module-library" exported="">
<library name="M2 Dep: javax.transaction:jta:jar:1.0.1B:compile">
<CLASSES>
Modified: jbpm4/trunk/modules/enterprise/jbpm4-enterprise.iml
===================================================================
--- jbpm4/trunk/modules/enterprise/jbpm4-enterprise.iml 2009-02-19 19:30:32 UTC (rev 3954)
+++ jbpm4/trunk/modules/enterprise/jbpm4-enterprise.iml 2009-02-19 19:31:58 UTC (rev 3955)
@@ -11,9 +11,8 @@
</content>
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
- <orderEntry type="module" module-name="toplevel" exported="" />
- <orderEntry type="module" module-name="pvm" exported="" />
- <orderEntry type="module" module-name="gwt-parent" exported="" />
+ <orderEntry type="module" module-name="gwt-parent" />
+ <orderEntry type="module" module-name="toplevel" />
<orderEntry type="module-library" exported="">
<library name="M2 Dep: cargo:cargo:jar:0.5:test">
<CLASSES>
Modified: jbpm4/trunk/modules/enterprise/src/main/java/org/jbpm/enterprise/mgmt/ManagementFactoryImpl.java
===================================================================
--- jbpm4/trunk/modules/enterprise/src/main/java/org/jbpm/enterprise/mgmt/ManagementFactoryImpl.java 2009-02-19 19:30:32 UTC (rev 3954)
+++ jbpm4/trunk/modules/enterprise/src/main/java/org/jbpm/enterprise/mgmt/ManagementFactoryImpl.java 2009-02-19 19:31:58 UTC (rev 3955)
@@ -22,6 +22,7 @@
package org.jbpm.enterprise.mgmt;
import org.jboss.bpm.console.server.integration.*;
+import org.jboss.bpm.console.server.util.InvocationProxy;
/**
* @author Heiko.Braun <heiko.braun(a)jboss.com>
@@ -31,7 +32,8 @@
public ProcessManagement createProcessManagement()
{
- return new ProcessManagementImpl();
+ return (ProcessManagement)
+ InvocationProxy.newInstance(new ProcessManagementImpl());
}
public TaskManagement createTaskManagement()
Modified: jbpm4/trunk/modules/enterprise/src/main/java/org/jbpm/enterprise/mgmt/ModelAdaptor.java
===================================================================
--- jbpm4/trunk/modules/enterprise/src/main/java/org/jbpm/enterprise/mgmt/ModelAdaptor.java 2009-02-19 19:30:32 UTC (rev 3954)
+++ jbpm4/trunk/modules/enterprise/src/main/java/org/jbpm/enterprise/mgmt/ModelAdaptor.java 2009-02-19 19:31:58 UTC (rev 3955)
@@ -23,6 +23,7 @@
import org.jboss.bpm.console.client.model.ProcessDefinitionRef;
import org.jboss.bpm.console.client.model.ProcessInstanceRef;
+import org.jboss.bpm.console.client.model.jbpm3.TokenReference;
import org.jbpm.model.OpenExecution;
import org.jbpm.model.OpenProcessDefinition;
@@ -57,8 +58,19 @@
ref.setDefinitionId(e0.getProcessDefinition().getId() );
- ref.setState( ProcessInstanceRef.STATE.RUNNING); // TODO: FIXME
+ //ref.setState( ProcessInstanceRef.STATE.RUNNING); // TODO: FIXME
ref.setStartDate( new Date() ); // TODO: FIXME
+
+ TokenReference tok = new TokenReference();
+ OpenExecution topLevelExecution = e0.getProcessInstance();
+ tok.setName(topLevelExecution.getName());
+ tok.setId(topLevelExecution.getId());
+ tok.setCurrentNodeName( topLevelExecution.getActivityName() ); // TODO: is this the nodeName?
+
+ // todo: parse childen
+
+ ref.setRootToken(tok);
+
return ref;
}
}
Modified: jbpm4/trunk/modules/enterprise/src/main/java/org/jbpm/enterprise/mgmt/ProcessManagementImpl.java
===================================================================
--- jbpm4/trunk/modules/enterprise/src/main/java/org/jbpm/enterprise/mgmt/ProcessManagementImpl.java 2009-02-19 19:30:32 UTC (rev 3954)
+++ jbpm4/trunk/modules/enterprise/src/main/java/org/jbpm/enterprise/mgmt/ProcessManagementImpl.java 2009-02-19 19:31:58 UTC (rev 3955)
@@ -98,7 +98,7 @@
List<ProcessInstanceRef> results = new ArrayList<ProcessInstanceRef>();
for(Execution exec : executions)
{
- if(((OpenExecution)exec).getProcessInstance()==null) // parent execution
+ if(exec.isProcessInstance()) // parent execution
{
results.add( ModelAdaptor.adoptExecution((OpenExecution)exec) );
}
@@ -136,12 +136,12 @@
throw new RuntimeException("Not implemented");
}
- public void deploy(InputStream deployment)
+ public void deploy(String fileName, String contentType, InputStream deployment)
{
List<ProcessDefinition> definitions =
this.processEngine.getProcessService()
.createDeployment()
- .addInputStream("Deployment-"+UUID.randomUUID().toString(),deployment)
+ .addInputStream(fileName, deployment)
.deploy()
.getProcessDefinitions();
Modified: jbpm4/trunk/modules/enterprise/src/main/resources/jbpm.cfg.xml
===================================================================
--- jbpm4/trunk/modules/enterprise/src/main/resources/jbpm.cfg.xml 2009-02-19 19:30:32 UTC (rev 3954)
+++ jbpm4/trunk/modules/enterprise/src/main/resources/jbpm.cfg.xml 2009-02-19 19:31:58 UTC (rev 3955)
@@ -1,16 +1,20 @@
<?xml version="1.0" encoding="UTF-8"?>
- <!--
- jBPM4 enterprise configuration.
- Uses different command service and environment config.
- (i.e. skips the TX interceptor)
- -->
+<!--
+ jBPM4 enterprise configuration.
+ Uses different command service and environment config.
+ (i.e. skips the TX interceptor)
+-->
<jbpm-configuration xmlns="http://jbpm.org/xsd/cfg">
<process-engine-context>
<deployer-manager>
+ <assign-file-type>
+ <file extension=".jpdl.xml" type="jpdl" />
+ </assign-file-type>
+ <parse-jpdl />
<check-process />
<check-problems />
<save />
@@ -19,7 +23,7 @@
<process-service />
<execution-service />
<management-service />
-
+
<ejb-local-command-service>
<home jndi-name="java:jbpm/CommandExecutor"/>
</ejb-local-command-service>
Modified: jbpm4/trunk/modules/examples/jbpm4-examples.iml
===================================================================
--- jbpm4/trunk/modules/examples/jbpm4-examples.iml 2009-02-19 19:30:32 UTC (rev 3954)
+++ jbpm4/trunk/modules/examples/jbpm4-examples.iml 2009-02-19 19:31:58 UTC (rev 3955)
@@ -9,10 +9,8 @@
</content>
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
- <orderEntry type="module" module-name="toplevel" />
- <orderEntry type="module" module-name="jpdl" />
- <orderEntry type="module" module-name="pvm" />
- <orderEntry type="module-library">
+ <orderEntry type="module" module-name="toplevel" exported="" />
+ <orderEntry type="module-library" exported="">
<library name="M2 Dep: javax.transaction:jta:jar:1.0.1B:compile">
<CLASSES>
<root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/javax/transaction/jta/1.0.1B/jta-1.0.1B.jar!/" />
@@ -21,7 +19,7 @@
<SOURCES />
</library>
</orderEntry>
- <orderEntry type="module-library">
+ <orderEntry type="module-library" exported="">
<library name="M2 Dep: junit:junit:jar:3.8.1:compile">
<CLASSES>
<root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/junit/junit/3.8.1/junit-3.8.1.jar!/" />
@@ -30,7 +28,7 @@
<SOURCES />
</library>
</orderEntry>
- <orderEntry type="module-library">
+ <orderEntry type="module-library" exported="">
<library name="M2 Dep: org.hibernate:hibernate:jar:3.2.6.ga:compile">
<CLASSES>
<root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/org/hibernate/hibernate/3.2.6.ga/hibernate-3.2.6.ga.jar!/" />
@@ -39,7 +37,7 @@
<SOURCES />
</library>
</orderEntry>
- <orderEntry type="module-library">
+ <orderEntry type="module-library" exported="">
<library name="M2 Dep: commons-logging:commons-logging:jar:1.0.4:compile">
<CLASSES>
<root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/commons-logging/commons-logging/1.0.4/commons-logging-1.0.4.jar!/" />
@@ -48,7 +46,7 @@
<SOURCES />
</library>
</orderEntry>
- <orderEntry type="module-library">
+ <orderEntry type="module-library" exported="">
<library name="M2 Dep: antlr:antlr:jar:2.7.6:compile">
<CLASSES>
<root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/antlr/antlr/2.7.6/antlr-2.7.6.jar!/" />
@@ -57,7 +55,7 @@
<SOURCES />
</library>
</orderEntry>
- <orderEntry type="module-library">
+ <orderEntry type="module-library" exported="">
<library name="M2 Dep: asm:asm:jar:1.5.3:compile">
<CLASSES>
<root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/asm/asm/1.5.3/asm-1.5.3.jar!/" />
@@ -66,7 +64,7 @@
<SOURCES />
</library>
</orderEntry>
- <orderEntry type="module-library">
+ <orderEntry type="module-library" exported="">
<library name="M2 Dep: jboss:jboss-j2ee:jar:4.2.2.GA:compile">
<CLASSES>
<root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/jboss/jboss-j2ee/4.2.2.GA/jboss-j2ee-4.2.2.GA.jar!/" />
@@ -75,7 +73,7 @@
<SOURCES />
</library>
</orderEntry>
- <orderEntry type="module-library">
+ <orderEntry type="module-library" exported="">
<library name="M2 Dep: hsqldb:hsqldb:jar:1.8.0.7:test">
<CLASSES>
<root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/hsqldb/hsqldb/1.8.0.7/hsqldb-1.8.0.7.jar!/" />
@@ -84,7 +82,7 @@
<SOURCES />
</library>
</orderEntry>
- <orderEntry type="module-library">
+ <orderEntry type="module-library" exported="">
<library name="M2 Dep: net.sf.ehcache:ehcache:jar:1.2.3:compile">
<CLASSES>
<root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/net/sf/ehcache/ehcache/1.2.3/ehcache-1.2.3.jar!/" />
@@ -93,7 +91,7 @@
<SOURCES />
</library>
</orderEntry>
- <orderEntry type="module-library">
+ <orderEntry type="module-library" exported="">
<library name="M2 Dep: dom4j:dom4j:jar:1.6.1:compile">
<CLASSES>
<root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/dom4j/dom4j/1.6.1/dom4j-1.6.1.jar!/" />
@@ -104,7 +102,7 @@
</SOURCES>
</library>
</orderEntry>
- <orderEntry type="module-library">
+ <orderEntry type="module-library" exported="">
<library name="M2 Dep: cglib:cglib:jar:2.1_3:compile">
<CLASSES>
<root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/cglib/cglib/2.1_3/cglib-2.1_3.jar!/" />
@@ -113,7 +111,7 @@
<SOURCES />
</library>
</orderEntry>
- <orderEntry type="module-library">
+ <orderEntry type="module-library" exported="">
<library name="M2 Dep: asm:asm-attrs:jar:1.5.3:compile">
<CLASSES>
<root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/asm/asm-attrs/1.5.3/asm-attrs-1.5.3.jar!/" />
@@ -122,7 +120,7 @@
<SOURCES />
</library>
</orderEntry>
- <orderEntry type="module-library">
+ <orderEntry type="module-library" exported="">
<library name="M2 Dep: commons-collections:commons-collections:jar:2.1.1:compile">
<CLASSES>
<root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/commons-collections/commons-collections/2.1.1/commons-collections-2.1.1.jar!/" />
@@ -131,7 +129,7 @@
<SOURCES />
</library>
</orderEntry>
- <orderEntry type="module-library">
+ <orderEntry type="module-library" exported="">
<library name="M2 Dep: log4j:log4j:jar:1.2.14:compile">
<CLASSES>
<root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/log4j/log4j/1.2.14/log4j-1.2.14.jar!/" />
@@ -142,7 +140,7 @@
</SOURCES>
</library>
</orderEntry>
- <orderEntry type="module-library">
+ <orderEntry type="module-library" exported="">
<library name="M2 Dep: org.jboss.identity:idm-spi:jar:1.0.0-SNAPSHOT:test">
<CLASSES>
<root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/org/jboss/identity/idm-spi/1.0.0-SNAPSHOT/idm-spi-1.0.0-SNAPSHOT.jar!/" />
@@ -151,7 +149,7 @@
<SOURCES />
</library>
</orderEntry>
- <orderEntry type="module-library">
+ <orderEntry type="module-library" exported="">
<library name="M2 Dep: javax.xml.bind:jaxb-api:jar:2.1:test">
<CLASSES>
<root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/javax/xml/bind/jaxb-api/2.1/jaxb-api-2.1.jar!/" />
@@ -160,7 +158,7 @@
<SOURCES />
</library>
</orderEntry>
- <orderEntry type="module-library">
+ <orderEntry type="module-library" exported="">
<library name="M2 Dep: org.hibernate:hibernate-commons-annotations:jar:3.0.0.ga:test">
<CLASSES>
<root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/org/hibernate/hibernate-commons-annotations/3.0.0.ga/hibernate-commons-annotations-3.0.0.ga.jar!/" />
@@ -169,7 +167,7 @@
<SOURCES />
</library>
</orderEntry>
- <orderEntry type="module-library">
+ <orderEntry type="module-library" exported="">
<library name="M2 Dep: org.jbpm.jbpm4.dependencies.esb:jbossesb-rosetta:jar:4.4.0.GA:test">
<CLASSES>
<root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/org/jbpm/jbpm4/dependencies/esb/jbossesb-rosetta/4.4.0.GA/jbossesb-rosetta-4.4.0.GA.jar!/" />
@@ -178,7 +176,7 @@
<SOURCES />
</library>
</orderEntry>
- <orderEntry type="module-library">
+ <orderEntry type="module-library" exported="">
<library name="M2 Dep: org.jboss.cache:jbosscache-core:jar:3.0.2.GA:test">
<CLASSES>
<root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/org/jboss/cache/jbosscache-core/3.0.2.GA/jbosscache-core-3.0.2.GA.jar!/" />
@@ -187,7 +185,7 @@
<SOURCES />
</library>
</orderEntry>
- <orderEntry type="module-library">
+ <orderEntry type="module-library" exported="">
<library name="M2 Dep: javax.xml.stream:stax-api:jar:1.0-2:test">
<CLASSES>
<root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/javax/xml/stream/stax-api/1.0-2/stax-api-1.0-2.jar!/" />
@@ -196,7 +194,7 @@
<SOURCES />
</library>
</orderEntry>
- <orderEntry type="module-library">
+ <orderEntry type="module-library" exported="">
<library name="M2 Dep: org.jboss.client:jbossall-client:jar:4.2.2.GA:test">
<CLASSES>
<root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/org/jboss/client/jbossall-client/4.2.2.GA/jbossall-client-4.2.2.GA.jar!/" />
@@ -205,7 +203,7 @@
<SOURCES />
</library>
</orderEntry>
- <orderEntry type="module-library">
+ <orderEntry type="module-library" exported="">
<library name="M2 Dep: stax:stax-api:jar:1.0.1:test">
<CLASSES>
<root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/stax/stax-api/1.0.1/stax-api-1.0.1.jar!/" />
@@ -214,7 +212,7 @@
<SOURCES />
</library>
</orderEntry>
- <orderEntry type="module-library">
+ <orderEntry type="module-library" exported="">
<library name="M2 Dep: juel:juel-engine:jar:2.1.0:test">
<CLASSES>
<root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/juel/juel-engine/2.1.0/juel-engine-2.1.0.jar!/" />
@@ -223,7 +221,7 @@
<SOURCES />
</library>
</orderEntry>
- <orderEntry type="module-library">
+ <orderEntry type="module-library" exported="">
<library name="M2 Dep: javassist:javassist:jar:3.4.GA:test">
<CLASSES>
<root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/javassist/javassist/3.4.GA/javassist-3.4.GA.jar!/" />
@@ -232,7 +230,7 @@
<SOURCES />
</library>
</orderEntry>
- <orderEntry type="module-library">
+ <orderEntry type="module-library" exported="">
<library name="M2 Dep: org.jboss.identity:idm-api:jar:1.0.0-SNAPSHOT:test">
<CLASSES>
<root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/org/jboss/identity/idm-api/1.0.0-SNAPSHOT/idm-api-1.0.0-SNAPSHOT.jar!/" />
@@ -241,7 +239,7 @@
<SOURCES />
</library>
</orderEntry>
- <orderEntry type="module-library">
+ <orderEntry type="module-library" exported="">
<library name="M2 Dep: javax.persistence:persistence-api:jar:1.0:test">
<CLASSES>
<root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/javax/persistence/persistence-api/1.0/persistence-api-1.0.jar!/" />
@@ -250,7 +248,7 @@
<SOURCES />
</library>
</orderEntry>
- <orderEntry type="module-library">
+ <orderEntry type="module-library" exported="">
<library name="M2 Dep: org.jboss.identity:idm:jar:1.0.0-SNAPSHOT:test">
<CLASSES>
<root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/org/jboss/identity/idm/1.0.0-SNAPSHOT/idm-1.0.0-SNAPSHOT.jar!/" />
@@ -259,7 +257,7 @@
<SOURCES />
</library>
</orderEntry>
- <orderEntry type="module-library">
+ <orderEntry type="module-library" exported="">
<library name="M2 Dep: stax:stax:jar:1.2.0:test">
<CLASSES>
<root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/stax/stax/1.2.0/stax-1.2.0.jar!/" />
@@ -268,7 +266,7 @@
<SOURCES />
</library>
</orderEntry>
- <orderEntry type="module-library">
+ <orderEntry type="module-library" exported="">
<library name="M2 Dep: juel:juel:jar:2.1.0:test">
<CLASSES>
<root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/juel/juel/2.1.0/juel-2.1.0.jar!/" />
@@ -277,7 +275,7 @@
<SOURCES />
</library>
</orderEntry>
- <orderEntry type="module-library">
+ <orderEntry type="module-library" exported="">
<library name="M2 Dep: org.hibernate:ejb3-persistence:jar:1.0.1.GA:test">
<CLASSES>
<root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/org/hibernate/ejb3-persistence/1.0.1.GA/ejb3-persistence-1.0.1.GA.jar!/" />
@@ -286,7 +284,7 @@
<SOURCES />
</library>
</orderEntry>
- <orderEntry type="module-library">
+ <orderEntry type="module-library" exported="">
<library name="M2 Dep: org.jboss.identity:idm-common:jar:1.0.0-SNAPSHOT:test">
<CLASSES>
<root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/org/jboss/identity/idm-common/1.0.0-SNAPSHOT/idm-common-1.0.0-SNAPSHOT.jar!/" />
@@ -295,7 +293,7 @@
<SOURCES />
</library>
</orderEntry>
- <orderEntry type="module-library">
+ <orderEntry type="module-library" exported="">
<library name="M2 Dep: javax.activation:activation:jar:1.1:test">
<CLASSES>
<root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/javax/activation/activation/1.1/activation-1.1.jar!/" />
@@ -306,7 +304,7 @@
</SOURCES>
</library>
</orderEntry>
- <orderEntry type="module-library">
+ <orderEntry type="module-library" exported="">
<library name="M2 Dep: jgroups:jgroups:jar:2.6.7.GA:test">
<CLASSES>
<root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/jgroups/jgroups/2.6.7.GA/jgroups-2.6.7.GA.jar!/" />
@@ -317,7 +315,7 @@
</SOURCES>
</library>
</orderEntry>
- <orderEntry type="module-library">
+ <orderEntry type="module-library" exported="">
<library name="M2 Dep: com.sun.xml.bind:jaxb-impl:jar:2.1.8:test">
<CLASSES>
<root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/com/sun/xml/bind/jaxb-impl/2.1.8/jaxb-impl-2.1.8.jar!/" />
@@ -326,7 +324,7 @@
<SOURCES />
</library>
</orderEntry>
- <orderEntry type="module-library">
+ <orderEntry type="module-library" exported="">
<library name="M2 Dep: org.hibernate:hibernate-annotations:jar:3.3.1.GA:test">
<CLASSES>
<root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/org/hibernate/hibernate-annotations/3.3.1.GA/hibernate-annotations-3.3.1.GA.jar!/" />
@@ -335,7 +333,7 @@
<SOURCES />
</library>
</orderEntry>
- <orderEntry type="module-library">
+ <orderEntry type="module-library" exported="">
<library name="M2 Dep: juel:juel-impl:jar:2.1.0:test">
<CLASSES>
<root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/juel/juel-impl/2.1.0/juel-impl-2.1.0.jar!/" />
@@ -344,7 +342,7 @@
<SOURCES />
</library>
</orderEntry>
- <orderEntry type="module-library">
+ <orderEntry type="module-library" exported="">
<library name="M2 Dep: org.livetribe:livetribe-jsr223:jar:2.0.5:test">
<CLASSES>
<root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/org/livetribe/livetribe-jsr223/2.0.5/livetribe-jsr223-2.0.5.jar!/" />
@@ -353,7 +351,7 @@
<SOURCES />
</library>
</orderEntry>
- <orderEntry type="module-library">
+ <orderEntry type="module-library" exported="">
<library name="M2 Dep: org.jbpm.jbpm4.dependencies.esb:test-util:jar:4.4.0.GA:test">
<CLASSES>
<root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/org/jbpm/jbpm4/dependencies/esb/test-util/4.4.0.GA/test-util-4.4.0.GA.jar!/" />
@@ -362,7 +360,7 @@
<SOURCES />
</library>
</orderEntry>
- <orderEntry type="module-library">
+ <orderEntry type="module-library" exported="">
<library name="M2 Dep: org.jboss:jboss-common-core:jar:2.2.10.GA:test">
<CLASSES>
<root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/org/jboss/jboss-common-core/2.2.10.GA/jboss-common-core-2.2.10.GA.jar!/" />
@@ -373,7 +371,7 @@
</SOURCES>
</library>
</orderEntry>
- <orderEntry type="module-library">
+ <orderEntry type="module-library" exported="">
<library name="M2 Dep: org.hibernate:hibernate-entitymanager:jar:3.3.2.GA:test">
<CLASSES>
<root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/org/hibernate/hibernate-entitymanager/3.3.2.GA/hibernate-entitymanager-3.3.2.GA.jar!/" />
@@ -382,7 +380,7 @@
<SOURCES />
</library>
</orderEntry>
- <orderEntry type="module-library">
+ <orderEntry type="module-library" exported="">
<library name="M2 Dep: jboss.jbossts:jbossts-common:jar:4.4.0.GA:test">
<CLASSES>
<root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/jboss/jbossts/jbossts-common/4.4.0.GA/jbossts-common-4.4.0.GA.jar!/" />
@@ -391,7 +389,7 @@
<SOURCES />
</library>
</orderEntry>
- <orderEntry type="module-library">
+ <orderEntry type="module-library" exported="">
<library name="M2 Dep: org.jboss.logging:jboss-logging-spi:jar:2.0.5.GA:test">
<CLASSES>
<root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/org/jboss/logging/jboss-logging-spi/2.0.5.GA/jboss-logging-spi-2.0.5.GA.jar!/" />
Modified: jbpm4/trunk/modules/integration/jboss5/integration-jboss5.iml
===================================================================
--- jbpm4/trunk/modules/integration/jboss5/integration-jboss5.iml 2009-02-19 19:30:32 UTC (rev 3954)
+++ jbpm4/trunk/modules/integration/jboss5/integration-jboss5.iml 2009-02-19 19:31:58 UTC (rev 3955)
@@ -9,10 +9,7 @@
</content>
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
- <orderEntry type="module" module-name="toplevel" exported="" />
- <orderEntry type="module" module-name="integration-spi" exported="" />
- <orderEntry type="module" module-name="jpdl" exported="" />
- <orderEntry type="module" module-name="pvm" exported="" />
+ <orderEntry type="module" module-name="toplevel" />
<orderEntry type="module-library" exported="">
<library name="M2 Dep: org.jboss.identity:idm-spi:jar:1.0.0-SNAPSHOT:compile">
<CLASSES>
Modified: jbpm4/trunk/modules/integration/spi/integration-spi.iml
===================================================================
--- jbpm4/trunk/modules/integration/spi/integration-spi.iml 2009-02-19 19:30:32 UTC (rev 3954)
+++ jbpm4/trunk/modules/integration/spi/integration-spi.iml 2009-02-19 19:31:58 UTC (rev 3955)
@@ -9,9 +9,7 @@
</content>
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
- <orderEntry type="module" module-name="toplevel" exported="" />
- <orderEntry type="module" module-name="jpdl" exported="" />
- <orderEntry type="module" module-name="pvm" exported="" />
+ <orderEntry type="module" module-name="toplevel" />
<orderEntry type="module-library" exported="">
<library name="M2 Dep: hsqldb:hsqldb:jar:1.8.0.7:test">
<CLASSES>
Modified: jbpm4/trunk/modules/test-db/jbpm4-test-db.iml
===================================================================
--- jbpm4/trunk/modules/test-db/jbpm4-test-db.iml 2009-02-19 19:30:32 UTC (rev 3954)
+++ jbpm4/trunk/modules/test-db/jbpm4-test-db.iml 2009-02-19 19:31:58 UTC (rev 3955)
@@ -14,9 +14,7 @@
<orderEntry type="module" module-name="jbpm4-test-base" exported="" />
<orderEntry type="module" module-name="jbpm4-task" exported="" />
<orderEntry type="module" module-name="jbpm4-toplevel" exported="" />
- <orderEntry type="module" module-name="toplevel" exported="" />
- <orderEntry type="module" module-name="jpdl" exported="" />
- <orderEntry type="module" module-name="pvm" exported="" />
+ <orderEntry type="module" module-name="toplevel" />
<orderEntry type="module-library" exported="">
<library name="M2 Dep: javax.transaction:jta:jar:1.0.1B:compile">
<CLASSES>
17 years, 2 months
JBoss JBPM SVN: r3954 - in projects/gwt-console/trunk: plugin-api and 13 other directories.
by do-not-reply@jboss.org
Author: heiko.braun(a)jboss.com
Date: 2009-02-19 14:30:32 -0500 (Thu, 19 Feb 2009)
New Revision: 3954
Added:
projects/gwt-console/trunk/server-integration/src/main/java/org/jboss/bpm/console/server/util/InvocationProxy.java
projects/gwt-console/trunk/server/src/main/resources/process.jpdl.xml
Removed:
projects/gwt-console/trunk/server/src/main/resources/SampleProcess.par
Modified:
projects/gwt-console/trunk/gwt-parent.iml
projects/gwt-console/trunk/plugin-api/plugin.iml
projects/gwt-console/trunk/plugin-api/src/main/java/org/jboss/bpm/console/client/URLBuilder.java
projects/gwt-console/trunk/plugin-api/src/main/java/org/jboss/bpm/console/client/model/DTOParser.java
projects/gwt-console/trunk/plugin-example/plugin-example.iml
projects/gwt-console/trunk/pom.xml
projects/gwt-console/trunk/rpc/gwt-rpc.iml
projects/gwt-console/trunk/rpc/src/main/java/org/jboss/bpm/console/client/model/jbpm3/TokenReference.java
projects/gwt-console/trunk/server-integration/gwt-server-integration.iml
projects/gwt-console/trunk/server-integration/pom.xml
projects/gwt-console/trunk/server-integration/src/main/java/org/jboss/bpm/console/server/integration/ProcessManagement.java
projects/gwt-console/trunk/server/gwt-server.iml
projects/gwt-console/trunk/server/src/main/java/org/jboss/bpm/console/server/ProcessMgmtFacade.java
projects/gwt-console/trunk/server/src/main/java/org/jboss/bpm/console/server/TestFacade.java
projects/gwt-console/trunk/war/gwt-war.iml
projects/gwt-console/trunk/war/src/main/java/org/jboss/bpm/console/client/process/ProcessInstanceDetailForm.java
projects/gwt-console/trunk/war/src/main/java/org/jboss/bpm/console/client/process/ProcessInstanceList.java
Log:
More work on the process managent plugin for the console
Modified: projects/gwt-console/trunk/gwt-parent.iml
===================================================================
--- projects/gwt-console/trunk/gwt-parent.iml 2009-02-19 18:15:52 UTC (rev 3953)
+++ projects/gwt-console/trunk/gwt-parent.iml 2009-02-19 19:30:32 UTC (rev 3954)
@@ -39,15 +39,6 @@
</library>
</orderEntry>
<orderEntry type="module-library" exported="">
- <library name="M2 Dep: com.sun.xml.stream:sjsxp:jar:1.0.1:compile">
- <CLASSES>
- <root url="jar://$MODULE_DIR$/../../../../../../.m2/repository/com/sun/xml/stream/sjsxp/1.0.1/sjsxp-1.0.1.jar!/" />
- </CLASSES>
- <JAVADOC />
- <SOURCES />
- </library>
- </orderEntry>
- <orderEntry type="module-library" exported="">
<library name="M2 Dep: javassist:javassist:jar:3.6.0.GA:compile">
<CLASSES>
<root url="jar://$MODULE_DIR$/../../../../../../.m2/repository/javassist/javassist/3.6.0.GA/javassist-3.6.0.GA.jar!/" />
@@ -57,24 +48,6 @@
</library>
</orderEntry>
<orderEntry type="module-library" exported="">
- <library name="M2 Dep: org.jyaml:jyaml:jar:1.3:compile">
- <CLASSES>
- <root url="jar://$MODULE_DIR$/../../../../../../.m2/repository/org/jyaml/jyaml/1.3/jyaml-1.3.jar!/" />
- </CLASSES>
- <JAVADOC />
- <SOURCES />
- </library>
- </orderEntry>
- <orderEntry type="module-library" exported="">
- <library name="M2 Dep: org.jboss.resteasy:jaxrs-api:jar:1.0-beta-8:compile">
- <CLASSES>
- <root url="jar://$MODULE_DIR$/../../../../../../.m2/repository/org/jboss/resteasy/jaxrs-api/1.0-beta-8/jaxrs-api-1.0-beta-8.jar!/" />
- </CLASSES>
- <JAVADOC />
- <SOURCES />
- </library>
- </orderEntry>
- <orderEntry type="module-library" exported="">
<library name="M2 Dep: com.google.gwt:gwt-user:jar:1.5.2:provided">
<CLASSES>
<root url="jar://$MODULE_DIR$/../../../../../../.m2/repository/com/google/gwt/gwt-user/1.5.2/gwt-user-1.5.2.jar!/" />
@@ -140,15 +113,6 @@
</library>
</orderEntry>
<orderEntry type="module-library" exported="">
- <library name="M2 Dep: com.sun.xml.fastinfoset:FastInfoset:jar:1.2.2:compile">
- <CLASSES>
- <root url="jar://$MODULE_DIR$/../../../../../../.m2/repository/com/sun/xml/fastinfoset/FastInfoset/1.2.2/FastInfoset-1.2.2.jar!/" />
- </CLASSES>
- <JAVADOC />
- <SOURCES />
- </library>
- </orderEntry>
- <orderEntry type="module-library" exported="">
<library name="M2 Dep: javax.ejb:ejb-api:jar:3.0:provided">
<CLASSES>
<root url="jar://$MODULE_DIR$/../../../../../../.m2/repository/javax/ejb/ejb-api/3.0/ejb-api-3.0.jar!/" />
@@ -158,24 +122,6 @@
</library>
</orderEntry>
<orderEntry type="module-library" exported="">
- <library name="M2 Dep: org.codehaus.jettison:jettison:jar:1.0.1:compile">
- <CLASSES>
- <root url="jar://$MODULE_DIR$/../../../../../../.m2/repository/org/codehaus/jettison/jettison/1.0.1/jettison-1.0.1.jar!/" />
- </CLASSES>
- <JAVADOC />
- <SOURCES />
- </library>
- </orderEntry>
- <orderEntry type="module-library" exported="">
- <library name="M2 Dep: org.jboss.resteasy:resteasy-jaxrs:jar:1.0-beta-8:compile">
- <CLASSES>
- <root url="jar://$MODULE_DIR$/../../../../../../.m2/repository/org/jboss/resteasy/resteasy-jaxrs/1.0-beta-8/resteasy-jaxrs-1.0-beta-8.jar!/" />
- </CLASSES>
- <JAVADOC />
- <SOURCES />
- </library>
- </orderEntry>
- <orderEntry type="module-library" exported="">
<library name="M2 Dep: org.scannotation:scannotation:jar:1.0.2:compile">
<CLASSES>
<root url="jar://$MODULE_DIR$/../../../../../../.m2/repository/org/scannotation/scannotation/1.0.2/scannotation-1.0.2.jar!/" />
@@ -314,6 +260,35 @@
<SOURCES />
</library>
</orderEntry>
+ <orderEntry type="module-library" exported="">
+ <library name="M2 Dep: org.jboss.resteasy:resteasy-jaxrs:jar:1.0.2.GA:compile">
+ <CLASSES>
+ <root url="jar://$MODULE_DIR$/../../../../../../.m2/repository/org/jboss/resteasy/resteasy-jaxrs/1.0.2.GA/resteasy-jaxrs-1.0.2.GA.jar!/" />
+ </CLASSES>
+ <JAVADOC />
+ <SOURCES />
+ </library>
+ </orderEntry>
+ <orderEntry type="module-library" exported="">
+ <library name="M2 Dep: org.jboss.resteasy:jaxrs-api:jar:1.0.2.GA:compile">
+ <CLASSES>
+ <root url="jar://$MODULE_DIR$/../../../../../../.m2/repository/org/jboss/resteasy/jaxrs-api/1.0.2.GA/jaxrs-api-1.0.2.GA.jar!/" />
+ </CLASSES>
+ <JAVADOC />
+ <SOURCES />
+ </library>
+ </orderEntry>
+ <orderEntry type="module-library" exported="">
+ <library name="M2 Dep: org.jboss.javaee:jboss-javaee:jar:5.0.0.GA:provided">
+ <CLASSES>
+ <root url="jar://$MODULE_DIR$/../../../../../../.m2/repository/org/jboss/javaee/jboss-javaee/5.0.0.GA/jboss-javaee-5.0.0.GA.jar!/" />
+ </CLASSES>
+ <JAVADOC />
+ <SOURCES>
+ <root url="jar://$MODULE_DIR$/../../../../../../.m2/repository/org/jboss/javaee/jboss-javaee/5.0.0.GA/jboss-javaee-5.0.0.GA-sources.jar!/" />
+ </SOURCES>
+ </library>
+ </orderEntry>
<orderEntryProperties />
</component>
</module>
Modified: projects/gwt-console/trunk/plugin-api/plugin.iml
===================================================================
--- projects/gwt-console/trunk/plugin-api/plugin.iml 2009-02-19 18:15:52 UTC (rev 3953)
+++ projects/gwt-console/trunk/plugin-api/plugin.iml 2009-02-19 19:30:32 UTC (rev 3954)
@@ -10,7 +10,6 @@
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
<orderEntry type="module" module-name="gwt-parent" />
- <orderEntry type="module" module-name="gwt-rpc" />
<orderEntry type="module-library" exported="">
<library name="M2 Dep: com.gwtext:gwtext:jar:2.0.5:compile">
<CLASSES>
@@ -48,15 +47,6 @@
</library>
</orderEntry>
<orderEntry type="module-library" exported="">
- <library name="M2 Dep: com.google.gwt:gwt-servlet:jar:1.5.2:runtime">
- <CLASSES>
- <root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/com/google/gwt/gwt-servlet/1.5.2/gwt-servlet-1.5.2.jar!/" />
- </CLASSES>
- <JAVADOC />
- <SOURCES />
- </library>
- </orderEntry>
- <orderEntry type="module-library" exported="">
<library name="M2 Dep: javax.xml.bind:jaxb-api:jar:2.1:compile">
<CLASSES>
<root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/javax/xml/bind/jaxb-api/2.1/jaxb-api-2.1.jar!/" />
Modified: projects/gwt-console/trunk/plugin-api/src/main/java/org/jboss/bpm/console/client/URLBuilder.java
===================================================================
--- projects/gwt-console/trunk/plugin-api/src/main/java/org/jboss/bpm/console/client/URLBuilder.java 2009-02-19 18:15:52 UTC (rev 3953)
+++ projects/gwt-console/trunk/plugin-api/src/main/java/org/jboss/bpm/console/client/URLBuilder.java 2009-02-19 19:30:32 UTC (rev 3954)
@@ -98,7 +98,7 @@
public String getUploadDefinitionURL()
{
- return getConsoleServerUrl() + "/rs/jbpm3/definitions/new";
+ return getConsoleServerUrl() + "/rs/process/definitions/new";
}
public String getTaskListByActorURL(String actor)
Modified: projects/gwt-console/trunk/plugin-api/src/main/java/org/jboss/bpm/console/client/model/DTOParser.java
===================================================================
--- projects/gwt-console/trunk/plugin-api/src/main/java/org/jboss/bpm/console/client/model/DTOParser.java 2009-02-19 18:15:52 UTC (rev 3953)
+++ projects/gwt-console/trunk/plugin-api/src/main/java/org/jboss/bpm/console/client/model/DTOParser.java 2009-02-19 19:30:32 UTC (rev 3954)
@@ -197,6 +197,10 @@
{
ConsoleLog.debug("parse " + root);
+ // {"id":"StateSequence/8", "definitionId":"StateSequence:1",
+ // "startDate":"2009-02-19 14:36:50", "suspended":false}
+
+
String id = JSONWalk.on(root).next("id").asString();
String definitionId = JSONWalk.on(root).next("definitionId").asString();
Date start = JSONWalk.on(root).next("startDate").asDate();
@@ -223,11 +227,12 @@
public static TokenReference parseTokenReference(JSONObject jso)
{
- long rootTokenId = JSONWalk.on(jso).next("id").asLong();
- String name = JSONWalk.on(jso).next("name").asString();
+ String rootTokenId = JSONWalk.on(jso).next("id").asString();
+ //String name = JSONWalk.on(jso).next("name").asString();
String nodeName = JSONWalk.on(jso).next("currentNodeName").asString();
- TokenReference rt = new TokenReference(rootTokenId, name, nodeName);
+ // TDOD: Fix token name
+ TokenReference rt = new TokenReference(rootTokenId, "", nodeName);
boolean canBeSignaled = JSONWalk.on(jso).next("canBeSignaled").asBool();
rt.setCanBeSignaled(canBeSignaled);
Modified: projects/gwt-console/trunk/plugin-example/plugin-example.iml
===================================================================
--- projects/gwt-console/trunk/plugin-example/plugin-example.iml 2009-02-19 18:15:52 UTC (rev 3953)
+++ projects/gwt-console/trunk/plugin-example/plugin-example.iml 2009-02-19 19:30:32 UTC (rev 3954)
@@ -9,7 +9,7 @@
</content>
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
- <orderEntry type="module" module-name="plugin" exported="" />
+ <orderEntry type="module" module-name="gwt-parent" />
<orderEntry type="module-library" exported="">
<library name="M2 Dep: com.google.code.gson:gson:jar:1.2.2:provided">
<CLASSES>
@@ -20,26 +20,6 @@
</library>
</orderEntry>
<orderEntry type="module-library" exported="">
- <library name="M2 Dep: com.google.gwt:gwt-servlet:jar:1.5.2:provided">
- <CLASSES>
- <root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/com/google/gwt/gwt-servlet/1.5.2/gwt-servlet-1.5.2.jar!/" />
- </CLASSES>
- <JAVADOC />
- <SOURCES />
- </library>
- </orderEntry>
- <orderEntry type="module-library" exported="">
- <library name="M2 Dep: org.jbpm.jbpm3:gwt-console-rpc:jar:1.0.0-SNAPSHOT:provided">
- <CLASSES>
- <root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/org/jbpm/jbpm3/gwt-console-rpc/1.0.0-SNAPSHOT/gwt-console-rpc-1.0.0-SNAPSHOT.jar!/" />
- </CLASSES>
- <JAVADOC />
- <SOURCES>
- <root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/org/jbpm/jbpm3/gwt-console-rpc/1.0.0-SNAPSHOT/gwt-console-rpc-1.0.0-SNAPSHOT-sources.jar!/" />
- </SOURCES>
- </library>
- </orderEntry>
- <orderEntry type="module-library" exported="">
<library name="M2 Dep: com.gwtext:gwtext:jar:2.0.5:provided">
<CLASSES>
<root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/com/gwtext/gwtext/2.0.5/gwtext-2.0.5.jar!/" />
@@ -86,6 +66,15 @@
</SOURCES>
</library>
</orderEntry>
+ <orderEntry type="module-library">
+ <library name="M2 Dep: com.google.gwt:gwt-user:jar:1.5.2:provided">
+ <CLASSES>
+ <root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/com/google/gwt/gwt-user/1.5.2/gwt-user-1.5.2.jar!/" />
+ </CLASSES>
+ <JAVADOC />
+ <SOURCES />
+ </library>
+ </orderEntry>
<orderEntryProperties />
</component>
</module>
Modified: projects/gwt-console/trunk/pom.xml
===================================================================
--- projects/gwt-console/trunk/pom.xml 2009-02-19 18:15:52 UTC (rev 3953)
+++ projects/gwt-console/trunk/pom.xml 2009-02-19 19:30:32 UTC (rev 3954)
@@ -29,7 +29,7 @@
<jboss.common.version>2.2.7.GA</jboss.common.version>
<jbpm.version>3.3.1.GA</jbpm.version>
<junit.version>3.8.1</junit.version>
- <resteasy.version>1.0-beta-8</resteasy.version>
+ <resteasy.version>1.0.2.GA</resteasy.version>
<stax-api.version>1.0-2</stax-api.version>
</properties>
Modified: projects/gwt-console/trunk/rpc/gwt-rpc.iml
===================================================================
--- projects/gwt-console/trunk/rpc/gwt-rpc.iml 2009-02-19 18:15:52 UTC (rev 3953)
+++ projects/gwt-console/trunk/rpc/gwt-rpc.iml 2009-02-19 19:30:32 UTC (rev 3954)
@@ -36,15 +36,6 @@
</library>
</orderEntry>
<orderEntry type="module-library" exported="">
- <library name="M2 Dep: com.google.gwt:gwt-servlet:jar:1.5.2:runtime">
- <CLASSES>
- <root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/com/google/gwt/gwt-servlet/1.5.2/gwt-servlet-1.5.2.jar!/" />
- </CLASSES>
- <JAVADOC />
- <SOURCES />
- </library>
- </orderEntry>
- <orderEntry type="module-library" exported="">
<library name="M2 Dep: javax.xml.stream:stax-api:jar:1.0-2:provided">
<CLASSES>
<root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/javax/xml/stream/stax-api/1.0-2/stax-api-1.0-2.jar!/" />
Modified: projects/gwt-console/trunk/rpc/src/main/java/org/jboss/bpm/console/client/model/jbpm3/TokenReference.java
===================================================================
--- projects/gwt-console/trunk/rpc/src/main/java/org/jboss/bpm/console/client/model/jbpm3/TokenReference.java 2009-02-19 18:15:52 UTC (rev 3953)
+++ projects/gwt-console/trunk/rpc/src/main/java/org/jboss/bpm/console/client/model/jbpm3/TokenReference.java 2009-02-19 19:30:32 UTC (rev 3954)
@@ -33,7 +33,7 @@
@XmlRootElement(name = "tokenReference")
public class TokenReference
{
- private long id;
+ private String id;
private String name;
private String currentNodeName;
@@ -47,14 +47,14 @@
{
}
- public TokenReference(long id, String name, String nodeName)
+ public TokenReference(String id, String name, String nodeName)
{
this.id = id;
this.name = name!=null ? name : "";
this.currentNodeName = nodeName;
}
- public void setId(long id)
+ public void setId(String id)
{
this.id = id;
}
@@ -79,7 +79,7 @@
this.availableSignals = availableSignals;
}
- public long getId()
+ public String getId()
{
return id;
}
@@ -114,35 +114,4 @@
this.canBeSignaled = canBeSignaled;
}
-
- public boolean equals(Object o)
- {
- if (this == o) return true;
- if (o == null || getClass() != o.getClass()) return false;
-
- TokenReference that = (TokenReference) o;
-
- if (canBeSignaled != that.canBeSignaled) return false;
- if (id != that.id) return false;
- if (availableSignals != null ? !availableSignals.equals(that.availableSignals) : that.availableSignals != null)
- return false;
- if (children != null ? !children.equals(that.children) : that.children != null) return false;
- if (currentNodeName != null ? !currentNodeName.equals(that.currentNodeName) : that.currentNodeName != null)
- return false;
- if (name != null ? !name.equals(that.name) : that.name != null) return false;
-
- return true;
- }
-
- public int hashCode()
- {
- int result;
- result = (int) (id ^ (id >>> 32));
- result = 31 * result + (name != null ? name.hashCode() : 0);
- result = 31 * result + (currentNodeName != null ? currentNodeName.hashCode() : 0);
- result = 31 * result + (children != null ? children.hashCode() : 0);
- result = 31 * result + (availableSignals != null ? availableSignals.hashCode() : 0);
- result = 31 * result + (canBeSignaled ? 1 : 0);
- return result;
- }
}
Modified: projects/gwt-console/trunk/server/gwt-server.iml
===================================================================
--- projects/gwt-console/trunk/server/gwt-server.iml 2009-02-19 18:15:52 UTC (rev 3953)
+++ projects/gwt-console/trunk/server/gwt-server.iml 2009-02-19 19:30:32 UTC (rev 3954)
@@ -11,8 +11,6 @@
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
<orderEntry type="module" module-name="gwt-parent" />
- <orderEntry type="module" module-name="gwt-rpc" />
- <orderEntry type="module" module-name="gwt-server-integration" />
<orderEntry type="module-library" exported="">
<library name="M2 Dep: org.slf4j:slf4j-simple:jar:1.5.2:compile">
<CLASSES>
@@ -41,15 +39,6 @@
</library>
</orderEntry>
<orderEntry type="module-library" exported="">
- <library name="M2 Dep: com.sun.xml.stream:sjsxp:jar:1.0.1:compile">
- <CLASSES>
- <root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/com/sun/xml/stream/sjsxp/1.0.1/sjsxp-1.0.1.jar!/" />
- </CLASSES>
- <JAVADOC />
- <SOURCES />
- </library>
- </orderEntry>
- <orderEntry type="module-library" exported="">
<library name="M2 Dep: javassist:javassist:jar:3.6.0.GA:compile">
<CLASSES>
<root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/javassist/javassist/3.6.0.GA/javassist-3.6.0.GA.jar!/" />
@@ -59,24 +48,6 @@
</library>
</orderEntry>
<orderEntry type="module-library" exported="">
- <library name="M2 Dep: org.jyaml:jyaml:jar:1.3:compile">
- <CLASSES>
- <root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/org/jyaml/jyaml/1.3/jyaml-1.3.jar!/" />
- </CLASSES>
- <JAVADOC />
- <SOURCES />
- </library>
- </orderEntry>
- <orderEntry type="module-library" exported="">
- <library name="M2 Dep: org.jboss.resteasy:jaxrs-api:jar:1.0-beta-8:compile">
- <CLASSES>
- <root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/org/jboss/resteasy/jaxrs-api/1.0-beta-8/jaxrs-api-1.0-beta-8.jar!/" />
- </CLASSES>
- <JAVADOC />
- <SOURCES />
- </library>
- </orderEntry>
- <orderEntry type="module-library" exported="">
<library name="M2 Dep: com.google.gwt:gwt-user:jar:1.5.2:provided">
<CLASSES>
<root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/com/google/gwt/gwt-user/1.5.2/gwt-user-1.5.2.jar!/" />
@@ -133,15 +104,6 @@
</library>
</orderEntry>
<orderEntry type="module-library" exported="">
- <library name="M2 Dep: com.sun.xml.fastinfoset:FastInfoset:jar:1.2.2:compile">
- <CLASSES>
- <root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/com/sun/xml/fastinfoset/FastInfoset/1.2.2/FastInfoset-1.2.2.jar!/" />
- </CLASSES>
- <JAVADOC />
- <SOURCES />
- </library>
- </orderEntry>
- <orderEntry type="module-library" exported="">
<library name="M2 Dep: javax.ejb:ejb-api:jar:3.0:provided">
<CLASSES>
<root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/javax/ejb/ejb-api/3.0/ejb-api-3.0.jar!/" />
@@ -151,24 +113,6 @@
</library>
</orderEntry>
<orderEntry type="module-library" exported="">
- <library name="M2 Dep: org.codehaus.jettison:jettison:jar:1.0.1:compile">
- <CLASSES>
- <root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/org/codehaus/jettison/jettison/1.0.1/jettison-1.0.1.jar!/" />
- </CLASSES>
- <JAVADOC />
- <SOURCES />
- </library>
- </orderEntry>
- <orderEntry type="module-library" exported="">
- <library name="M2 Dep: org.jboss.resteasy:resteasy-jaxrs:jar:1.0-beta-8:compile">
- <CLASSES>
- <root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/org/jboss/resteasy/resteasy-jaxrs/1.0-beta-8/resteasy-jaxrs-1.0-beta-8.jar!/" />
- </CLASSES>
- <JAVADOC />
- <SOURCES />
- </library>
- </orderEntry>
- <orderEntry type="module-library" exported="">
<library name="M2 Dep: com.google.code.gson:gson:jar:1.2.2:compile">
<CLASSES>
<root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/com/google/code/gson/gson/1.2.2/gson-1.2.2.jar!/" />
@@ -186,7 +130,7 @@
<SOURCES />
</library>
</orderEntry>
- <orderEntry type="module-library">
+ <orderEntry type="module-library" exported="">
<library name="M2 Dep: net.sf.ezmorph:ezmorph:jar:1.0.6:test">
<CLASSES>
<root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/net/sf/ezmorph/ezmorph/1.0.6/ezmorph-1.0.6.jar!/" />
@@ -195,7 +139,7 @@
<SOURCES />
</library>
</orderEntry>
- <orderEntry type="module-library">
+ <orderEntry type="module-library" exported="">
<library name="M2 Dep: net.sf.json-lib:json-lib:jar:2.2.3:test">
<CLASSES>
<root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/net/sf/json-lib/json-lib/2.2.3/json-lib-2.2.3.jar!/" />
@@ -204,7 +148,7 @@
<SOURCES />
</library>
</orderEntry>
- <orderEntry type="module-library">
+ <orderEntry type="module-library" exported="">
<library name="M2 Dep: commons-beanutils:commons-beanutils:jar:1.7.0:test">
<CLASSES>
<root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/commons-beanutils/commons-beanutils/1.7.0/commons-beanutils-1.7.0.jar!/" />
@@ -215,7 +159,7 @@
</SOURCES>
</library>
</orderEntry>
- <orderEntry type="module-library">
+ <orderEntry type="module-library" exported="">
<library name="M2 Dep: javax.activation:activation:jar:1.1:provided">
<CLASSES>
<root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/javax/activation/activation/1.1/activation-1.1.jar!/" />
@@ -226,7 +170,7 @@
</SOURCES>
</library>
</orderEntry>
- <orderEntry type="module-library">
+ <orderEntry type="module-library" exported="">
<library name="M2 Dep: commons-lang:commons-lang:jar:2.4:test">
<CLASSES>
<root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/commons-lang/commons-lang/2.4/commons-lang-2.4.jar!/" />
@@ -235,7 +179,7 @@
<SOURCES />
</library>
</orderEntry>
- <orderEntry type="module-library">
+ <orderEntry type="module-library" exported="">
<library name="M2 Dep: commons-collections:commons-collections:jar:3.2:test">
<CLASSES>
<root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/commons-collections/commons-collections/3.2/commons-collections-3.2.jar!/" />
@@ -244,7 +188,7 @@
<SOURCES />
</library>
</orderEntry>
- <orderEntry type="module-library">
+ <orderEntry type="module-library" exported="">
<library name="M2 Dep: javax.xml.bind:jaxb-api:jar:2.1:provided">
<CLASSES>
<root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/javax/xml/bind/jaxb-api/2.1/jaxb-api-2.1.jar!/" />
@@ -253,7 +197,7 @@
<SOURCES />
</library>
</orderEntry>
- <orderEntry type="module-library">
+ <orderEntry type="module-library" exported="">
<library name="M2 Dep: javax.xml.stream:stax-api:jar:1.0-2:provided">
<CLASSES>
<root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/javax/xml/stream/stax-api/1.0-2/stax-api-1.0-2.jar!/" />
@@ -262,7 +206,7 @@
<SOURCES />
</library>
</orderEntry>
- <orderEntry type="module-library">
+ <orderEntry type="module-library" exported="">
<library name="M2 Dep: org.slf4j:slf4j-api:jar:1.5.2:compile">
<CLASSES>
<root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/org/slf4j/slf4j-api/1.5.2/slf4j-api-1.5.2.jar!/" />
@@ -271,7 +215,7 @@
<SOURCES />
</library>
</orderEntry>
- <orderEntry type="module-library">
+ <orderEntry type="module-library" exported="">
<library name="M2 Dep: junit:junit:jar:3.8.1:test">
<CLASSES>
<root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/junit/junit/3.8.1/junit-3.8.1.jar!/" />
@@ -280,6 +224,24 @@
<SOURCES />
</library>
</orderEntry>
+ <orderEntry type="module-library">
+ <library name="M2 Dep: org.jboss.resteasy:resteasy-jaxrs:jar:1.0.2.GA:compile">
+ <CLASSES>
+ <root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/org/jboss/resteasy/resteasy-jaxrs/1.0.2.GA/resteasy-jaxrs-1.0.2.GA.jar!/" />
+ </CLASSES>
+ <JAVADOC />
+ <SOURCES />
+ </library>
+ </orderEntry>
+ <orderEntry type="module-library">
+ <library name="M2 Dep: org.jboss.resteasy:jaxrs-api:jar:1.0.2.GA:compile">
+ <CLASSES>
+ <root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/org/jboss/resteasy/jaxrs-api/1.0.2.GA/jaxrs-api-1.0.2.GA.jar!/" />
+ </CLASSES>
+ <JAVADOC />
+ <SOURCES />
+ </library>
+ </orderEntry>
<orderEntryProperties />
</component>
</module>
Modified: projects/gwt-console/trunk/server/src/main/java/org/jboss/bpm/console/server/ProcessMgmtFacade.java
===================================================================
--- projects/gwt-console/trunk/server/src/main/java/org/jboss/bpm/console/server/ProcessMgmtFacade.java 2009-02-19 18:15:52 UTC (rev 3953)
+++ projects/gwt-console/trunk/server/src/main/java/org/jboss/bpm/console/server/ProcessMgmtFacade.java 2009-02-19 19:30:32 UTC (rev 3954)
@@ -23,9 +23,15 @@
import javax.ws.rs.*;
import javax.ws.rs.core.Response;
+import javax.ws.rs.core.Context;
+import javax.servlet.http.HttpServletRequest;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
+import org.apache.commons.fileupload.FileItemFactory;
+import org.apache.commons.fileupload.FileItem;
+import org.apache.commons.fileupload.servlet.ServletFileUpload;
+import org.apache.commons.fileupload.disk.DiskFileItemFactory;
import org.jboss.bpm.console.client.model.ProcessDefinitionRefWrapper;
import org.jboss.bpm.console.client.model.ProcessInstanceRef;
import org.jboss.bpm.console.client.model.ProcessInstanceRefWrapper;
@@ -35,6 +41,10 @@
import com.google.gson.Gson;
+import java.util.Iterator;
+import java.util.List;
+import java.io.InputStream;
+
/**
* REST server module for accessing process related data.
*
@@ -43,99 +53,153 @@
@Path("process")
public class ProcessMgmtFacade
{
- private static final Log log = LogFactory.getLog(ProcessMgmtFacade.class);
- private ProcessManagement processManagement;
-
- private ProcessManagement getProcessManagement()
- {
- if(null==this.processManagement)
- {
- ManagementFactory factory = ManagementFactory.newInstance();
- this.processManagement = factory.createProcessManagement();
- log.debug("Using ManagementFactory impl:" + factory.getClass().getName());
- }
+ private static final Log log = LogFactory.getLog(ProcessMgmtFacade.class);
+ private ProcessManagement processManagement;
- return this.processManagement;
- }
+ private ProcessManagement getProcessManagement()
+ {
+ if(null==this.processManagement)
+ {
+ ManagementFactory factory = ManagementFactory.newInstance();
+ this.processManagement = factory.createProcessManagement();
+ log.debug("Using ManagementFactory impl:" + factory.getClass().getName());
+ }
- @GET
- @Path("definitions")
- @Produces("application/json")
- public Response getDefinitionsJSON()
- {
- ProcessDefinitionRefWrapper wrapper =
- new ProcessDefinitionRefWrapper(getProcessManagement().getProcessDefinitions());
- return createJsonResponse(wrapper);
- }
+ return this.processManagement;
+ }
- @POST
- @Path("definitions/{id}/remove")
- @Produces("application/json")
- public Response removeDefinitionsJSON(
- @PathParam("id")
- String processId
- )
- {
- ProcessDefinitionRefWrapper wrapper =
- new ProcessDefinitionRefWrapper( getProcessManagement().removeProcessDefinition(processId));
- return createJsonResponse(wrapper);
- }
+ @GET
+ @Path("definitions")
+ @Produces("application/json")
+ public Response getDefinitionsJSON()
+ {
+ ProcessDefinitionRefWrapper wrapper =
+ new ProcessDefinitionRefWrapper(getProcessManagement().getProcessDefinitions());
+ return createJsonResponse(wrapper);
+ }
- @GET
- @Path("definitions/{id}/instances")
- @Produces("application/json")
- public Response getInstancesJSON(
- @PathParam("id")
- String processId
- )
- {
+ @POST
+ @Path("definitions/{id}/remove")
+ @Produces("application/json")
+ public Response removeDefinitionsJSON(
+ @PathParam("id")
+ String processId
+ )
+ {
+ ProcessDefinitionRefWrapper wrapper =
+ new ProcessDefinitionRefWrapper( getProcessManagement().removeProcessDefinition(processId));
+ return createJsonResponse(wrapper);
+ }
- ProcessInstanceRefWrapper wrapper =
- new ProcessInstanceRefWrapper(getProcessManagement().getProcessInstances(processId));
- return createJsonResponse(wrapper);
- }
+ @GET
+ @Path("definitions/{id}/instances")
+ @Produces("application/json")
+ public Response getInstancesJSON(
+ @PathParam("id")
+ String processId
+ )
+ {
- @POST
- @Path("definitions/{id}/instances/new")
- @Produces("application/json")
- public Response newInstance(
- @PathParam("id")
- String processId)
- {
+ ProcessInstanceRefWrapper wrapper =
+ new ProcessInstanceRefWrapper(getProcessManagement().getProcessInstances(processId));
+ return createJsonResponse(wrapper);
+ }
- ProcessInstanceRef instance = null;
- try
- {
- instance = getProcessManagement().newInstance(processId);
- return createJsonResponse(instance);
- }
- catch (Throwable t)
- {
- throw new WebApplicationException(t, 500);
- }
+ @POST
+ @Path("definitions/{id}/instances/new")
+ @Produces("application/json")
+ public Response newInstance(
+ @PathParam("id")
+ String processId)
+ {
- }
+ ProcessInstanceRef instance = null;
+ try
+ {
+ instance = getProcessManagement().newInstance(processId);
+ return createJsonResponse(instance);
+ }
+ catch (Throwable t)
+ {
+ throw new WebApplicationException(t, 500);
+ }
- @POST
- @Path("instances/{id}/state/{next}")
- @Produces("application/json")
- public Response changeState(
- @PathParam("id")
- String instanceId,
- @PathParam("next")
- String next)
- {
- log.debug("Change instance (ID "+instanceId+") to state " +next);
+ }
- ProcessInstanceRef.STATE state = ProcessInstanceRef.STATE.valueOf(next);
- getProcessManagement().setProcessState(instanceId, state);
- return Response.ok().type("application/json").build();
- }
+ @POST
+ @Path("instances/{id}/state/{next}")
+ @Produces("application/json")
+ public Response changeState(
+ @PathParam("id")
+ String instanceId,
+ @PathParam("next")
+ String next)
+ {
+ log.debug("Change instance (ID "+instanceId+") to state " +next);
- private Response createJsonResponse(Object wrapper)
- {
- Gson gson = GsonFactory.createInstance();
- String json = gson.toJson(wrapper);
- return Response.ok(json).type("application/json").build();
- }
+ ProcessInstanceRef.STATE state = ProcessInstanceRef.STATE.valueOf(next);
+ getProcessManagement().setProcessState(instanceId, state);
+ return Response.ok().type("application/json").build();
+ }
+
+ @POST
+ @Path("definitions/new")
+ @Produces("application/json")
+ @Consumes("multipart/form-data")
+ public Response postNewDefinition(
+ @Context
+ HttpServletRequest request
+ )
+ {
+ try
+ {
+ FileItemFactory factory = new DiskFileItemFactory();
+ ServletFileUpload upload = new ServletFileUpload(factory);
+ List items = upload.parseRequest(request);
+
+ Iterator iter = items.iterator();
+ while (iter.hasNext())
+ {
+ FileItem item = (FileItem) iter.next();
+
+ if (item.isFormField())
+ {
+ // ignore
+ System.out.println("Caught form field on file upload: " + item.getName());
+ }
+ else
+ {
+ String fieldName = item.getFieldName();
+ String fileName = item.getName();
+ String contentType = item.getContentType();
+ boolean isInMemory = item.isInMemory();
+ long sizeInBytes = item.getSize();
+
+ // Process a file upload in memory
+ //byte[] data = item.get();
+
+ // Process stream
+ InputStream uploadedStream = item.getInputStream();
+ getProcessManagement().deploy(fileName, contentType, uploadedStream);
+ uploadedStream.close();
+
+
+ }
+
+ }
+ } catch (Exception e)
+ {
+ return Response.serverError().build();
+ }
+
+ return Response.ok().build();
+ }
+
+
+ private Response createJsonResponse(Object wrapper)
+ {
+ Gson gson = GsonFactory.createInstance();
+ String json = gson.toJson(wrapper);
+ return Response.ok(json).type("application/json").build();
+ }
}
Modified: projects/gwt-console/trunk/server/src/main/java/org/jboss/bpm/console/server/TestFacade.java
===================================================================
--- projects/gwt-console/trunk/server/src/main/java/org/jboss/bpm/console/server/TestFacade.java 2009-02-19 18:15:52 UTC (rev 3953)
+++ projects/gwt-console/trunk/server/src/main/java/org/jboss/bpm/console/server/TestFacade.java 2009-02-19 19:30:32 UTC (rev 3954)
@@ -46,7 +46,7 @@
private static final Log log = LogFactory.getLog(TaskMgmtFacade.class);
private ProcessManagement processManagement;
- private static final String SAMPLE_PROCESS_PAR = "/SampleProcess.par";
+ private static final String SAMPLE_PROCESS_PAR = "/process.jpdl.xml";
private ProcessManagement getProcessManagement()
{
@@ -68,7 +68,7 @@
if(null==in)
throw new RuntimeException("Failed to read test deployment: " + SAMPLE_PROCESS_PAR);
- getProcessManagement().deploy(in);
+ getProcessManagement().deploy("test.jpdl.xml", "text/xml", in);
return Response.ok().build();
}
Deleted: projects/gwt-console/trunk/server/src/main/resources/SampleProcess.par
===================================================================
(Binary files differ)
Added: projects/gwt-console/trunk/server/src/main/resources/process.jpdl.xml
===================================================================
--- projects/gwt-console/trunk/server/src/main/resources/process.jpdl.xml (rev 0)
+++ projects/gwt-console/trunk/server/src/main/resources/process.jpdl.xml 2009-02-19 19:30:32 UTC (rev 3954)
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<process name="StateSequence" xmlns="http://jbpm.org/4/jpdl">
+
+ <start g="16,18,48,48">
+ <flow to="a" />
+ </start>
+
+ <state name="a" g="96,16,75,52">
+ <flow to="b" />
+ </state>
+
+ <state name="b" g="203,16,73,52">
+ <flow to="c" />
+ </state>
+
+ <state name="c" g="308,16,76,52" />
+
+</process>
\ No newline at end of file
Modified: projects/gwt-console/trunk/server-integration/gwt-server-integration.iml
===================================================================
--- projects/gwt-console/trunk/server-integration/gwt-server-integration.iml 2009-02-19 18:15:52 UTC (rev 3953)
+++ projects/gwt-console/trunk/server-integration/gwt-server-integration.iml 2009-02-19 19:30:32 UTC (rev 3954)
@@ -9,7 +9,7 @@
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
<orderEntry type="module" module-name="gwt-parent" />
- <orderEntry type="module-library" exported="">
+ <orderEntry type="module-library">
<library name="M2 Dep: javax.xml.bind:jaxb-api:jar:2.1:provided">
<CLASSES>
<root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/javax/xml/bind/jaxb-api/2.1/jaxb-api-2.1.jar!/" />
@@ -18,7 +18,7 @@
<SOURCES />
</library>
</orderEntry>
- <orderEntry type="module-library" exported="">
+ <orderEntry type="module-library">
<library name="M2 Dep: javax.ejb:ejb-api:jar:3.0:provided">
<CLASSES>
<root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/javax/ejb/ejb-api/3.0/ejb-api-3.0.jar!/" />
@@ -27,7 +27,7 @@
<SOURCES />
</library>
</orderEntry>
- <orderEntry type="module-library" exported="">
+ <orderEntry type="module-library">
<library name="M2 Dep: com.google.code.gson:gson:jar:1.2.2:compile">
<CLASSES>
<root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/com/google/code/gson/gson/1.2.2/gson-1.2.2.jar!/" />
@@ -36,16 +36,7 @@
<SOURCES />
</library>
</orderEntry>
- <orderEntry type="module-library" exported="">
- <library name="M2 Dep: com.google.gwt:gwt-servlet:jar:1.5.2:runtime">
- <CLASSES>
- <root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/com/google/gwt/gwt-servlet/1.5.2/gwt-servlet-1.5.2.jar!/" />
- </CLASSES>
- <JAVADOC />
- <SOURCES />
- </library>
- </orderEntry>
- <orderEntry type="module-library" exported="">
+ <orderEntry type="module-library">
<library name="M2 Dep: javax.xml.stream:stax-api:jar:1.0-2:provided">
<CLASSES>
<root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/javax/xml/stream/stax-api/1.0-2/stax-api-1.0-2.jar!/" />
@@ -54,7 +45,7 @@
<SOURCES />
</library>
</orderEntry>
- <orderEntry type="module-library" exported="">
+ <orderEntry type="module-library">
<library name="M2 Dep: javax.activation:activation:jar:1.1:provided">
<CLASSES>
<root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/javax/activation/activation/1.1/activation-1.1.jar!/" />
@@ -65,6 +56,17 @@
</SOURCES>
</library>
</orderEntry>
+ <orderEntry type="module-library">
+ <library name="M2 Dep: org.jboss.javaee:jboss-javaee:jar:5.0.0.GA:provided">
+ <CLASSES>
+ <root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/org/jboss/javaee/jboss-javaee/5.0.0.GA/jboss-javaee-5.0.0.GA.jar!/" />
+ </CLASSES>
+ <JAVADOC />
+ <SOURCES>
+ <root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/org/jboss/javaee/jboss-javaee/5.0.0.GA/jboss-javaee-5.0.0.GA-sources.jar!/" />
+ </SOURCES>
+ </library>
+ </orderEntry>
<orderEntryProperties />
</component>
</module>
Modified: projects/gwt-console/trunk/server-integration/pom.xml
===================================================================
--- projects/gwt-console/trunk/server-integration/pom.xml 2009-02-19 18:15:52 UTC (rev 3953)
+++ projects/gwt-console/trunk/server-integration/pom.xml 2009-02-19 19:30:32 UTC (rev 3954)
@@ -31,7 +31,15 @@
<groupId>javax.xml.bind</groupId>
<artifactId>jaxb-api</artifactId>
<scope>provided</scope>
- </dependency>
+ </dependency>
+
+ <dependency>
+ <groupId>org.jboss.javaee</groupId>
+ <artifactId>jboss-javaee</artifactId>
+ <version>5.0.0.GA</version>
+ <scope>provided</scope>
+ </dependency>
+
</dependencies>
<build>
Modified: projects/gwt-console/trunk/server-integration/src/main/java/org/jboss/bpm/console/server/integration/ProcessManagement.java
===================================================================
--- projects/gwt-console/trunk/server-integration/src/main/java/org/jboss/bpm/console/server/integration/ProcessManagement.java 2009-02-19 18:15:52 UTC (rev 3953)
+++ projects/gwt-console/trunk/server-integration/src/main/java/org/jboss/bpm/console/server/integration/ProcessManagement.java 2009-02-19 19:30:32 UTC (rev 3954)
@@ -50,5 +50,5 @@
void signalToken(long tokenId, String signal);
- void deploy(InputStream deployment);
+ void deploy(String fileName, String contentType, InputStream deployment);
}
Added: projects/gwt-console/trunk/server-integration/src/main/java/org/jboss/bpm/console/server/util/InvocationProxy.java
===================================================================
--- projects/gwt-console/trunk/server-integration/src/main/java/org/jboss/bpm/console/server/util/InvocationProxy.java (rev 0)
+++ projects/gwt-console/trunk/server-integration/src/main/java/org/jboss/bpm/console/server/util/InvocationProxy.java 2009-02-19 19:30:32 UTC (rev 3954)
@@ -0,0 +1,91 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.bpm.console.server.util;
+
+import javax.transaction.UserTransaction;
+import javax.transaction.SystemException;
+import javax.naming.InitialContext;
+import java.lang.reflect.Method;
+
+/**
+ * Decorates process engine invocations with common system aspects, i.e. transaction demarcation.
+ *
+ * @author Heiko.Braun <heiko.braun(a)jboss.com>
+ */
+public class InvocationProxy implements java.lang.reflect.InvocationHandler
+{
+ private Object obj;
+
+ public static Object newInstance(Object obj) {
+ return java.lang.reflect.Proxy.newProxyInstance(
+ obj.getClass().getClassLoader(),
+ obj.getClass().getInterfaces(),
+ new InvocationProxy(obj));
+ }
+
+ private InvocationProxy(Object obj) {
+ this.obj = obj;
+ }
+
+ public Object invoke(Object proxy, Method m, Object[] args)
+ throws Throwable
+ {
+ Object result;
+
+ InitialContext ctx = new InitialContext();
+ UserTransaction tx = (UserTransaction)ctx.lookup("UserTransaction");
+
+
+ try
+ {
+ // before method invocation
+ tx.begin();
+
+ // field target invocation
+ result = m.invoke(obj, args);
+
+ tx.commit();
+
+ }
+ catch (Exception e)
+ {
+ if(tx!=null)
+ {
+ try
+ {
+ tx.rollback();
+ }
+ catch (SystemException e1) {}
+ }
+
+ throw new RuntimeException("Unexpected invocation exception: " + e.getMessage(), e);
+
+ }
+ finally
+ {
+ // after method invocation
+
+ }
+
+ return result;
+ }
+}
\ No newline at end of file
Modified: projects/gwt-console/trunk/war/gwt-war.iml
===================================================================
--- projects/gwt-console/trunk/war/gwt-war.iml 2009-02-19 18:15:52 UTC (rev 3953)
+++ projects/gwt-console/trunk/war/gwt-war.iml 2009-02-19 19:30:32 UTC (rev 3954)
@@ -12,7 +12,7 @@
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
<orderEntry type="module" module-name="gwt-parent" />
- <orderEntry type="module-library">
+ <orderEntry type="module-library" exported="">
<library name="M2 Dep: javax.xml.bind:jaxb-api:jar:2.1:compile">
<CLASSES>
<root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/javax/xml/bind/jaxb-api/2.1/jaxb-api-2.1.jar!/" />
@@ -21,7 +21,7 @@
<SOURCES />
</library>
</orderEntry>
- <orderEntry type="module-library">
+ <orderEntry type="module-library" exported="">
<library name="M2 Dep: junit:junit:jar:3.8.1:test">
<CLASSES>
<root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/junit/junit/3.8.1/junit-3.8.1.jar!/" />
@@ -30,7 +30,7 @@
<SOURCES />
</library>
</orderEntry>
- <orderEntry type="module-library">
+ <orderEntry type="module-library" exported="">
<library name="M2 Dep: com.google.code.gson:gson:jar:1.2.2:compile">
<CLASSES>
<root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/com/google/code/gson/gson/1.2.2/gson-1.2.2.jar!/" />
@@ -39,7 +39,7 @@
<SOURCES />
</library>
</orderEntry>
- <orderEntry type="module-library">
+ <orderEntry type="module-library" exported="">
<library name="M2 Dep: com.google.gwt:gwt-dev:jar:mac:1.5.2:provided">
<CLASSES>
<root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/com/google/gwt/gwt-dev/1.5.2/gwt-dev-1.5.2-mac.jar!/" />
@@ -48,7 +48,7 @@
<SOURCES />
</library>
</orderEntry>
- <orderEntry type="module-library">
+ <orderEntry type="module-library" exported="">
<library name="M2 Dep: com.google.gwt:gwt-user:jar:1.5.2:provided">
<CLASSES>
<root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/com/google/gwt/gwt-user/1.5.2/gwt-user-1.5.2.jar!/" />
@@ -57,7 +57,7 @@
<SOURCES />
</library>
</orderEntry>
- <orderEntry type="module-library">
+ <orderEntry type="module-library" exported="">
<library name="M2 Dep: com.google.gwt:gwt-servlet:jar:1.5.2:runtime">
<CLASSES>
<root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/com/google/gwt/gwt-servlet/1.5.2/gwt-servlet-1.5.2.jar!/" />
@@ -66,7 +66,7 @@
<SOURCES />
</library>
</orderEntry>
- <orderEntry type="module-library">
+ <orderEntry type="module-library" exported="">
<library name="M2 Dep: javax.xml.stream:stax-api:jar:1.0-2:provided">
<CLASSES>
<root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/javax/xml/stream/stax-api/1.0-2/stax-api-1.0-2.jar!/" />
@@ -75,7 +75,7 @@
<SOURCES />
</library>
</orderEntry>
- <orderEntry type="module-library">
+ <orderEntry type="module-library" exported="">
<library name="M2 Dep: javax.activation:activation:jar:1.1:provided">
<CLASSES>
<root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/javax/activation/activation/1.1/activation-1.1.jar!/" />
@@ -86,7 +86,7 @@
</SOURCES>
</library>
</orderEntry>
- <orderEntry type="module-library">
+ <orderEntry type="module-library" exported="">
<library name="M2 Dep: com.google.code.gwt-log:gwt-log:jar:2.5.2:compile">
<CLASSES>
<root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/com/google/code/gwt-log/gwt-log/2.5.2/gwt-log-2.5.2.jar!/" />
@@ -95,7 +95,7 @@
<SOURCES />
</library>
</orderEntry>
- <orderEntry type="module-library">
+ <orderEntry type="module-library" exported="">
<library name="M2 Dep: com.gwtext:gwtext:jar:2.0.5:compile">
<CLASSES>
<root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/com/gwtext/gwtext/2.0.5/gwtext-2.0.5.jar!/" />
@@ -104,7 +104,6 @@
<SOURCES />
</library>
</orderEntry>
- <orderEntry type="module" module-name="gwt-rpc" />
<orderEntryProperties />
</component>
</module>
Modified: projects/gwt-console/trunk/war/src/main/java/org/jboss/bpm/console/client/process/ProcessInstanceDetailForm.java
===================================================================
--- projects/gwt-console/trunk/war/src/main/java/org/jboss/bpm/console/client/process/ProcessInstanceDetailForm.java 2009-02-19 18:15:52 UTC (rev 3953)
+++ projects/gwt-console/trunk/war/src/main/java/org/jboss/bpm/console/client/process/ProcessInstanceDetailForm.java 2009-02-19 19:30:32 UTC (rev 3954)
@@ -72,7 +72,7 @@
// ---------------
- TextField idField = new TextField("Id", "instanceId", 230);
+ TextField idField = new TextField("Id", "id", 230);
idField.setReadOnly(true);
detailsForm.add(idField);
TextField keyField = new TextField("Key", "key", 230);
@@ -86,6 +86,7 @@
detailsForm.add(startDateField);
//detailsForm.add(new DateField("End Date", "endDate", 230));
+
suspendButton = new Button("Suspend",
new ButtonListenerAdapter()
{
@@ -109,6 +110,13 @@
}
);
+
+ // hide buttons
+ // https://jira.jboss.org/jira/browse/JBPM-2052
+
+ suspendButton.hide();
+ resumeButton.hide();
+
detailsForm.addButton(suspendButton);
detailsForm.addButton(resumeButton);
Modified: projects/gwt-console/trunk/war/src/main/java/org/jboss/bpm/console/client/process/ProcessInstanceList.java
===================================================================
--- projects/gwt-console/trunk/war/src/main/java/org/jboss/bpm/console/client/process/ProcessInstanceList.java 2009-02-19 18:15:52 UTC (rev 3953)
+++ projects/gwt-console/trunk/war/src/main/java/org/jboss/bpm/console/client/process/ProcessInstanceList.java 2009-02-19 19:30:32 UTC (rev 3954)
@@ -74,7 +74,14 @@
if (editor.hasView(id))
editor.showView(id);
else
- editor.addView(new ProcessInstanceView(parent, instance, view), true);
+ try
+ {
+ editor.addView(new ProcessInstanceView(parent, instance, view), true);
+ }
+ catch (Throwable t)
+ {
+ t.printStackTrace();
+ }
}
public void onDelete(final int row)
@@ -215,7 +222,7 @@
final ColumnModel columnModel = new ColumnModel(
new ColumnConfig[]
{
- new ColumnConfig("Instance ID", "instanceId", 75, true),
+ new ColumnConfig("Instance ID", "id", 75, true),
//new ColumnConfig("Process ID", "parentId", 25, true),
//new ColumnConfig("Key", "key", 50, true),
new ColumnConfig("State", "state", 100, true,
@@ -240,7 +247,7 @@
{
final RecordDef recordDef = new RecordDef(
new FieldDef[]{
- new StringFieldDef("instanceId"),
+ new StringFieldDef("id"),
new StringFieldDef("definitionId"),
new StringFieldDef("key"),
new StringFieldDef("state"),
@@ -253,7 +260,7 @@
final JsonReader reader = new JsonReader(recordDef);
reader.setRoot("instances");
reader.setTotalProperty("totalCount");
- reader.setId("instanceId");
+ reader.setId("id");
return reader;
}
17 years, 2 months
JBoss JBPM SVN: r3953 - jbpm3/branches.
by do-not-reply@jboss.org
Author: alex.guizar(a)jboss.com
Date: 2009-02-19 13:15:52 -0500 (Thu, 19 Feb 2009)
New Revision: 3953
Added:
jbpm3/branches/jbpm-3.2.5.SP1_JBPM-2053/
Log:
JBPM-2053: create one-off patch branch
Copied: jbpm3/branches/jbpm-3.2.5.SP1_JBPM-2053 (from rev 3952, jbpm3/tags/jbpm-3.2.5.SP1)
17 years, 2 months
JBoss JBPM SVN: r3952 - in jbpm4/trunk/modules: jpdl and 5 other directories.
by do-not-reply@jboss.org
Author: tom.baeyens(a)jboss.com
Date: 2009-02-19 12:09:20 -0500 (Thu, 19 Feb 2009)
New Revision: 3952
Removed:
jbpm4/trunk/modules/api/src/main/java/org/jbpm/env/EnvironmentHelper.java
jbpm4/trunk/modules/jpdl/src/test/java/org/jbpm/jpdl/controlflow/
Modified:
jbpm4/trunk/modules/jpdl/pom.xml
jbpm4/trunk/modules/jpdl/src/main/java/org/jbpm/jpdl/internal/activity/ExclusiveExpressionActivity.java
jbpm4/trunk/modules/jpdl/src/test/java/org/jbpm/jpdl/parsing/JpdlSchemaTest.java
jbpm4/trunk/modules/jpdl/src/test/java/org/jbpm/jpdl/parsing/ProcessParsingTest.java
jbpm4/trunk/modules/jpdl/src/test/java/org/jbpm/jpdl/parsing/TransitionParsingTest.java
jbpm4/trunk/modules/pvm/pom.xml
jbpm4/trunk/modules/pvm/src/main/java/org/jbpm/pvm/internal/env/EnvironmentDefaults.java
Log:
JBPM-1759 cleanup excluded tests
Deleted: jbpm4/trunk/modules/api/src/main/java/org/jbpm/env/EnvironmentHelper.java
===================================================================
--- jbpm4/trunk/modules/api/src/main/java/org/jbpm/env/EnvironmentHelper.java 2009-02-19 15:35:57 UTC (rev 3951)
+++ jbpm4/trunk/modules/api/src/main/java/org/jbpm/env/EnvironmentHelper.java 2009-02-19 17:09:20 UTC (rev 3952)
@@ -1,60 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2005, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-package org.jbpm.env;
-
-import java.lang.reflect.Method;
-import java.util.HashMap;
-import java.util.Map;
-
-import org.jbpm.JbpmException;
-
-/**
- * @author Tom Baeyens
- */
-public abstract class EnvironmentHelper {
-
- static Map<Class<?>, Object> defaultObjectCache = new HashMap<Class<?>, Object>();
-
- public static <T> T get(Class<T> type) {
- if (type==null) {
- return null;
- }
- Environment environment = Environment.getCurrent();
- if (environment!=null) {
- return environment.get(type);
- }
- if (defaultObjectCache.containsKey(type)) {
- return (T) defaultObjectCache.get(type);
- }
- try {
- Method defaultFactoryMethod = type.getMethod("createDefault");
- if (defaultFactoryMethod!=null) {
- Object defaultObject = defaultFactoryMethod.invoke(null);
- defaultObjectCache.put(type, defaultObject);
- return (T) defaultObject;
- }
- } catch (Exception e) {
- throw new JbpmException("couldn't create default "+type.getName(), e);
- }
- return null;
- }
-}
Modified: jbpm4/trunk/modules/jpdl/pom.xml
===================================================================
--- jbpm4/trunk/modules/jpdl/pom.xml 2009-02-19 15:35:57 UTC (rev 3951)
+++ jbpm4/trunk/modules/jpdl/pom.xml 2009-02-19 17:09:20 UTC (rev 3952)
@@ -104,12 +104,6 @@
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<excludes>
- <!-- https://jira.jboss.org/jira/browse/JBPM-1759 -->
- <exclude>org/jbpm/jpdl/controlflow/DecisionExpressionTest.java</exclude>
- <exclude>org/jbpm/jpdl/controlflow/DecisionHandlerTest.java</exclude>
- <exclude>org/jbpm/jpdl/parsing/JpdlSchemaTest.java</exclude>
- <exclude>org/jbpm/jpdl/parsing/ProcessParsingTest.java</exclude>
- <exclude>org/jbpm/jpdl/parsing/TransitionParsingTest.java</exclude>
</excludes>
</configuration>
</plugin>
Modified: jbpm4/trunk/modules/jpdl/src/main/java/org/jbpm/jpdl/internal/activity/ExclusiveExpressionActivity.java
===================================================================
--- jbpm4/trunk/modules/jpdl/src/main/java/org/jbpm/jpdl/internal/activity/ExclusiveExpressionActivity.java 2009-02-19 15:35:57 UTC (rev 3951)
+++ jbpm4/trunk/modules/jpdl/src/main/java/org/jbpm/jpdl/internal/activity/ExclusiveExpressionActivity.java 2009-02-19 17:09:20 UTC (rev 3952)
@@ -23,9 +23,9 @@
import org.jbpm.JbpmException;
import org.jbpm.activity.ActivityExecution;
-import org.jbpm.env.EnvironmentHelper;
import org.jbpm.model.Activity;
import org.jbpm.model.Transition;
+import org.jbpm.pvm.internal.env.EnvironmentDefaults;
import org.jbpm.pvm.internal.script.ScriptManager;
/**
@@ -42,7 +42,7 @@
Activity activity = execution.getActivity();
String transitionName = null;
- ScriptManager scriptManager = EnvironmentHelper.get(ScriptManager.class);
+ ScriptManager scriptManager = EnvironmentDefaults.getScriptManager();
Object result = scriptManager.evaluateExpression(expr, execution, lang);
if ( (result!=null)
&& (! (result instanceof String))
Modified: jbpm4/trunk/modules/jpdl/src/test/java/org/jbpm/jpdl/parsing/JpdlSchemaTest.java
===================================================================
--- jbpm4/trunk/modules/jpdl/src/test/java/org/jbpm/jpdl/parsing/JpdlSchemaTest.java 2009-02-19 15:35:57 UTC (rev 3951)
+++ jbpm4/trunk/modules/jpdl/src/test/java/org/jbpm/jpdl/parsing/JpdlSchemaTest.java 2009-02-19 17:09:20 UTC (rev 3952)
@@ -32,12 +32,16 @@
public class JpdlSchemaTest extends JpdlParseTestCase {
public void testSimplestValidProcess() {
- List<Problem> problems = parseProblems(
- "<jpdl:process xmlns:jpdl='http://jbpm.org/4/jpdl' " +
- " name='p' >" +
- " <jpdl:start name='n' />" +
- "</jpdl:process>"
- );
- assertEquals("", problems.toString());
+ List<Problem> problems = jpdlParser.createParse()
+ .setString(
+ "<jpdl:process xmlns:jpdl='http://jbpm.org/4/jpdl' " +
+ " name='p' >" +
+ " <jpdl:start name='n' />" +
+ "</jpdl:process>"
+ )
+ .execute()
+ .getProblems();
+
+ assertEquals(0, problems.size());
}
}
Modified: jbpm4/trunk/modules/jpdl/src/test/java/org/jbpm/jpdl/parsing/ProcessParsingTest.java
===================================================================
--- jbpm4/trunk/modules/jpdl/src/test/java/org/jbpm/jpdl/parsing/ProcessParsingTest.java 2009-02-19 15:35:57 UTC (rev 3951)
+++ jbpm4/trunk/modules/jpdl/src/test/java/org/jbpm/jpdl/parsing/ProcessParsingTest.java 2009-02-19 17:09:20 UTC (rev 3952)
@@ -33,13 +33,13 @@
public void testSimplestValidProcess() {
ClientProcessDefinition processDefinition = parse(
- "<process name='p' initial='n'>" +
- " <state name='n' />" +
+ "<process name='p'>" +
+ " <start name='s' />" +
"</process>"
);
assertEquals("p", processDefinition.getName());
- assertNotNull(processDefinition.getActivity("n"));
- assertSame(processDefinition.getActivity("n"), processDefinition.getInitial());
+ assertNotNull(processDefinition.getActivity("s"));
+ assertSame(processDefinition.getActivity("s"), processDefinition.getInitial());
assertEquals(1, processDefinition.getActivities().size());
}
@@ -48,32 +48,15 @@
"<process />"
);
assertTextPresent("attribute <process name=\"...\" is required", problems.get(0).getMsg());
- assertTextPresent("attribute <process initial=\"...\" is required", problems.get(1).getMsg());
}
- public void testProcessWithNameOnly() {
- List<Problem> problems = parseProblems(
- "<process name='test' />"
- );
- assertTextPresent("attribute <process initial=\"...\" is required", problems.get(0).getMsg());
- }
-
- public void testProcessWithInitialOnly() {
- List<Problem> problems = parseProblems(
- "<process initial='a'>" +
- " <state name='a' />" +
- "</process>"
- );
- assertTextPresent("attribute <process name=\"...\" is required", problems.get(0).getMsg());
- }
-
-
public void testEmptyProcessName() {
List<Problem> problems = parseProblems(
"<process name='' />"
);
assertTextPresent("attribute <process name=\"\" is empty", problems.get(0).getMsg());
+ assertTextPresent("no start activity in process", problems.get(1).getMsg());
}
public void testProcessWithUnexistingInitial() {
@@ -81,12 +64,6 @@
"<process name='p' initial='ufo' />"
);
assertTextPresent("initial activity 'ufo' was not found", problems.get(0).getMsg());
+ assertTextPresent("no start activity in process", problems.get(1).getMsg());
}
-
- public void testProcessWithEmptyInitial() {
- List<Problem> problems = parseProblems(
- "<process name='p' initial='' />"
- );
- assertTextPresent("attribute <process initial=\"\" is empty", problems.get(0).getMsg());
- }
}
Modified: jbpm4/trunk/modules/jpdl/src/test/java/org/jbpm/jpdl/parsing/TransitionParsingTest.java
===================================================================
--- jbpm4/trunk/modules/jpdl/src/test/java/org/jbpm/jpdl/parsing/TransitionParsingTest.java 2009-02-19 15:35:57 UTC (rev 3951)
+++ jbpm4/trunk/modules/jpdl/src/test/java/org/jbpm/jpdl/parsing/TransitionParsingTest.java 2009-02-19 17:09:20 UTC (rev 3952)
@@ -36,10 +36,10 @@
public void testTransition() {
ClientProcessDefinition processDefinition = parse(
- "<process name='p' initial='a'>" +
- " <state name='a'>" +
+ "<process name='p'>" +
+ " <start name='a'>" +
" <transition to='b' />" +
- " </state>" +
+ " </start>" +
" <state name='b' />" +
"</process>"
);
@@ -54,10 +54,10 @@
public void testSelfTransition() {
ClientProcessDefinition processDefinition = parse(
- "<process name='p' initial='a'>" +
- " <state name='a'>" +
+ "<process name='p'>" +
+ " <start name='a'>" +
" <transition to='a' />" +
- " </state>" +
+ " </start>" +
"</process>"
);
Activity a = processDefinition.getActivity("a");
@@ -69,10 +69,10 @@
public void testMissingTransitionDestination() {
List<Problem> problems = parseProblems(
- "<process name='p' initial='a'>" +
- " <state name='a'>" +
+ "<process name='p'>" +
+ " <start name='a'>" +
" <transition />" +
- " </state>" +
+ " </start>" +
"</process>"
);
assertTextPresent("attribute <transition to=\"...\" is required", problems.get(0).getMsg());
@@ -80,10 +80,10 @@
public void testEmptyTransitionDestination() {
List<Problem> problems = parseProblems(
- "<process name='p' initial='a'>" +
- " <state name='a'>" +
+ "<process name='p'>" +
+ " <start name='a'>" +
" <transition to='' />" +
- " </state>" +
+ " </start>" +
"</process>"
);
assertTextPresent("attribute <transition to=\"\" is empty", problems.get(0).getMsg());
@@ -91,10 +91,10 @@
public void testInvalidTransitionDestination() {
List<Problem> problems = parseProblems(
- "<process name='p' initial='a'>" +
- " <state name='a'>" +
+ "<process name='p'>" +
+ " <start name='a'>" +
" <transition to='unexisting' />" +
- " </state>" +
+ " </start>" +
"</process>"
);
assertTextPresent("attribute <transition to=\"unexisting\" doesn't reference an existing activity name", problems.get(0).getMsg());
@@ -102,12 +102,12 @@
public void testMultipleOutgoingTransitions() {
ClientProcessDefinition processDefinition = parse(
- "<process name='p' initial='a'>" +
- " <state name='a'>" +
+ "<process name='p'>" +
+ " <start name='a'>" +
" <transition to='b' />" +
" <transition to='b' />" +
" <transition to='c' />" +
- " </state>" +
+ " </start>" +
" <state name='b' />" +
" <state name='c' />" +
"</process>"
@@ -123,11 +123,11 @@
public void testMultipleIncomingTransitions() {
ClientProcessDefinition processDefinition = parse(
- "<process name='p' initial='a'>" +
- " <state name='a'>" +
+ "<process name='p'>" +
+ " <start name='a'>" +
" <transition to='c' />" +
" <transition to='c' />" +
- " </state>" +
+ " </start>" +
" <state name='b'>" +
" <transition to='c' />" +
" </state>" +
Modified: jbpm4/trunk/modules/pvm/pom.xml
===================================================================
--- jbpm4/trunk/modules/pvm/pom.xml 2009-02-19 15:35:57 UTC (rev 3951)
+++ jbpm4/trunk/modules/pvm/pom.xml 2009-02-19 17:09:20 UTC (rev 3952)
@@ -118,9 +118,6 @@
<configuration>
<excludes>
<exclude>**/*TestCase.java</exclude>
-
- <!-- https://jira.jboss.org/jira/browse/JBPM-1965 -->
- <exclude>**/NormalMessageTest.java</exclude>
</excludes>
</configuration>
</plugin>
Modified: jbpm4/trunk/modules/pvm/src/main/java/org/jbpm/pvm/internal/env/EnvironmentDefaults.java
===================================================================
--- jbpm4/trunk/modules/pvm/src/main/java/org/jbpm/pvm/internal/env/EnvironmentDefaults.java 2009-02-19 15:35:57 UTC (rev 3951)
+++ jbpm4/trunk/modules/pvm/src/main/java/org/jbpm/pvm/internal/env/EnvironmentDefaults.java 2009-02-19 17:09:20 UTC (rev 3952)
@@ -23,8 +23,6 @@
import org.jbpm.env.Environment;
import org.jbpm.pvm.internal.script.ScriptManager;
-import org.jbpm.pvm.internal.type.DefaultTypeSet;
-import org.jbpm.pvm.internal.type.TypeSet;
/** central location for configuration objects that also
@@ -40,7 +38,7 @@
public abstract class EnvironmentDefaults {
public static ScriptManager getScriptManager() {
- ScriptManager scriptManager = Environment.getFromCurrent(ScriptManager.class);
+ ScriptManager scriptManager = Environment.getFromCurrent(ScriptManager.class, false);
if (scriptManager!=null) {
return scriptManager;
}
17 years, 2 months
JBoss JBPM SVN: r3951 - in projects/docbook-style/src/main: images/images/community and 1 other directory.
by do-not-reply@jboss.org
Author: tom.baeyens(a)jboss.com
Date: 2009-02-19 10:35:57 -0500 (Thu, 19 Feb 2009)
New Revision: 3951
Added:
projects/docbook-style/src/main/images/images/community/bkg_gradient.gif
projects/docbook-style/src/main/images/images/community/community_doc.png
Modified:
projects/docbook-style/src/main/css/css/documentation.css
projects/docbook-style/src/main/css/css/jbossorg.css
Log:
doc style updates
Modified: projects/docbook-style/src/main/css/css/documentation.css
===================================================================
--- projects/docbook-style/src/main/css/css/documentation.css 2009-02-19 14:10:55 UTC (rev 3950)
+++ projects/docbook-style/src/main/css/css/documentation.css 2009-02-19 15:35:57 UTC (rev 3951)
@@ -295,15 +295,16 @@
#title a.site_href {
display:block;
- height:89px;
+ height:116px;
width:310px;
float:left;
+ background:url(../images/jbpm.png) top left no-repeat;
}
#title a.doc_href {
display:block;
height:116px;
- background:transparent url(../images/jbpm.png) top right no-repeat;
+ background:transparent url(../images/community/community_doc.png) top right no-repeat;
}
/* Table */
Modified: projects/docbook-style/src/main/css/css/jbossorg.css
===================================================================
--- projects/docbook-style/src/main/css/css/jbossorg.css 2009-02-19 14:10:55 UTC (rev 3950)
+++ projects/docbook-style/src/main/css/css/jbossorg.css 2009-02-19 15:35:57 UTC (rev 3951)
@@ -5,7 +5,7 @@
@import url("codehighlight.css");
body {
- background-image:url(../images/bg.png);
+ background-image:url(../images/community/bkg_gradient.gif);
background-repeat:repeat-x;
margin:0 auto;
font-family:'Lucida Grande', Geneva, Verdana, Arial, sans-serif;
@@ -38,13 +38,11 @@
}
h1 {
- background-image:url(../images/community/title_hdr.png);
- background-repeat:no-repeat;
border-top:1px dotted #CCCCCC;
line-height:1.2em;
color:#182737;
font-size:2em;
- padding:1.5em;
+ padding-top:20px;
}
h2 {font-size:1.6em;}
Added: projects/docbook-style/src/main/images/images/community/bkg_gradient.gif
===================================================================
(Binary files differ)
Property changes on: projects/docbook-style/src/main/images/images/community/bkg_gradient.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: projects/docbook-style/src/main/images/images/community/community_doc.png
===================================================================
(Binary files differ)
Property changes on: projects/docbook-style/src/main/images/images/community/community_doc.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
17 years, 2 months