Return-Path: Delivered-To: apmail-ibatis-user-java-archive@www.apache.org Received: (qmail 50107 invoked from network); 6 Sep 2009 07:22:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 6 Sep 2009 07:22:06 -0000 Received: (qmail 2863 invoked by uid 500); 6 Sep 2009 07:22:05 -0000 Delivered-To: apmail-ibatis-user-java-archive@ibatis.apache.org Received: (qmail 2827 invoked by uid 500); 6 Sep 2009 07:22:05 -0000 Mailing-List: contact user-java-help@ibatis.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user-java@ibatis.apache.org Delivered-To: mailing list user-java@ibatis.apache.org Received: (qmail 2819 invoked by uid 99); 6 Sep 2009 07:22:05 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 06 Sep 2009 07:22:05 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of clinton.begin@gmail.com designates 209.85.212.191 as permitted sender) Received: from [209.85.212.191] (HELO mail-vw0-f191.google.com) (209.85.212.191) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 06 Sep 2009 07:21:56 +0000 Received: by vws29 with SMTP id 29so1328473vws.4 for ; Sun, 06 Sep 2009 00:21:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=YNARU0YM28JkfUrLlMzN8UuM1hKdMrMFklIJdc3Ovyg=; b=UiqyW18cgw86jNyWLUxccsYITNQ+LB+eSkgpvJuYIfZt3NP17nXSFr31RccW8/nkCU jkCm0A9X+LDLcgsTVGjcX9kmO+MK9l+ez4R/MAelsXFmRJIw1Rv9Fg1k5qefo7p4FrlL lY5J4XAU2d/8nvZ+nEYGVza+hiaSPZ+46ro94= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=EMRZiRrW0DBLA3FJ9RfTJcAW325FS/4gXRz1SPq1C++5nb0RsyDSDUJTAEVov9KY7S VWblY8nDm+PAnfZZcfDmHFSUD1M1I9lfYYtclWw8h+xmI4u0iVe/MDgZdnthBUgJXGxK 89fG3DrGKpR1c22SL78c9ub3DnpcU4It2A6qc= MIME-Version: 1.0 Received: by 10.220.108.163 with SMTP id f35mr4364128vcp.86.1252221695153; Sun, 06 Sep 2009 00:21:35 -0700 (PDT) In-Reply-To: <4AA042D9.8050201@evertiq.com> References: <4AA042D9.8050201@evertiq.com> Date: Sun, 6 Sep 2009 01:21:35 -0600 Message-ID: <16178eb10909060021n35f3289eicc86c891acd780a3@mail.gmail.com> Subject: Re: Cache in iBATIS 3.0 From: Clinton Begin To: user-java@ibatis.apache.org Content-Type: multipart/alternative; boundary=00c09f8de08f51d8740472e395a1 X-Virus-Checked: Checked by ClamAV on apache.org --00c09f8de08f51d8740472e395a1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable I'm not quite sure about your question... * What are you referring to when you say "the custom cache" -- I'm assuming that's something you've implemented. * How are you hooking it into your statements? * Can you provide a simple unit test to demonstrate the behavior (e.g. yo= u could just use a simple hashmap implementation). Cheers, Clinton 2009/9/3 H=E5kan Andersson > Hi > > I have been playing a little with the custom cache in ibatis 3.0 Beta 3, > but I can't see that the putObject is fired, is there any special > condition that needs to be fulfilled before it will happen? > hasKey, getObject and getReadWriteLock all get fired when it should but > not putObject. > > > Best Regards > H=E5kan Andersson > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-java-unsubscribe@ibatis.apache.org > For additional commands, e-mail: user-java-help@ibatis.apache.org > > --00c09f8de08f51d8740472e395a1 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable I'm not quite sure about your question...

=A0 * What are you re= ferring to when you say "the custom cache" -- I'm assuming th= at's something you've implemented.

=A0 * How are you hooking= it into your statements?

=A0 * Can you provide a simple unit test to demonstrate the behavior (e= .g. you could just use a simple hashmap implementation).

Cheers,
= Clinton

2009/9/3 H=E5kan Andersson <hakan.anders= son@evertiq.com>
Hi

I have been playing a little with the custom cache in ibatis 3.0 Beta 3, but I can't see that the putObject is fired, is there any special
condition that needs to be fulfilled before it will happen?
hasKey, getObject and getReadWriteLock all get fired when it should but
not putObject.


Best Regards
H=E5kan Andersson


---------------------------------------------------------------------
To unsubscribe, e-mail: user-java-unsubscribe@ibatis.apache.org
For additional commands, e-mail: user-java-help@ibatis.apache.org


--00c09f8de08f51d8740472e395a1--