2011/4/13 Hardy Ferentschik <hardy(a)hibernate.org>:
On Wed, 13 Apr 2011 00:44:16 +0200, Steve Ebersole
<steve(a)hibernate.org>
wrote:
> Hm, if we move to jaxb are those generated binding classes serializable?
The classes are not serializable out of the box.
It can be done though using a custom base class for all binding classes
and some
xjc (name of the plugin generating the bindings) magic.
See
http://stackoverflow.com/questions/1513972/how-to-generate-a-java-class-w...
Not sure whether is is worth the effort though. IMO definitely a low
priority task atm.
--Hardy
I agree about the low priority. This would be most useful for things
like tooling, am I right? In that case might it make sense to pass the
*instance* directly, so you just skip the serialization overhead as
well?