> 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?


This was my original implementation but it was changed to this explicit API 
with the reasoning
that doing this caching should be an explicit act of intent and not just a 
simple flag working globally.

Note, if more than just xml based metadata could be cached that would be 
awesome - but that might be
better solved via something like AS7 annotation index mechanism.

/max
http://about.me/maxandersen




_______________________________________________
hibernate-dev mailing list
hibernate-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/hibernate-dev

Reply via email to