The following issue has been updated:
Updater: Panagiotis Louridas (mailto:plo...@ya...)
Date: Wed, 10 Dec 2003 5:54 AM
Comment:
I attach two test cases showing the problem.
ant create-db; ant -Dtest.case=QueryProxyParentChildren test
succeeds, whereas
ant create-db; ant -Dtest.case=QueryProxyChildrenParent test
fails.
Changes:
Attachment changed to hibernate_report4.tar.gz
---------------------------------------------------------------------
For a full history of the issue, see:
http://opensource.atlassian.com/projects/hibernate/secure/ViewIssue.jspa?key=HB-537&page=history
---------------------------------------------------------------------
View the issue:
http://opensource.atlassian.com/projects/hibernate/secure/ViewIssue.jspa?key=HB-537
Here is an overview of the issue:
---------------------------------------------------------------------
Key: HB-537
Summary: Proxy Problem with overloaded functions
Type: Bug
Status: Unassigned
Priority: Major
Project: Hibernate2
Versions:
2.0.3
Assignee:
Reporter: Panagiotis Louridas
Created: Wed, 10 Dec 2003 5:50 AM
Updated: Wed, 10 Dec 2003 5:54 AM
Environment: linux, Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2-b28), hibernate 2.0.3, postgres.
Description:
Suppose we have class A and two subclasses A<-B, A<-C. Suppose now that B has methods Foo getFoo() and void setFoo(Foo), while C has methods Bar getFoo() and void setFoo(Bar).
I get strange proxy behaviour when working with objects of classes A, B, C. Specifically, when querying on B, C and then on A, I get
SEVERE: CGLIB Enhancement failed
java.lang.IllegalArgumentException: Can't implement:
InterestPayment
and
TaxPayment
(where InterestPayment = B and TaxPayment = C).
Everything works fine when querying on A and then on B and C, though.
---------------------------------------------------------------------
JIRA INFORMATION:
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.jspa
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
|