On 08/05/2009 12:52 PM, Brian Stansberry wrote: > Semi-tangent: in general I really dislike if people have to configure > JBC/Infinispan to get standard behaviors (e.g. eviction). Much better if > people can use the standard configuration mechanism of whatever service > is using JBC/Infinispan, and only touch JBC/Infinispan configs for > exotic stuff. So, for example, web session passivation is configured via > jboss-web.xml, not via a JBC eviction region. > > If the properties needed to configure 2nd Level Cache eviction could be > reduced to 2 or 3, being able to express them via the SessionFactory > config would be nice, e.g. > > hibernate.cache.infinispan.Users.max_age=5000 > > Perhaps just support LRU that way; if people want exotic stuff beyond > LRU they have to go to the Infinispan config.
Abso-freakin-lutely. Love this idea. -CB _______________________________________________ hibernate-dev mailing list hibernate-dev@lists.jboss.org https://lists.jboss.org/mailman/listinfo/hibernate-dev