Return-Path: Delivered-To: apmail-ibatis-user-java-archive@www.apache.org Received: (qmail 45627 invoked from network); 21 Jul 2008 16:45:49 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 21 Jul 2008 16:45:49 -0000 Received: (qmail 99502 invoked by uid 500); 21 Jul 2008 16:45:47 -0000 Delivered-To: apmail-ibatis-user-java-archive@ibatis.apache.org Received: (qmail 99484 invoked by uid 500); 21 Jul 2008 16:45:47 -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 99467 invoked by uid 99); 21 Jul 2008 16:45:47 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 21 Jul 2008 09:45:47 -0700 X-ASF-Spam-Status: No, hits=2.4 required=10.0 tests=DNS_FROM_OPENWHOIS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of clamey@localmatters.com designates 216.241.189.144 as permitted sender) Received: from [216.241.189.144] (HELO mailhost01.localmatters.com) (216.241.189.144) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 21 Jul 2008 16:44:52 +0000 Received: from 10.4.0.152 ([10.4.0.152]) by mailhost01.ad.corp.localmatters.com ([10.200.4.32]) with Microsoft Exchange Server HTTP-DAV ; Mon, 21 Jul 2008 16:45:16 +0000 User-Agent: Microsoft-Entourage/11.3.6.070618 Date: Mon, 21 Jul 2008 10:45:12 -0600 Subject: Re: running iBATIS test cases with JNDI From: Christopher Lamey To: Message-ID: Thread-Topic: running iBATIS test cases with JNDI Thread-Index: AcjrUSSpYyjLgFdEEd2fWQAbY5caEQ== In-Reply-To: <48c6964d0807210811g337c309byd0ae6b0b400c67f0@mail.gmail.com> Mime-version: 1.0 Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org On 7/21/08 9:11 AM, "Fabiano Ferrari" wrote: > However, I have never implemented any JNDI-based application. Does > anybody have an example of implementation of this MyDataSource class? > If so, could you provide me with the basic steps to "install" such > class and run the test cases? Hello, I've used Spring's SimpleNamingContextBuilder to put a DBCP BasicDataSource into JNDI for standalone apps and testing. Cheers, topher