From: <leg...@at...> - 2003-11-28 12:39:15
|
The following comment has been added to this issue: Author: Max Rydahl Andersen Created: Fri, 28 Nov 2003 6:38 AM Body: hmm...I see similar behavior when running this from inside eclipse. When run as debug: classcastexception When run as app: works fine... Gotta be some weird classloader shit....i'm looking into it --------------------------------------------------------------------- View the issue: http://opensource.atlassian.com/projects/hibernate/secure/ViewIssue.jspa?key=HB-506 Here is an overview of the issue: --------------------------------------------------------------------- Key: HB-506 Summary: Non-deterministic? failure of generated proxies Type: Bug Status: Unassigned Priority: Major Project: Hibernate2 Versions: 2.0.3 Assignee: Reporter: Panagiotis Louridas Created: Fri, 28 Nov 2003 3:59 AM Updated: Fri, 28 Nov 2003 6:38 AM Environment: redhat linux 9, j2se 1.4.2 (build 1.4.2-b28), postgres, hibernate 2.0.3 Description: Suppose we have a class hierarchy A <- B, A <- C. Both class B and C have a method getX(). Suppose, moreover, that we have a class R that contains a reference to A. If we do a query on class R and then a query on class B or C, we *sometimes* get a ClassCastException for the generated proxy when we try to call getX(). In my environment, the same test case succeeds or fails upon repeated execution. --------------------------------------------------------------------- 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 |