Re: External Database Modification

2011-09-01 Thread Andrus Adamchik
There are a few ways of doing it. My favorite is to use SelectQuery's with caching enabled, and OSCache as a cache provider: http://cayenne.apache.org/doc/query-result-caching.html Then you assign each query a cache group String, and configure expiration policies for each cache group. Finally t

External Database Modification

2011-09-01 Thread Anthony Brew
Hi, I have a two processes one which writes to a several database tables (a ruby on rails application) and a java application that reads the state these data base tables using Cayenne and writes to other tables. When the ruby modifies the underlying data-base I am seeing that Cayenne is not au