Hi,

I recently tried to set a string variable in my process instance, but the 
string of 500 characters was unable to insert due to a SQL exception regarding 
the column length being too short.  I am using PostgresQL and the 
jbpm_variableinstance table indicates that the stringvalue_ column can only be 
255 characters long.  I then reviewed the hibernate config for the class and 
found the following:

  | <hibernate-mapping default-access="field">
  |   <subclass name="org.jbpm.context.exe.variableinstance.StringInstance" 
  |             extends="org.jbpm.context.exe.VariableInstance" 
  |             discriminator-value="S"
  |             lazy="false">
  |     <property name="value" type="string" column="STRINGVALUE_" 
length="4000"/>
  |   </subclass>
  | </hibernate-mapping>
  | 
Anyone have an idea why my table is showing a length of varchar((255) instead 
of varchar(4000)?  I have created the db via the ant task found in the jBPM 3.0 
download.

Thanks,
Julian

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3910966#3910966

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3910966


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to