如何更改 Camunda 数据库以接受长字符串变量?
How to ALTER Camunda database to accept long string variables?
我在通过 Camunda Engine 传递长字符串变量(长度超过 4000 个字符)时遇到问题。
有没有办法改变 camunda 数据库来避免这个异常,或者禁用默认的长字符串限制?
import org.camunda.bpm.engine.variable.Variables;
import org.camunda.bpm.engine.variable.Variables.SerializationDataFormats;
variableMap.put("Authorization", Variables
.objectValue(authorization)
// tells the engine to use java serialization for persisting the value
.serializationDataFormat(SerializationDataFormats.JAVA)
.create());
我在通过 Camunda Engine 传递长字符串变量(长度超过 4000 个字符)时遇到问题。
有没有办法改变 camunda 数据库来避免这个异常,或者禁用默认的长字符串限制?
import org.camunda.bpm.engine.variable.Variables;
import org.camunda.bpm.engine.variable.Variables.SerializationDataFormats;
variableMap.put("Authorization", Variables
.objectValue(authorization)
// tells the engine to use java serialization for persisting the value
.serializationDataFormat(SerializationDataFormats.JAVA)
.create());