Return-Path: Delivered-To: apmail-ibatis-user-java-archive@www.apache.org Received: (qmail 5768 invoked from network); 8 Aug 2008 15:24:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 8 Aug 2008 15:24:21 -0000 Received: (qmail 16445 invoked by uid 500); 8 Aug 2008 15:24:17 -0000 Delivered-To: apmail-ibatis-user-java-archive@ibatis.apache.org Received: (qmail 16435 invoked by uid 500); 8 Aug 2008 15:24:17 -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 16421 invoked by uid 99); 8 Aug 2008 15:24:17 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 Aug 2008 08:24:17 -0700 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of clinton.begin@gmail.com designates 64.233.166.177 as permitted sender) Received: from [64.233.166.177] (HELO py-out-1112.google.com) (64.233.166.177) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 Aug 2008 15:23:19 +0000 Received: by py-out-1112.google.com with SMTP id a73so604877pye.21 for ; Fri, 08 Aug 2008 08:23:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type:references; bh=t58aejX8R+s3v41ccYxLo22z27bYUG9fI0ALEaOVv88=; b=s7xCXk489HSsV0DioGtUj6IOoGrbAHfC7pEjelt7QO9OXv3H3QdA9MUbF7z9ji9BvM gpaNKzhQTc+QwFjnGbHgogDQPa8jgZ9cEkIWPnuxHPvHM2FJT2cYE8+QA4RkftQ3qUxi N8PeX7OpGtaUK2poot+3JqRqFUlT9u9pEjo9Y= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:references; b=TF5O+GWilLGxwPMbzYR6uQORtJb/l4Os/8LPjVp2yzscI1IDrXe5DCVix2fKTip2uF 2LWZgdfDHHnJWeBoa3KU4nFECfYeygtlAN8BzZGIM5gi/GV9VsG2S5PtWi0FgNgtfDG7 UpBl+vTJEALKnJQIIY6dzFqT3o8veZLtZD3SM= Received: by 10.115.89.1 with SMTP id r1mr2095804wal.12.1218209009689; Fri, 08 Aug 2008 08:23:29 -0700 (PDT) Received: by 10.114.135.10 with HTTP; Fri, 8 Aug 2008 08:23:29 -0700 (PDT) Message-ID: <16178eb10808080823w29cfe9daxde689586b4438685@mail.gmail.com> Date: Fri, 8 Aug 2008 09:23:29 -0600 From: "Clinton Begin" To: user-java@ibatis.apache.org Subject: Re: Close Connection after use? In-Reply-To: <18893861.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_30500_8169044.1218209009722" References: <18893861.post@talk.nabble.com> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_30500_8169044.1218209009722 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Certainly not... :-) We'll need more information about your configuration: Which transaction manager are you using? Which data source? Which database driver Are you using Spring or EJB? Clinton On Fri, Aug 8, 2008 at 9:20 AM, SonyRaymond wrote: > > Hi, > > I experience the following situation when using iBatis 2.2 with WebSphere > 5.1 JNDI datasource, closing database connection after use will make the > next getConnection() call gives error exception? (Connection > is closed!) > > Is it normal? > > Thanks, > Raymond > -- > View this message in context: > http://www.nabble.com/Close-Connection-after-use--tp18893861p18893861.html > Sent from the iBATIS - User - Java mailing list archive at Nabble.com. > > ------=_Part_30500_8169044.1218209009722 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline
Certainly not... :-)

We'll need more information about your configuration:

Which transaction manager are you using?  Which data source?  Which database driver

Are you using Spring or EJB?

Clinton

On Fri, Aug 8, 2008 at 9:20 AM, SonyRaymond <pplcm@hotmail.com> wrote:

Hi,

I experience the following situation when using iBatis 2.2 with WebSphere
5.1 JNDI datasource, closing database connection after use will make the
next getConnection() call gives error exception? (Connection
is closed!)

Is it normal?

Thanks,
Raymond
--
View this message in context: http://www.nabble.com/Close-Connection-after-use--tp18893861p18893861.html
Sent from the iBATIS - User - Java mailing list archive at Nabble.com.


------=_Part_30500_8169044.1218209009722--