Return-Path: Delivered-To: apmail-ibatis-user-java-archive@www.apache.org Received: (qmail 52726 invoked from network); 18 Mar 2008 18:39:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 18 Mar 2008 18:39:20 -0000 Received: (qmail 38062 invoked by uid 500); 18 Mar 2008 18:39:15 -0000 Delivered-To: apmail-ibatis-user-java-archive@ibatis.apache.org Received: (qmail 38030 invoked by uid 500); 18 Mar 2008 18:39:14 -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 38003 invoked by uid 99); 18 Mar 2008 18:39:14 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Mar 2008 11:39:14 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of mike.schall@gmail.com designates 209.85.146.176 as permitted sender) Received: from [209.85.146.176] (HELO wa-out-1112.google.com) (209.85.146.176) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Mar 2008 18:38:37 +0000 Received: by wa-out-1112.google.com with SMTP id j5so8179wah.24 for ; Tue, 18 Mar 2008 11:38:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; 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:references; bh=9LuR5df/d4JrIjx6Bulmq1euxdKU8vdREHL0CW1y6Og=; b=VorgolJk8wjAV05mvBypeht6O3MU1ztXhEnwb+NBqTebhYt4HGHstwl+4f/lOwbQwO4z7Btn0GZYR5as3yACS3x4TdxcVz1+a1McXZ4+ocxIqFys1JGHcf+NxROKTvGH5Bahe7mJZeKnZEioDsCoxh8pJyzlCy+cqmW+mu3NE7Y= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=RWtq7BqREknbsh78aYkFqUn6SpH1svrtYt9xIhy086ORSOrcbOX7nwAUK/1aqSKvp5yDr+MEO9MDdnUbAANDqQ0KkdWg+Kn5Hc1gtcrDlFiZZvbqjPl5kPmiNr2wmD0HxscZxG+q9+iMbyJm6bQNIGLCYwnsebUllqjX71C/f+U= Received: by 10.115.109.1 with SMTP id l1mr2226783wam.90.1205865528239; Tue, 18 Mar 2008 11:38:48 -0700 (PDT) Received: by 10.115.55.7 with HTTP; Tue, 18 Mar 2008 11:38:48 -0700 (PDT) Message-ID: <5f9068320803181138v461b1925rc692ecddc9db965a@mail.gmail.com> Date: Tue, 18 Mar 2008 13:38:48 -0500 From: "Michael Schall" To: user-java@ibatis.apache.org Subject: Re: JNDI dataSource and SqlMap-Config.xml settings In-Reply-To: <5f9068320803181129l30fc1e6ds150ee09230715f1e@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_18300_30792545.1205865528231" References: <5f9068320803181129l30fc1e6ds150ee09230715f1e@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_18300_30792545.1205865528231 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Sorry... Sent the message while formating my xml... We have recently moved to using JNDI through WebSphere as our JDBC transaction manager while connecting to a DB2 9.1 database. Below is my transactionManager and settings elements from my sqlmap-config.xml file. I am wondering if the following "settings" still apply if JNDI is acting as my transaction manager. Thanks Mike ------=_Part_18300_30792545.1205865528231 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Sorry... Sent the message while formating my xml...

We have recently moved to using JNDI through WebSphere as our JDBC transaction manager while connecting to a DB2 9.1 database.

Below is my transactionManager and settings elements from my sqlmap-config.xml file.

I am wondering if the following "settings" still apply if JNDI is acting as my transaction manager.

Thanks
Mike

<settings cacheModelsEnabled="false" enhancementEnabled="false" lazyLoadingEnabled="false" maxRequests="32" maxSessions="10" maxTransactions="5" useStatementNamespaces="true"/>

<transactionManager type="JDBC">
  <dataSource type="JNDI">
    <property name="DataSource" value="${jndiDataSource}"/>
  </dataSource>
</transactionManager>
------=_Part_18300_30792545.1205865528231--