Return-Path: Delivered-To: apmail-ibatis-user-java-archive@www.apache.org Received: (qmail 8809 invoked from network); 1 Nov 2007 12:53:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 1 Nov 2007 12:53:51 -0000 Received: (qmail 38399 invoked by uid 500); 1 Nov 2007 12:53:26 -0000 Delivered-To: apmail-ibatis-user-java-archive@ibatis.apache.org Received: (qmail 38387 invoked by uid 500); 1 Nov 2007 12:53:26 -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 38372 invoked by uid 99); 1 Nov 2007 12:53:26 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Nov 2007 05:53:26 -0700 X-ASF-Spam-Status: No, hits=4.5 required=10.0 tests=DATE_IN_FUTURE_12_24,MISSING_MID,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [192.114.66.101] (HELO mail.update.co.il) (192.114.66.101) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 01 Nov 2007 12:53:46 +0000 Received: (qmail 7564 invoked by uid 7794); 1 Nov 2007 12:53:07 -0000 Received: from odelya@jpost.com by blue by uid 7791 with qmail-scanner-1.16 (clamscan: 0.60. Clear:. Processed in 0.39931 secs); 01 Nov 2007 12:53:07 -0000 Received: from odelyadesktop ([192.114.66.120]) by ns2.update.co.il ([192.114.66.102]) with ESMTP via TCP; 01 Nov 2007 12:53:06 -0000 From: "Odelya Glick" To: Subject: RE: Caching problem using IBATIS Date: Fri, 2 Nov 2007 02:54:07 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.5510 Thread-Index: Acgc5/QZoAOF+exTRRGrYP9bp3NA3wAZBjdgABhP4iA= X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198 In-Reply-To: <50CA25BD6EEA954FA592C097399942E3193766DD@CM1.wis.local> X-Qmail-Scanner-Message-ID: <11939215865267558@blue> X-Virus-Checked: Checked by ClamAV on apache.org Message-Id: <20071101125354.6C6194DA0BB@nike.apache.org> I thought it's default to be true.. I set it now and it works perfect. Thanks -----Original Message----- From: Niels Beekman [mailto:n.beekman@wis.nl] Sent: Thursday, November 01, 2007 2:37 PM To: user-java@ibatis.apache.org Subject: RE: Caching problem using IBATIS Did you enable caching globally in the config file? Niels -----Original Message----- From: Odelya Glick [mailto:odelya@jpost.com] Sent: vrijdag 2 november 2007 1:33 To: user-java@ibatis.apache.org Subject: Caching problem using IBATIS Hi, I am trying to implement cache in IBATIS. I declared the following statement: And the cacheModel: But it doesn't seem to be that the obituary object is being cached! When I change a value in Oracle 9i, and do refresh to the page, I get the newly updated information! The code to get the information is: public ObituaryData getObituaryById(String obitId) { return (ObituaryData) queryForObject("getObituaryById", obitId); } Thanks Odelya web-programmer **************************************************************************** ******** This footnote confirms that this email message has been scanned by PineApp Mail-SeCure for the presence of malicious code, vandals & computer viruses. **************************************************************************** ********