Return-Path: Delivered-To: apmail-ibatis-user-java-archive@www.apache.org Received: (qmail 18006 invoked from network); 7 Dec 2005 19:23:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 7 Dec 2005 19:23:55 -0000 Received: (qmail 89674 invoked by uid 500); 7 Dec 2005 19:23:53 -0000 Delivered-To: apmail-ibatis-user-java-archive@ibatis.apache.org Received: (qmail 89639 invoked by uid 500); 7 Dec 2005 19:23:52 -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 89612 invoked by uid 99); 7 Dec 2005 19:23:52 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Dec 2005 11:23:51 -0800 X-ASF-Spam-Status: No, hits=0.7 required=10.0 tests=DNS_FROM_RFC_ABUSE,FROM_HAS_ULINE_NUMS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [68.142.206.42] (HELO web32812.mail.mud.yahoo.com) (68.142.206.42) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 07 Dec 2005 11:23:51 -0800 Received: (qmail 34921 invoked by uid 60001); 7 Dec 2005 19:23:30 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=XKt8Lv9ZuPtGfd9mvSp6ouJCvOZifmbLJrhFXoQUpthMsynpbM1/iJhsApM7YzFzc9Gc3YV+dDyJNUliAw9ekg4d0NvVNuA5QFNcEqq5XCXwsmh8ecrZwYlEpjgPomMrv6IPu3akXKE+BObNOxZhkPdFap8NDTivh12SChMqYmU= ; Message-ID: <20051207192330.34919.qmail@web32812.mail.mud.yahoo.com> Received: from [192.77.198.12] by web32812.mail.mud.yahoo.com via HTTP; Wed, 07 Dec 2005 11:23:30 PST Date: Wed, 7 Dec 2005 11:23:30 -0800 (PST) From: Ashish Kulkarni Subject: question about using DAO and SQLMap with user specific connection To: user-java@ibatis.apache.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hello If i have to use DAO and SQLMap to get data from my database, but i want to supply the connection, is it possible? for example if i have to just SQLMap i do the following SqlMapClient client = GetSQLConfig.getSqlMapInstance(); client.setUserConnection(conn); How can i do it when using DAO and SQLMap Ashish __________________________________________ Yahoo! DSL � Something to write home about. Just $16.99/mo. or less. dsl.yahoo.com