2011/4/13 Hardy Ferentschik <ha...@hibernate.org>: > On Wed, 13 Apr 2011 00:44:16 +0200, Steve Ebersole <st...@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-which-implements-serializable-interface-from-xsd-usi > > 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? _______________________________________________ hibernate-dev mailing list hibernate-dev@lists.jboss.org https://lists.jboss.org/mailman/listinfo/hibernate-dev