1 Reply Latest reply on Aug 6, 2009 6:39 AM by kukeltje

    About ProcessInstance  Variables size

      Hello ,
      I have a trouble when I insert some variable as String into ContextInstance, the code like this:

      TaskInstance task = jbpmContext.getTaskInstance(taskInstanceId);
      task.getContextInstance().setVariable(key, value);
      the "value" variables is a String with large size,

      there is a exception will be throw like this:
      Caused by: java.sql.BatchUpdateException: Data truncation: Data too long for column 'STRINGVALUE_' at row 1

      I want to kown that how can I save a String with large size into the ContextInstance as a instance variable?

      ps: I used jbpm 3.1.3 , mysql 5.0.
      ps2:Could I change the size of the 'STRINGVALUE_' filed?

      Thanx.
      Sweet