[jbpm-commits] JBoss JBPM SVN: r2862 - in jbpm3/branches/aguizar/modules/core/src/main/resources/org/jbpm: context/log/variableinstance and 11 other directories.
do-not-reply at jboss.org
do-not-reply at jboss.org
Mon Nov 10 11:39:53 EST 2008
Author: alex.guizar at jboss.com
Date: 2008-11-10 11:39:52 -0500 (Mon, 10 Nov 2008)
New Revision: 2862
Modified:
jbpm3/branches/aguizar/modules/core/src/main/resources/org/jbpm/context/exe/variableinstance/HibernateStringInstance.hbm.xml
jbpm3/branches/aguizar/modules/core/src/main/resources/org/jbpm/context/exe/variableinstance/StringInstance.hbm.xml
jbpm3/branches/aguizar/modules/core/src/main/resources/org/jbpm/context/log/variableinstance/StringUpdateLog.hbm.xml
jbpm3/branches/aguizar/modules/core/src/main/resources/org/jbpm/db/hibernate.queries.hbm.xml
jbpm3/branches/aguizar/modules/core/src/main/resources/org/jbpm/graph/action/Script.hbm.xml
jbpm3/branches/aguizar/modules/core/src/main/resources/org/jbpm/graph/def/ExceptionHandler.hbm.xml
jbpm3/branches/aguizar/modules/core/src/main/resources/org/jbpm/graph/def/Node.hbm.xml
jbpm3/branches/aguizar/modules/core/src/main/resources/org/jbpm/graph/def/ProcessDefinition.hbm.xml
jbpm3/branches/aguizar/modules/core/src/main/resources/org/jbpm/graph/def/Transition.hbm.xml
jbpm3/branches/aguizar/modules/core/src/main/resources/org/jbpm/graph/exe/Comment.hbm.xml
jbpm3/branches/aguizar/modules/core/src/main/resources/org/jbpm/graph/log/ActionLog.hbm.xml
jbpm3/branches/aguizar/modules/core/src/main/resources/org/jbpm/instantiation/Delegation.hbm.xml
jbpm3/branches/aguizar/modules/core/src/main/resources/org/jbpm/job/Job.hbm.xml
jbpm3/branches/aguizar/modules/core/src/main/resources/org/jbpm/logging/log/MessageLog.hbm.xml
jbpm3/branches/aguizar/modules/core/src/main/resources/org/jbpm/module/def/ModuleDefinition.hbm.xml
jbpm3/branches/aguizar/modules/core/src/main/resources/org/jbpm/taskmgmt/def/Task.hbm.xml
jbpm3/branches/aguizar/modules/core/src/main/resources/org/jbpm/taskmgmt/exe/TaskInstance.hbm.xml
Log:
reverting mapping changes made as part of JBPM-701
Modified: jbpm3/branches/aguizar/modules/core/src/main/resources/org/jbpm/context/exe/variableinstance/HibernateStringInstance.hbm.xml
===================================================================
--- jbpm3/branches/aguizar/modules/core/src/main/resources/org/jbpm/context/exe/variableinstance/HibernateStringInstance.hbm.xml 2008-11-10 16:37:52 UTC (rev 2861)
+++ jbpm3/branches/aguizar/modules/core/src/main/resources/org/jbpm/context/exe/variableinstance/HibernateStringInstance.hbm.xml 2008-11-10 16:39:52 UTC (rev 2862)
@@ -10,7 +10,7 @@
discriminator-value="I">
<any name="value" id-type="string" cascade="save-update">
<column name="STRINGIDCLASS_" />
- <column name="STRINGVALUE_"/>
+ <column name="STRINGVALUE_" length="4000" />
</any>
</subclass>
</hibernate-mapping>
Modified: jbpm3/branches/aguizar/modules/core/src/main/resources/org/jbpm/context/exe/variableinstance/StringInstance.hbm.xml
===================================================================
--- jbpm3/branches/aguizar/modules/core/src/main/resources/org/jbpm/context/exe/variableinstance/StringInstance.hbm.xml 2008-11-10 16:37:52 UTC (rev 2861)
+++ jbpm3/branches/aguizar/modules/core/src/main/resources/org/jbpm/context/exe/variableinstance/StringInstance.hbm.xml 2008-11-10 16:39:52 UTC (rev 2862)
@@ -8,6 +8,6 @@
<subclass name="org.jbpm.context.exe.variableinstance.StringInstance"
extends="org.jbpm.context.exe.VariableInstance"
discriminator-value="S">
- <property name="value" type="text" column="STRINGVALUE_"/>
+ <property name="value" type="string" column="STRINGVALUE_" length="4000"/>
</subclass>
</hibernate-mapping>
Modified: jbpm3/branches/aguizar/modules/core/src/main/resources/org/jbpm/context/log/variableinstance/StringUpdateLog.hbm.xml
===================================================================
--- jbpm3/branches/aguizar/modules/core/src/main/resources/org/jbpm/context/log/variableinstance/StringUpdateLog.hbm.xml 2008-11-10 16:37:52 UTC (rev 2861)
+++ jbpm3/branches/aguizar/modules/core/src/main/resources/org/jbpm/context/log/variableinstance/StringUpdateLog.hbm.xml 2008-11-10 16:39:52 UTC (rev 2862)
@@ -9,8 +9,16 @@
<subclass name="org.jbpm.context.log.variableinstance.StringUpdateLog"
extends="org.jbpm.context.log.VariableUpdateLog"
discriminator-value="U">
- <property name="oldValue" column="OLDSTRINGVALUE_" type="text"/>
- <property name="newValue" column="NEWSTRINGVALUE_" type="text"/>
+ <property name="oldValue" column="OLDSTRINGVALUE_" length="4000">
+ <type name="string_max">
+ <param name="length">4000</param>
+ </type>
+ </property>
+ <property name="newValue" column="NEWSTRINGVALUE_" length="4000">
+ <type name="string_max">
+ <param name="length">4000</param>
+ </type>
+ </property>
</subclass>
</hibernate-mapping>
Modified: jbpm3/branches/aguizar/modules/core/src/main/resources/org/jbpm/db/hibernate.queries.hbm.xml
===================================================================
--- jbpm3/branches/aguizar/modules/core/src/main/resources/org/jbpm/db/hibernate.queries.hbm.xml 2008-11-10 16:37:52 UTC (rev 2861)
+++ jbpm3/branches/aguizar/modules/core/src/main/resources/org/jbpm/db/hibernate.queries.hbm.xml 2008-11-10 16:39:52 UTC (rev 2862)
@@ -6,6 +6,8 @@
<hibernate-mapping>
+ <typedef class="org.jbpm.db.hibernate.StringMax" name="string_max" />
+
<!-- related to ProcessDefintion -->
<!-- ########################### -->
Modified: jbpm3/branches/aguizar/modules/core/src/main/resources/org/jbpm/graph/action/Script.hbm.xml
===================================================================
--- jbpm3/branches/aguizar/modules/core/src/main/resources/org/jbpm/graph/action/Script.hbm.xml 2008-11-10 16:37:52 UTC (rev 2861)
+++ jbpm3/branches/aguizar/modules/core/src/main/resources/org/jbpm/graph/action/Script.hbm.xml 2008-11-10 16:39:52 UTC (rev 2862)
@@ -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" />
+ <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/aguizar/modules/core/src/main/resources/org/jbpm/graph/def/ExceptionHandler.hbm.xml
===================================================================
--- jbpm3/branches/aguizar/modules/core/src/main/resources/org/jbpm/graph/def/ExceptionHandler.hbm.xml 2008-11-10 16:37:52 UTC (rev 2861)
+++ jbpm3/branches/aguizar/modules/core/src/main/resources/org/jbpm/graph/def/ExceptionHandler.hbm.xml 2008-11-10 16:39:52 UTC (rev 2862)
@@ -8,8 +8,7 @@
table="JBPM_EXCEPTIONHANDLER">
<id name="id" column="ID_"><generator class="native" /></id>
- <property name="exceptionClassName" column="EXCEPTIONCLASSNAME_"
- type="text" />
+ <property name="exceptionClassName" column="EXCEPTIONCLASSNAME_" length="4000"/>
<any name="graphElement" id-type="long" meta-type="char">
<meta-value value="A" class="org.jbpm.taskmgmt.def.Task"/>
Modified: jbpm3/branches/aguizar/modules/core/src/main/resources/org/jbpm/graph/def/Node.hbm.xml
===================================================================
--- jbpm3/branches/aguizar/modules/core/src/main/resources/org/jbpm/graph/def/Node.hbm.xml 2008-11-10 16:37:52 UTC (rev 2861)
+++ jbpm3/branches/aguizar/modules/core/src/main/resources/org/jbpm/graph/def/Node.hbm.xml 2008-11-10 16:39:52 UTC (rev 2862)
@@ -25,7 +25,11 @@
<!-- GRAPHELEMENT -->
<property name="name" column="NAME_"/>
- <property name="description" column="DESCRIPTION_" type="text"/>
+ <property name="description" column="DESCRIPTION_" length="4000">
+ <type name="string_max">
+ <param name="length">4000</param>
+ </type>
+ </property>
<many-to-one name="processDefinition"
column="PROCESSDEFINITION_"
foreign-key="FK_NODE_PROCDEF"
Modified: jbpm3/branches/aguizar/modules/core/src/main/resources/org/jbpm/graph/def/ProcessDefinition.hbm.xml
===================================================================
--- jbpm3/branches/aguizar/modules/core/src/main/resources/org/jbpm/graph/def/ProcessDefinition.hbm.xml 2008-11-10 16:37:52 UTC (rev 2861)
+++ jbpm3/branches/aguizar/modules/core/src/main/resources/org/jbpm/graph/def/ProcessDefinition.hbm.xml 2008-11-10 16:39:52 UTC (rev 2862)
@@ -13,7 +13,11 @@
<!-- GRAPHELEMENT -->
<!-- base class fields are mapped here -->
<property name="name" column="NAME_" />
- <property name="description" column="DESCRIPTION_" type="text"/>
+ <property name="description" column="DESCRIPTION_" length="4000">
+ <type name="string_max">
+ <param name="length">4000</param>
+ </type>
+ </property>
<map name="events" cascade="all">
<key column="PROCESSDEFINITION_" foreign-key="FK_EVENT_PROCDEF" />
<index column="EVENTTYPE_" type="string"/>
Modified: jbpm3/branches/aguizar/modules/core/src/main/resources/org/jbpm/graph/def/Transition.hbm.xml
===================================================================
--- jbpm3/branches/aguizar/modules/core/src/main/resources/org/jbpm/graph/def/Transition.hbm.xml 2008-11-10 16:37:52 UTC (rev 2861)
+++ jbpm3/branches/aguizar/modules/core/src/main/resources/org/jbpm/graph/def/Transition.hbm.xml 2008-11-10 16:39:52 UTC (rev 2862)
@@ -10,7 +10,11 @@
<!-- GRAPHELEMENT -->
<property name="name" column="NAME_"/>
- <property name="description" column="DESCRIPTION_" type="text"></property>
+ <property name="description" column="DESCRIPTION_" length="4000">
+ <type name="string_max">
+ <param name="length">4000</param>
+ </type>
+ </property>
<many-to-one name="processDefinition"
column="PROCESSDEFINITION_"
foreign-key="FK_TRANS_PROCDEF"
Modified: jbpm3/branches/aguizar/modules/core/src/main/resources/org/jbpm/graph/exe/Comment.hbm.xml
===================================================================
--- jbpm3/branches/aguizar/modules/core/src/main/resources/org/jbpm/graph/exe/Comment.hbm.xml 2008-11-10 16:37:52 UTC (rev 2861)
+++ jbpm3/branches/aguizar/modules/core/src/main/resources/org/jbpm/graph/exe/Comment.hbm.xml 2008-11-10 16:39:52 UTC (rev 2862)
@@ -11,7 +11,11 @@
<property name="actorId" column="ACTORID_"/>
<property name="time" column="TIME_"/>
- <property name="message" column="MESSAGE_" type="text"/>
+ <property name="message" column="MESSAGE_" length="4000">
+ <type name="string_max">
+ <param name="length">4000</param>
+ </type>
+ </property>
<many-to-one name="token"
column="TOKEN_"
foreign-key="FK_COMMENT_TOKEN"
Modified: jbpm3/branches/aguizar/modules/core/src/main/resources/org/jbpm/graph/log/ActionLog.hbm.xml
===================================================================
--- jbpm3/branches/aguizar/modules/core/src/main/resources/org/jbpm/graph/log/ActionLog.hbm.xml 2008-11-10 16:37:52 UTC (rev 2861)
+++ jbpm3/branches/aguizar/modules/core/src/main/resources/org/jbpm/graph/log/ActionLog.hbm.xml 2008-11-10 16:39:52 UTC (rev 2862)
@@ -10,7 +10,13 @@
extends="org.jbpm.logging.log.CompositeLog"
discriminator-value="A">
- <property name="exception" column="EXCEPTION_" type="text"/>
+ <property name="exception"
+ column="EXCEPTION_"
+ length="4000">
+ <type name="string_max">
+ <param name="length">4000</param>
+ </type>
+ </property>
<many-to-one name="action"
column="ACTION_"
class="org.jbpm.graph.def.Action"
Modified: jbpm3/branches/aguizar/modules/core/src/main/resources/org/jbpm/instantiation/Delegation.hbm.xml
===================================================================
--- jbpm3/branches/aguizar/modules/core/src/main/resources/org/jbpm/instantiation/Delegation.hbm.xml 2008-11-10 16:37:52 UTC (rev 2861)
+++ jbpm3/branches/aguizar/modules/core/src/main/resources/org/jbpm/instantiation/Delegation.hbm.xml 2008-11-10 16:39:52 UTC (rev 2862)
@@ -8,8 +8,8 @@
table="JBPM_DELEGATION">
<id name="id" column="ID_"><generator class="native" /></id>
- <property name="className" column="CLASSNAME_" type="text" />
- <property name="configuration" column="CONFIGURATION_" type="text" />
+ <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/aguizar/modules/core/src/main/resources/org/jbpm/job/Job.hbm.xml
===================================================================
--- jbpm3/branches/aguizar/modules/core/src/main/resources/org/jbpm/job/Job.hbm.xml 2008-11-10 16:37:52 UTC (rev 2861)
+++ jbpm3/branches/aguizar/modules/core/src/main/resources/org/jbpm/job/Job.hbm.xml 2008-11-10 16:39:52 UTC (rev 2862)
@@ -35,7 +35,11 @@
<property name="isExclusive" column="ISEXCLUSIVE_" />
<property name="lockOwner" column="LOCKOWNER_" />
<property name="lockTime" column="LOCKTIME_" />
- <property name="exception" column="EXCEPTION_" type="text"/>
+ <property name="exception" column="EXCEPTION_" length="4000">
+ <type name="string_max">
+ <param name="length">4000</param>
+ </type>
+ </property>
<property name="retries" column="RETRIES_" />
</class>
Modified: jbpm3/branches/aguizar/modules/core/src/main/resources/org/jbpm/logging/log/MessageLog.hbm.xml
===================================================================
--- jbpm3/branches/aguizar/modules/core/src/main/resources/org/jbpm/logging/log/MessageLog.hbm.xml 2008-11-10 16:37:52 UTC (rev 2861)
+++ jbpm3/branches/aguizar/modules/core/src/main/resources/org/jbpm/logging/log/MessageLog.hbm.xml 2008-11-10 16:39:52 UTC (rev 2862)
@@ -9,7 +9,11 @@
<subclass name="org.jbpm.logging.log.MessageLog"
extends="org.jbpm.logging.log.ProcessLog"
discriminator-value="M">
- <property name="message" column="MESSAGE_" type="text"/>
+ <property name="message" column="MESSAGE_" length="4000">
+ <type name="string_max">
+ <param name="length">4000</param>
+ </type>
+ </property>
</subclass>
</hibernate-mapping>
Modified: jbpm3/branches/aguizar/modules/core/src/main/resources/org/jbpm/module/def/ModuleDefinition.hbm.xml
===================================================================
--- jbpm3/branches/aguizar/modules/core/src/main/resources/org/jbpm/module/def/ModuleDefinition.hbm.xml 2008-11-10 16:37:52 UTC (rev 2861)
+++ jbpm3/branches/aguizar/modules/core/src/main/resources/org/jbpm/module/def/ModuleDefinition.hbm.xml 2008-11-10 16:39:52 UTC (rev 2862)
@@ -21,7 +21,7 @@
<!-- : -->
<!-- : -->
- <property name="name" column="NAME_"/>
+ <property name="name" column="NAME_" length="4000"/>
<many-to-one name="processDefinition"
column="PROCESSDEFINITION_"
foreign-key="FK_MODDEF_PROCDEF"
Modified: jbpm3/branches/aguizar/modules/core/src/main/resources/org/jbpm/taskmgmt/def/Task.hbm.xml
===================================================================
--- jbpm3/branches/aguizar/modules/core/src/main/resources/org/jbpm/taskmgmt/def/Task.hbm.xml 2008-11-10 16:37:52 UTC (rev 2861)
+++ jbpm3/branches/aguizar/modules/core/src/main/resources/org/jbpm/taskmgmt/def/Task.hbm.xml 2008-11-10 16:39:52 UTC (rev 2862)
@@ -12,7 +12,11 @@
<!-- GRAPHELEMENT -->
<property name="name" column="NAME_" />
- <property name="description" column="DESCRIPTION_" type="text"/>
+ <property name="description" column="DESCRIPTION_" length="4000">
+ <type name="string_max">
+ <param name="length">4000</param>
+ </type>
+ </property>
<many-to-one name="processDefinition"
column="PROCESSDEFINITION_"
foreign-key="FK_TASK_PROCDEF"
Modified: jbpm3/branches/aguizar/modules/core/src/main/resources/org/jbpm/taskmgmt/exe/TaskInstance.hbm.xml
===================================================================
--- jbpm3/branches/aguizar/modules/core/src/main/resources/org/jbpm/taskmgmt/exe/TaskInstance.hbm.xml 2008-11-10 16:37:52 UTC (rev 2861)
+++ jbpm3/branches/aguizar/modules/core/src/main/resources/org/jbpm/taskmgmt/exe/TaskInstance.hbm.xml 2008-11-10 16:39:52 UTC (rev 2862)
@@ -14,7 +14,11 @@
<version name="version" column="VERSION_" />
<property name="name" column="NAME_" />
- <property name="description" column="DESCRIPTION_" type="text"/>
+ <property name="description" column="DESCRIPTION_" length="4000">
+ <type name="string_max">
+ <param name="length">4000</param>
+ </type>
+ </property>
<property name="actorId" column="ACTORID_" index="IDX_TASK_ACTORID"/>
<property name="create" column="CREATE_" />
<property name="start" column="START_" />
More information about the jbpm-commits
mailing list