[jboss-user] [jBPM] - Variables types / String too large for column

Michael Wohlfart do-not-reply at jboss.com
Sat Aug 7 10:18:35 EDT 2010


Michael Wohlfart [http://community.jboss.org/people/mwohlf] replied to the discussion

"Variables types / String too large for column"

To view the discussion, visit: http://community.jboss.org/message/556342#556342

--------------------------------------------------------------
the following hackery stores a variable in the TEXT_VALUE_ column of JBPM4_VARIABLE:

        EnvironmentImpl environment = processEngine.openEnvironment();
        try {
            taskImpl.createVariable("varName", "a real long text value here".toCharArray(), "char[]", false);
        } finally {
            environment.close();
        }

HTH
Michael

--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/556342#556342]

Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20100807/11439def/attachment.html 


More information about the jboss-user mailing list