1 Reply Latest reply on Nov 16, 2009 2:16 PM by Brian Stansberry

    How to use different configurations for different set of hib

    Digvijay Kumar Newbie

      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.