[jboss-jira] [JBoss JIRA] Closed: (JBPM-846) HibernateLongIdMatcher (and HibernateStringIdMatcher) is not processed correctly CGLib Enchanced classes
Tom Baeyens (JIRA)
jira-events at lists.jboss.org
Wed Mar 21 10:22:52 EDT 2007
[ http://jira.jboss.com/jira/browse/JBPM-846?page=all ]
Tom Baeyens closed JBPM-846.
----------------------------
Resolution: Rejected
it is already fixed in 3.1.4 and above
> HibernateLongIdMatcher (and HibernateStringIdMatcher) is not processed correctly CGLib Enchanced classes
> --------------------------------------------------------------------------------------------------------
>
> Key: JBPM-846
> URL: http://jira.jboss.com/jira/browse/JBPM-846
> Project: JBoss jBPM
> Issue Type: Bug
> Components: Core Engine
> Affects Versions: jBPM 3.1.3
> Reporter: Alexey Kakunin
> Assigned To: Tom Baeyens
>
> Initially I though it is Hibernate Issue and reported it there: http://opensource.atlassian.com/projects/hibernate/browse/HHH-2437
> But seems from answer it is bug in jBPM.
> So, if we storing some object as variable in jBPM, and this object got from Hibernate - and enhanced by CGLib - it is not processed correctly.
> It is because HibernateLongIdMatcher (and HibernateStringIdMatcher) tried to get meta-data by using object.getClass() - but in this case Class-returned - is not a real class, but class enhanced by CGLib, as result, Hibernate did not returned us MetaData (because cannot find it) and as result - this object stored not as reference - but as BLOB.
> Some possible solutions provided in Hibernate Issue
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list