On 04/12/2011 06:01 PM, Max Rydahl Andersen wrote:
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.
But isn't the user explicitly saying "cache them all" the same on this
point? To me it really comes down to whether there is a valid use case
for caching some, but not all.
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.
funny you should say that... ;)
--
Steve Ebersole <steve(a)hibernate.org>
http://hibernate.org