> It would lead to complications. What other complications are you concerned with?
I don't like the fact that to use the JPA2 way of caching requires two properties to enable caching. On Thu, Sep 20, 2012 at 7:23 PM, Pinaki Poddar <[email protected]> wrote: > Rick, > Having one configuration impacting another is not recommendable. It would > lead to complications. > I am not arguing about rationale of active DataCache for > <shared-data-cache> > -- but would refrain to do it *automatically* in code. > At code level, better would be to simply warn > "you have <shared-cache> but your data cache is not active. This directive > will be ignored unless you ..." > > The issue should be handled at documentation level: "if you are using > <shared-data-cache>, you *must* activate data cache by > openjpa.DataCache=true etc.". > > > > > > > > ----- > Pinaki Poddar > Chair, Apache OpenJPA Project > > -- *Rick Curtis*
