[jboss-user] [jBPM] - jbpm 4.1 using "clob" variables

Tim Struyf do-not-reply at jboss.com
Mon May 10 15:03:44 EDT 2010


Tim Struyf [http://community.jboss.org/people/tim83] replied to the discussion

"jbpm 4.1 using "clob" variables"

To view the discussion, visit: http://community.jboss.org/message/542118#542118

--------------------------------------------------------------
Thanks for your reply,

Adding the jbpm.execution.hbm.xml in my classes folder, changing the type to "text" and modifying the type of the column in the database to "clob" did the trick :-)
Hope it doesnt break anything else...  B-) 

<subclass  name="org.jbpm.pvm.internal.type.variable.StringVariable"   extends="org.jbpm.pvm.internal.type.Variable"   discriminator-value="string">
    <property name="string"   column="STRING_VALUE_" *type="text"*/>
</subclass>

alter table jbpm4_variable rename column string_value_ to string_value_2;
alter table jbpm4_variable add ( string_value_ clob ) ;
update jbpm4_variable set string_value_ = string_value_2;
commit;

--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/542118#542118]

Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20100510/575aeb96/attachment-0001.html 


More information about the jboss-user mailing list