I want to increase the length for Strings as process variables("ACT_RU_VARIABLE"."TEXT_") in the database! Since in my scenario I save a string that is longer than 4000 bytes.
I can't modify the engine activiti.*.create.engine.sql, because I only use the activiti-engine.jar in the form of dependency.
That 4000 is not just an random chosen number, it's the least common denominator across all databases (oracle's max is 4000). Since String variables are still query able in our API (using like, equals, not equals, …), strings need to be stored as varchar-types. Blobs are NOT searchable this way. We wanted to keep string-query consistent, hence the error you get.