[
https://jira.jboss.org/browse/JBPM-2658?page=com.atlassian.jira.plugin.sy...
]
Alejandro Guizar updated JBPM-2658:
-----------------------------------
Fix Version/s: (was: jBPM 4.4)
SourceForge Reference: (was:
https://jira.jboss.org/jira/browse/JBPM-2474)
Resolutions other than "done" should not have a fix version set.
Process variables of type hibernate-long-id/hibernate-string-id
don't work
--------------------------------------------------------------------------
Key: JBPM-2658
URL:
https://jira.jboss.org/browse/JBPM-2658
Project: jBPM
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: Runtime Engine
Affects Versions: jBPM 4.2
Reporter: Derek Cornelius
Assignee: Huisheng Xu
This is the same problem as JBPM-2474.
The problem is in HibernateIdMatcher.
if (sessionFactory!=null) {
ClassMetadata classMetadata = sessionFactory.getClassMetadata(value.getClass());
matches = ( (classMetadata!=null)
&&
(classMetadata.getIdentifierType().getClass()==getIdType())
);
}
value.getClass() is returning the Javassist proxy class that is not found.
It needs to check for "value.getClass().getSuperClass()" if value instance of
HibernateProxy.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira