[jboss-user] [JBoss Cache Users] - How to use different configurations for different set of hib

ks_shailesh do-not-reply at jboss.com
Sun Nov 15 10:22:14 EST 2009


I am very new to jboss cache. I managed to configure it with hibernate somehow.

I saw hibernate.cache.region.jbc2.cfg.entity property in hibernate.cfg.xml which tells which cache configuration is to be used for entities.

But suppose I have two different configurations. Lets say optimistic-entity and pessimistic-entity. For one set of entities, I want to use optimistic-entity configuration and for another set of entities, I want to use pessimistic-entity configuration. How can I do that? Please note that I am very new to this and my question may be very silly.

Thanks.



View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4265739#4265739

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4265739



More information about the jboss-user mailing list