I am very new to this caching techniques. I just managed to configure JBossCache with Hibernate on JBoss AS 4.23 GA.
My question is Suppose I have two different configurations defined in the configuration file. One is optimistic-entity and second one is pessimistic-entity. I want to use optimistic-entity configuration for one set of entities and pessimistic-entity configuration for another set of entities. But hibernate provides only one set of configuration with hibernate.cache.region.jbc2.cfg.entity=".... " which is common to all entities.
Now how can I use two different configurations for two sets of entities, one optmistic-entity and another one is pessimistic-entity.
Is it possible?
Thanks