Re: Diagramming/documenting: how should we do that?

2006-09-25 Thread Borut Bolčina
2006/9/25, Aristedes Maniatis [EMAIL PROTECTED]: I know this isn't the complete solution for what you want because it doesn't show database relationships between schema entities and I haven't yet figured out how to do this either. But I'm hoping that it might be extensible in some way.

Caching query results

2006-09-25 Thread Francesco Fuzio
Hi! For performance issues we have the need to cache some query result (i.e a list of cayenne data objects); As far as I have understood it's completely up to the developer to determine if a previously cached result is still logically valid or not (maybe this will change in Cayenne 3.0?). The

Re: Re: Diagramming/documenting: how should we do that?

2006-09-25 Thread Michael Gentry
Another good reason to keep a parallel EOModel of your Cayenne model is you can then use DBEdit to browse your database. /dev/mrg On 9/25/06, Borut Bolčina [EMAIL PROTECTED] wrote: 2006/9/25, Aristedes Maniatis [EMAIL PROTECTED]: I know this isn't the complete solution for what you want

Re: Caching query results

2006-09-25 Thread Aristedes Maniatis
On 25/09/2006, at 10:41 PM, Francesco Fuzio wrote: It is important to understand that caching of *result lists* is done independently from caching of *individual DataObjects and DataRows*. Therefore the API is different as well. Also cached results lists _are not synchronized across VMs

Re: Caching query results

2006-09-25 Thread Andrus Adamchik
Until 3.0 invalidating query lists was totally up to the developer. In 3.0 we added three things - RefreshQuery (mentioned by Ari), query cache group concept, and pluggable QueryCache. This makes clustering and refresh policy management much simpler. I am running this latest code (3.0

Re: NullPointerException when using shared cache

2006-09-25 Thread Andrus Adamchik
Thanks Bryan! This is certainly helpful. Andrus On Sep 25, 2006, at 10:05 AM, Bryan Lewis wrote: Okay, I installed the patched jar on our production servers. It'll be difficult to say for sure that the problem was fixed, seeing as how it happened to us only once this year. The absence of a

Re: Caching query results

2006-09-25 Thread Francesco Fuzio
Thank you for the answers: I'm definitely looking forward to trying the 3.0 cool features you mentioned. As for 2.1 (since for us is important to keep data updated without relying on expiration timing) I was thinking about this approach (for a clustered environment) 1) Enable Cayenne

News publishing [Was: Cayenne web site]

2006-09-25 Thread Andrus Adamchik
Currently the news are entered in the main space (CAY). We can incorporate this on the front page via different means such as * A custom Confluence template (not sure if it has enough flexibility for a sophisticated branded look) * A script that grabs news via RSS and builds the static page

Re: Diagramming/documenting: how should we do that?

2006-09-25 Thread Mike Kienenberger
2006/9/25, Aristedes Maniatis [EMAIL PROTECTED]: You could always use EOModeler on a Mac to do what you want. It draws nice diagrams. Just a shame it is 1) going away, 2) doesn't open Cayenne XML models. On 9/25/06, Borut Bolčina [EMAIL PROTECTED] wrote: Ahh, those days are over... Maybe