i think this depends on the hibernate version that you are using.
if you see this problem with the hibernate version that comes with jbpm, please create a jira issue for this. and i'll fix it.
if you could create a FAQ entry for this, that would be great too.
I am using jBPM 3.1 and the hibernate JARs are from the JBPM distribution itself i.e. jbpm-3.1\lib\hibernate directory.
Given the above information, I assume that it is indeed an issue and maybe I should raise it in JIRA.
Please confirm the same and I will add it to JIRA.
yes, please raise a jira issue with as many details as possible.
Is this issue alreay resolved.
I changed the hbm.xml file with the fix posted and the bug is gone. Is this going to be incorperated in the next release.
if there is no jira issue, it will not be resolved automagically. Since I see no report of a jira issue here I asume there is none. If you find one post it here and vote for it. If there is a jira issue, there will also be a roadmap for this issue.