jBPM variable mapping does not map correctly an empty String.
-------------------------------------------------------------
Key: JBPM-2791
URL:
https://jira.jboss.org/jira/browse/JBPM-2791
Project: jBPM
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: Runtime Engine
Affects Versions: jBPM 3.2.7
Environment: DATABASE: Oracle10g
Reporter: Marek Baluch
If I define the following variable mapping between ESB and jBPM (code bellow) and the
mapped value (e.g. from ESB to jBPM) is an empty String then the result is null.
<bpmToEsbVars>
<mapping bpm="theBody" esb="BODY_CONTENT"/>
</bpmToEsbVars>
<esbToBpmVars>
<mapping esb="BODY_CONTENT" bpm="theBody"/>
</esbToBpmVars>
The problem may lie in hibernate
(
http://opensource.atlassian.com/projects/hibernate/browse/HV-13). Also my test has shown
that if I persist an object with some field set to an empty String then the object
returned from the oracle10g database has the field value equal to null.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira