Return-Path: Delivered-To: apmail-ibatis-user-java-archive@www.apache.org Received: (qmail 25107 invoked from network); 10 Aug 2007 17:38:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 10 Aug 2007 17:38:25 -0000 Received: (qmail 97088 invoked by uid 500); 10 Aug 2007 17:38:21 -0000 Delivered-To: apmail-ibatis-user-java-archive@ibatis.apache.org Received: (qmail 97081 invoked by uid 500); 10 Aug 2007 17:38:21 -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 97070 invoked by uid 99); 10 Aug 2007 17:38:21 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 10 Aug 2007 10:38:21 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of clinton.begin@gmail.com designates 209.85.198.188 as permitted sender) Received: from [209.85.198.188] (HELO rv-out-0910.google.com) (209.85.198.188) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 10 Aug 2007 17:38:17 +0000 Received: by rv-out-0910.google.com with SMTP id c27so660936rvf for ; Fri, 10 Aug 2007 10:37:56 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=AVoPNLHOexOUWUlAmyw/ThEYqLwTmRgv0HFbgc/PfwtFvYlG0SP4brhtFX541+DDGNHKCxmP3VoH4TKetMxxzIIU/rakCPy+9Qmuw7eOWGXO3KTnNoVVOKKv7xdVh2Y0lba/T/sdT4/zSJsBAeooVZNBlTWBp0Loj3qJ4j+Vr70= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=aH54Ir+3ErIl8O/45qtIw5gaK11tyM/rXBm+DZnNCbBjlU0s4qeZaH2myniCai+GDycdESQHRMxZ7whDcGGEu2EnDh///rocDDF4tmYopJqq10mjbcUnYtgm6aagc4vCkrhMMe21pn7w2HDMU6E6l6aPXI6hOfN6wQ9zK/If5lY= Received: by 10.114.135.1 with SMTP id i1mr2777162wad.1186767476429; Fri, 10 Aug 2007 10:37:56 -0700 (PDT) Received: by 10.115.93.20 with HTTP; Fri, 10 Aug 2007 10:37:50 -0700 (PDT) Message-ID: <16178eb10708101037s2a3d6df0re321354d1673d498@mail.gmail.com> Date: Fri, 10 Aug 2007 11:37:56 -0600 From: "Clinton Begin" To: user-java@ibatis.apache.org Subject: Re: [Fwd: Passing a connection to ibatis.] In-Reply-To: <46BC9D6B.6010101@sun.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <46BC9D6B.6010101@sun.com> X-Virus-Checked: Checked by ClamAV on apache.org Does the driver always fail fast upon requesting it from the data source? Or is it possible that even after executing 3 of 5 statements successfully, it could fail on the 4th? Clinton On 8/10/07, Diran Ayandele wrote: > Hi, I have a flaky oracle 11i grid db that I have to connect to. > Sometimes it works and sometimes not. I think this is a problem with > the tns setup on some of the nodes, but I have no control over any of > that. So, I've written a looping connector for the database which > returns a jdbc Connection when it's finished. Is there a way I can pass > this to iBatis? I'm only using sqlMaps and have no DAO to speak of. > I'd like to be able to plug this into a SqlMapClient object. > > Thanks for any assistance guys! > Diran >