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.
**********************************************************************





-------------------------------------------------------
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

Reply via email to