On Mon, 2006-05-22 at 11:13 -0400, Matt MacDonald wrote:
> Hi Dennis,
> 
> I followed your advice and the getCreator() method is returning a  
> UserImpl$$EnhancerByCGLIB$ but could JIBX be modified to use the  
> following bit of code to solve this:
> 
> if (proxy instanceof HibernateProxy){
>     return ((HibernateProxy)proxy).getHibernateLazyInitializer 
> ().getImplementation();
> }
> 
> or does the fix belong in either my Hibernate Mapping code or  
> Hibernate itself?

i was thinking..the cglib proxies are usually there for the
purpose of introducing lazy behavior.  that is, the actual
implementation isn't fetched until a getter or iterator is
invoked.  so i'm wondering whether revising a jibx mapping
to use the "get-method" and "set-method" attributes in liue of
"field" might not resolve this particular issue.

thanks, / eitan



-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
jibx-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jibx-users

Reply via email to