In the jBPM hibernate mapping the following file describes the mapping of string variables to 'text' columns:
Code:
<hibernate-mapping auto-import="false" default-access="field">
<subclass name="org.jbpm.context.exe.variableinstance.StringInstance"
extends="org.jbpm.context.exe.VariableInstance"
discriminator-value="S">
<property name="value" type="text" column="STRINGVALUE_"/>
</subclass>
</hibernate-mapping>
But in the database the column stringvalue_ is created as a varchar(255).
Looking into org.hibernate.cfg.HbmBinder (versions 3.2.6 and 3.3.0) I saw, that most occurences of 'type' are commented out or marked with TODOs.
So, is it impossible to create a string-column as sql-type 'text'?