1. Is there a way to specify wildcarded region names when using ehcache with hibernate? stackoverflow.comWhen using Ehcache with Hibernate, is there a way to specify region names with wildcards in the ehcache.xml file? For example, to allow for cache settings at the package level (with * ... |
2. 2nd-Level cache region prefix per Session forum.hibernate.orgWe are building a multi-tenant application that uses separate DBs per tenant. We used an AbstractPoolingDataSource for that as described in this post: http://blog.springsource.com/2007/01/23/dynamic-datasource-routing/. With this approach, cache regions of the 2nd-Level-Cache will be shared across tenants, which leads to conflicting cache keys (as the DB-IDs are not unique across all tenant DBs). This is also described in the comments of ... |
3. Cache Region forum.hibernate.org |
4. Invalidate L2 cache region forum.hibernate.orgI have cache query and a certain class has been loaded in cache completely type like a follow: List clients = sess.createCriteria(Client.class) .setCacheable(true) .list(); while I do not change the Client, it is work properly - all objects loaded from L2 cache. Database no action. If there are copy of created object Client in other session / thread created and kept ... |
5. saveOrUpdate to invalidate a sepecific cache region? forum.hibernate.org |