I patched jbpm.history.hbm.xml and use the "_DET_" ones, the fix for this has been postponed to jBPM 4.3 see: https://jira.jboss.org/jira/browse/JBPM-2477?focusedCommentId=12482983