[
http://opensource.atlassian.com/projects/hibernate/browse/HHH-2222?page=c...
]
Steve Ebersole commented on HHH-2222:
-------------------------------------
I am absolutely against repackaging within Hibernate. And in fact repackaging within
cglib is at best a band-aid with one side of its stickiness worn off; as soon as you have
two versions of cglib doing this repackaging you have the same issue.
Generally speaking, as a container it is Spring's responsibility to isolate its
implementation details from its users. This is *exactly* the reason that app servers do
this re-packaging of libraries all the time.
As for Hibernate users, there is a trivial work around: use javassist for the bytecode
provider.
Long term, as soon as cglib has a release using asm 2.x (it looks like cvs currently has
asm 2.2.1) we will move to that.
SpringFramework 2.0 uses ASM.JAR versions 2.2.2. This is
incompatible with Hibernate 3.2 as it uses and "unknown" previous version of
ASM.JAR
----------------------------------------------------------------------------------------------------------------------------------------------
Key: HHH-2222
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HHH-2222
Project: Hibernate3
Issue Type: Improvement
Affects Versions: 3.2.0.ga
Environment: Hibernate 3.2.0ga
Reporter: Greg McGregor
Assignee: Gail Badner
Attachments: HHH-2222.patch
Original Estimate: 0 minutes
Remaining Estimate: 0 minutes
SpringFramework 2.0 uses ASM.JAR from ObjectWeb version 2.2.2. However, Hibernate
3.2.0ga utilizes an "unknown" previous version of the ASM.JAR. The issue is
that the method signatures and classes have changed between the two versions. Therefore,
Hibernate 3.2.0ga won't run with the new ASM.JAR and Spring 2.0 won't run with the
previous ASM.JAR. Mushing the two JARs together in an attempt to get something going
results in a NoSuchMethodError (which would make sense).
Although this isn't a direct Hibernate3 bug, it does preclude stable use with Spring
2.0/
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://opensource.atlassian.com/projects/hibernate/secure/Administrators....
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira