Wierd .... those methods are defined on the _handler_ class, not the proxy interface itself.....
And I didn't thing the proxies implement the interface of the MethodInterceptor.... "Schnitzer, Jeff" To: <[EMAIL PROTECTED]> <[EMAIL PROTECTED] cc: xis.com> Subject: RE: [Hibernate] Trouble with proxy implementations 31/01/03 11:04 AM It's with a very recent CVS copy of hibernate2. The getters must be generated by CGLIB. It's hard to follow the exact call graph (I get an exception that prevents the full XML from being displayed) but one example: It looks like the proxy has a method getSession() that returns a net.sf.hibernate.impl.SessionImpl. Jeff > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Thursday, January 30, 2003 3:42 PM > To: Schnitzer, Jeff > Cc: [EMAIL PROTECTED] > Subject: Re: [Hibernate] Trouble with proxy implementations > > > Hmmmm. HibernateProxy itself only declares writeReplace(). Do you mean > methods > that are coming from CGLIB, or are you referring to an older version of > Hibernate? > > > > > "Schnitzer, Jeff" > <[EMAIL PROTECTED]> To: > <[EMAIL PROTECTED]> > Sent by: cc: > [EMAIL PROTECTED] Subject: > [Hibernate] Trouble with proxy implementations > eforge.net > > > 31/01/03 10:30 AM > > > > > > > I'm having a small problem with the generated proxy implementations in > one of my webapps. My data objects are of course java beans, and these > java beans are passed up into the presentation tier. > > Among other things, my presentation tier uses reflection to examine the > data (model) components and generate XML from them. This works great > with real beans but causes a lot of trouble with proxies. > > Unfotunately the generated proxies have a lot of methods that fit the > javabeans property pattern getXXX() and return sophisticated objects. > This really makes a mess out of the process. > > Is it possible to change these methods so that they do not coincide with > the pattern for javabeans properties? > > Jeff Schnitzer > [EMAIL PROTECTED] > > > ------------------------------------------------------- > This SF.NET email is sponsored by: > SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! > http://www.vasoftware.com > _______________________________________________ > hibernate-devel mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/hibernate-devel > > > > > ********************************************************************** > Any personal or sensitive information contained in this email and > attachments must be handled in accordance with the Victorian Information > Privacy Act 2000, the Health Records Act 2001 or the Privacy Act 1988 > (Commonwealth), as applicable. > > This email, including all attachments, is confidential. If you are not > the > intended recipient, you must not disclose, distribute, copy or use the > information contained in this email or attachments. Any confidentiality > or > privilege is not waived or lost because this email has been sent to you in > error. If you have received it in error, please let us know by reply > email, delete it from your system and destroy any copies. > ********************************************************************** > > > ********************************************************************** Any personal or sensitive information contained in this email and attachments must be handled in accordance with the Victorian Information Privacy Act 2000, the Health Records Act 2001 or the Privacy Act 1988 (Commonwealth), as applicable. This email, including all attachments, is confidential. If you are not the intended recipient, you must not disclose, distribute, copy or use the information contained in this email or attachments. Any confidentiality or privilege is not waived or lost because this email has been sent to you in error. If you have received it in error, please let us know by reply email, delete it from your system and destroy any copies. ********************************************************************** ------------------------------------------------------- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! http://www.vasoftware.com _______________________________________________ hibernate-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/hibernate-devel