]
Steve Ebersole closed HHH-900.
------------------------------
Closing stale resolved issues
CGLIB Enhancement failed error with signed jars
-----------------------------------------------
Key: HHH-900
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HHH-900
Project: Hibernate Core
Issue Type: Bug
Components: core
Affects Versions: 3.0.1
Environment: Hibernate 3.0.1
hsqldb
Reporter: James Weiss
Attachments: labB.zip
I just recently attended the Hibernate training course in Chicago. Andy Oliver, the
instructor, asked me to add this deffect.
When I add the POJO files for persistence to a signed jar, the following error is
thrown:
12:19:42,587 ERROR BasicLazyInitializer:103 - CGLIB Enhancement failed:
org.hibernate.auction.model.CreditCard
To recreate this problem, I modified the labB exercise from the class to create a signed
jar. The build.xml file now has both a "test" and a "testsigned"
target. If you run "ant test" the unsigned jar is used and the program runs
fine. If you run "ant testsigned", the signed jar is used and the test throws
errors.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: