Hi Matt,
I don't understand where this proxy-handling code would go. Can you clarify?
I'm not sure what's actually going on here, but it'd help if you'd send
me the org.prx.user.JiBX_piece_bindingProducer_access.class file
generated by JiBX. That way I can disassemble to see just what the code
is doing. I suspect the problem occurs when Hibernate modifies this
generated class, though, and I don't know of any way to get a copy of
the modified class file out of Hibernate (since AFAIK it only modifies
the classes at runtime, as they're being loaded).
- Dennis
Dennis M. Sosnoski
SOA, Web Services, and XML
Training and Consulting
http://www.sosnoski.com - http://www.sosnoski.co.nz
Seattle, WA +1-425-296-6194 - Wellington, NZ +64-4-298-6117
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?
-thanks
-matt
-------------------------------------------------------
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