Upgrading Applications from Cayenne 3.0 to 3.1

2013-05-24 Thread Malcolm Edgar
Hi All, I would like hear about peoples experiences upgrading web applications from Cayenne 3.0 to 3.1 ? http://cayenne.apache.org/docs/3.1/upgrade-guide/ar01.html#cayenne-modeler What issues did people experience, and do you have any advice you can provide. thanks for your help. regards Malco

Re: Change data by an external process (non cayenne)

2013-05-24 Thread Mike Kienenberger
If you're planning to do this for a web app, you should make sure it happens before your regular web app is handed the request. In older versions of BasicServletConfiguration worked, but I don't think that class still exists. One way that should work in any version is to put it in a servlet fil

Re: Change data by an external process (non cayenne)

2013-05-24 Thread Markus Reich
Hi, I can't find the BasicServletConfiguration class, should I override the BaseContext.getThreadObjectContext() method, for checking external changes in db? Meex 2013/5/16 Mike Kienenberger > Something to keep in mind for web apps is that you probably do not > want to have a data refresh at