Re: Some more on 3.1 Conversion

2011-09-11 Thread Andrus Adamchik
Actually take this back.. before I upgraded to the pre-M3 trunk build myself, the OS cache initialzation looked like this: runtime.getDataDomain().setQueryCacheFactory(new OSQueryCacheFactory()); Andrus On Sep 12, 2011, at 9:39 AM, Andrus Adamchik wrote: > Good question. That same code works f

Re: Some more on 3.1 Conversion

2011-09-11 Thread Andrus Adamchik
Good question. That same code works for me (just don't remember all the M2 initialization details). In the upcoming M3 per CAY-1537 [1] the whole QueryCacheLazyInitializationProxy is gone for good. So maybe try a source build from trunk? Andrus [1] https://issues.apache.org/jira/browse/CAY-153

Cayenne Transactions

2011-09-11 Thread stéphane Lestoclet
Hi, The Cayenne documentation states the following : Chapter: Understanding Transactions >It works either as a standalone mechanism, or in conjunction with another >transaction framework, such as JTA or Spring.. Could you provide examples for both please ? Actually, I am new to Apache Cayenne