Hello all,

When serializing an object loaded via Hibernate I find the Stripes
JavascriptBuilder throws a bunch of exceptions.  (I found a prior post
noting this with more details here
http://article.gmane.org/gmane.comp.java.stripes.user/769/ ).

While I agree with that poster that exporting entire hibernate objects
with all the attributes of the proxy is a little ridiculous, I
nevertheless think the idea of being able to simply load an object
with hibernate and send it back directly to the page as Javascript is
highly desirable.

I don't know much about what Hibernate is doing to the objects, but I
imagine serializing them normally might be accomplished either with
some gentle tweaking of the object graph recursion algorithm, or
perhaps an appropriate set of exclusions to exclude the "enhancements"
added by hibernate (although how to use the current interface to
exclude classes that are invented at run time I'm not sure).

I'm curious if anyone has gone to the effort of doing something like
this or figured out a workaround?

If not, I may have a go.

Any thoughts much appreciated!

Cheers,

Simon.

-------------------------------------------------------------------------
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
_______________________________________________
Stripes-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-development

Reply via email to