Hibernate version: 2.1.6
What's the format of the collectionRole parameter of the method:
Code:
Configuration.setCacheConcurrencyStrategy(String collectionRole, CacheConcurrencyStrategy concurrencyStrategy)
?
I've got some classes and collections I want cached read-only in one context, but not in another. Rather than maintain two separate hibernate mappings for these classes, I simply modify the Configuration object programmatically. But I'm a little stymied on the collections bit and could find no examples in the archives. Thanks in advance for any help.