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
On 04/12/2011 02:41 PM, Hardy Ferentschik wrote:
>
>
>
>
> On Apr 12, 2011, at 21:26, Steve Ebersole<steve(a)hibernate.org> wrote:
>
>> Do we want to make caching of files a flag for processing all of the
>> xml
>> files?
>>
>> Currently we have methods:
>> addFile(String path)
>> addFile(File file)
>> addCacheableFile(String path)
>> addCacheableFile(File file)
>>
>> Could we instead condense these and allow configuration of whether to
>> try and cache xml files?
>
> Sounds like a good idea to me.