Re: Data + Query cache

2006-08-25 Thread Abe White
I think the first time users are going to write simple applications while evaluating . Will caching affect these kind of applications which have a small amount of data to play around with? Typically, no. I disagree. Caching will improve any app that looks up the same data with different E

RE: Data + Query cache

2006-08-25 Thread Patrick Linskey
> I think the first time users are going to write simple > applications while > evaluating . Will caching affect these kind of applications > which have a > small amount of data to play around with? Typically, no. -Patrick___ N

Re: Data + Query cache

2006-08-25 Thread Karan Malhi
I think the first time users are going to write simple applications while evaluating . Will caching affect these kind of applications which have a small amount of data to play around with? On 8/24/06, Abe White <[EMAIL PROTECTED]> wrote: How does the list feel about turning the L2 data and quer

RE: Data + Query cache

2006-08-25 Thread Pinaki Poddar
I did not mean it is. I was just how a some JavaEE portal may spin it! Pinaki Poddar BEA Systems 415.402.7317 -Original Message- From: Patrick Linskey Sent: Friday, August 25, 2006 11:22 AM To: open-jpa-dev@incubator.apache.org Subject: RE: Data + Query cache > On the other h

RE: Data + Query cache

2006-08-25 Thread Patrick Linskey
> On the other hand, if the feature is "on by default" what would be the > likely reason to turn it off? Some JavaEE portal may then report how > "default behaviour of OpenJPA is not spec-compliant" :( How is the data cache not spec-compliant? -Patrick

Re: Data + Query cache

2006-08-25 Thread Bryan Noll
Systems 415.402.7317 -Original Message- From: Marc Logemann [mailto:[EMAIL PROTECTED] Sent: Friday, August 25, 2006 10:18 AM To: open-jpa-dev@incubator.apache.org Subject: Re: Data + Query cache Hi, of course my intention wasnt to ask about kodo, but i was confused that a feature w

RE: Data + Query cache

2006-08-25 Thread Pinaki Poddar
report otherwise. Pinaki Poddar BEA Systems 415.402.7317 -Original Message- From: Marc Logemann [mailto:[EMAIL PROTECTED] Sent: Friday, August 25, 2006 10:18 AM To: open-jpa-dev@incubator.apache.org Subject: Re: Data + Query cache Hi, of course my intention wasnt to ask about k

Re: Data + Query cache

2006-08-25 Thread Marc Logemann
indings. -Patrick -- Patrick Linskey BEA Systems, Inc. -Original Message- From: Marc Logemann [mailto:[EMAIL PROTECTED] Sent: Friday, August 25, 2006 7:01 AM To: open-jpa-dev@incubator.apache.org Subject: Re: Data + Query cache Hi, does that mean that the performance pack gets obsolete

RE: Data + Query cache

2006-08-25 Thread Patrick Linskey
t 25, 2006 7:01 AM > To: open-jpa-dev@incubator.apache.org > Subject: Re: Data + Query cache > > Hi, > > does that mean that the performance pack gets obsolete or how do you > want to control the cache then? > It would be weird to sell the cache to JDO users while its f

RE: Data + Query cache

2006-08-25 Thread Patrick Linskey
> Is there a way to query OpenJPA if the result came from the > cache? No. > Or are partial cache results possible, thus making such a isCached() > method impossible to implement. Yes. However, you can turn on trace-level logging to see when the cache is used, and you can bypass the cache a

Re: Data + Query cache

2006-08-25 Thread Marc Logemann
Is there a way to query OpenJPA if the result came from the cache? Or are partial cache results possible, thus making such a isCached() method impossible to implement. -- regards Marc Logemann [blog] http://www.logemann.org [busn] http://www.logentis.de Am 25.08.2006 um 14:39 schrieb Kevin

Re: Data + Query cache

2006-08-25 Thread Marc Logemann
Hi, does that mean that the performance pack gets obsolete or how do you want to control the cache then? It would be weird to sell the cache to JDO users while its free for JPA users right? -- regards Marc Logemann [blog] http://www.logemann.org [busn] http://www.logentis.de Am 24.08.2006

Re: Data + Query cache

2006-08-25 Thread Kevin Sutter
Abe, In general, I wouldn't mind having the level 2 caches turned on by default. My concern is that we don't want first time users to get unexpected results. Like you mentioned in your previous reply, if we select the appropriate default values for the caches so that we can most likely avoid stal

Re: Data + Query cache

2006-08-24 Thread Abe White
t I was looking for some documentation about what the default cache configuration settings would be, and I'm not seeing it there. The defaults are: - Data cache maintains hard refs to 1000 PCData object, where a PCData holds the cached data for a single persistence-capable object. - When the

Re: Data + Query cache

2006-08-24 Thread Abe White
p.s. Sorry for the tailing legalese... I keep forgetting to turn it off when mailing the group. ___ Notice: This email message, together with any attachments, may contain information of BEA Systems, Inc., its subsidiaries

Re: Data + Query cache

2006-08-24 Thread Bryan Noll
I found this (http://people.apache.org/~mprudhom/openjpa/site/openjpa-project/manual/ref_guide_caching.html#ref_guide_cache)... but I was looking for some documentation about what the default cache configuration settings would be, and I'm not seeing it there. The point you made about the behav