Hi Tim,
the TEXT_VALUE_ column is for char[], the test case goes like this:
public void testCharsVariable() {
ExecutionImpl execution = startProcessInstance();
char[] chars = generateChars("a lot of bytes ", 500);
assertTrue(chars.length>4500);
execution.setVariable("v", chars);
Variable variable = execution.getVariableObject("v");
assertEquals(TextVariable.class, variable.getClass());
assertTrue(Arrays.equals(chars, (char[]) execution.getVariable("v")));
}
if you want to extend the size for the STRING_VALUE_ column, it is configured in
jbpm.execution.hbm.xml:
<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="string"/>
</subclass>