Return-Path: Delivered-To: apmail-ibatis-user-java-archive@www.apache.org Received: (qmail 59151 invoked from network); 12 Sep 2008 19:15:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 12 Sep 2008 19:15:15 -0000 Received: (qmail 1061 invoked by uid 500); 12 Sep 2008 19:15:10 -0000 Delivered-To: apmail-ibatis-user-java-archive@ibatis.apache.org Received: (qmail 1039 invoked by uid 500); 12 Sep 2008 19:15:10 -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 1028 invoked by uid 99); 12 Sep 2008 19:15:10 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Sep 2008 12:15:10 -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 balar4u@gmail.com designates 74.125.46.158 as permitted sender) Received: from [74.125.46.158] (HELO yw-out-1718.google.com) (74.125.46.158) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Sep 2008 19:14:12 +0000 Received: by yw-out-1718.google.com with SMTP id 5so425789ywr.6 for ; Fri, 12 Sep 2008 12:14:38 -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:mime-version:content-type; bh=amkKjNp0b5MMpzMvIkb5BwT4cfhi/oskHim+zsuvJfc=; b=UPKiYpbSI4Jzi1JYwiZDPYMFEYQuIfvuxMcC3A2HYG2sUhDpOjLGE+0ivBKcYCAf33 +NGQMdf3DILMDrFjwL6M+8q8KtfBLTyFzv9f6zEI06RLW6cTRSb63LI+0C6HlArfK4zR 9jlrDSvetFbPcjFRR8IOsWh60Vpg/L0+gZEfY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=RHYaVypZkVRVeVLAk7tWj9fVv9ZhL9UPsqQOukeYeh91uf6Zpc9jkPh5iREkRQXex/ fZYGXETayGal9S7Ylox27mct/LJMjQW+4lEnCD9ifWJp8LitfRjhK6COWNRVm6TGJXiY Hj5FvomIPtgmdARSqGQ/Na734fjJ5ZtmCN3es= Received: by 10.103.200.9 with SMTP id c9mr3294643muq.11.1221246877308; Fri, 12 Sep 2008 12:14:37 -0700 (PDT) Received: by 10.103.199.3 with HTTP; Fri, 12 Sep 2008 12:14:37 -0700 (PDT) Message-ID: <631123700809121214j31425d1ap326a7781e40f9ab5@mail.gmail.com> Date: Fri, 12 Sep 2008 15:14:37 -0400 From: "bala r" To: user-java@ibatis.apache.org Subject: XMLTypeHandlerCallback issue with using DBCP datasource in websphere. MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_46130_26349765.1221246877293" X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_46130_26349765.1221246877293 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi All, I got some weird issue. I am using Ibatis XMLtypeHandlerCallback to store XML type data into oracle Database. Datasource i am using DBCP datasource and configured in Spring Context file. When i run my application in RAD, the setter.getPreparedStatement() in XMLtypeHandlerCallback ::setParameter(). method returns an instance of org.apache.commons.dbcp.DelegatingCallableStatement and my application works fine. But when i deploy my application to Websphere 6.1, the setter.getPreparedStatement() is returning an instance of Proxy$5 and my application fail to store xmltype content as OPS is null. Any one got this issue and any solution ? Thanks in advance. Thanks Bala. ------=_Part_46130_26349765.1221246877293 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline
Hi All,
I got some weird issue.
I am using Ibatis XMLtypeHandlerCallback to store XML type data into oracle Database.
Datasource i am using DBCP datasource and configured in Spring Context file.

When i run my application in RAD,  the setter.getPreparedStatement() in XMLtypeHandlerCallback ::setParameter().
method returns an instance of org.apache.commons.dbcp.DelegatingCallableStatement and my application works fine.

But when i deploy my application to Websphere 6.1, the setter.getPreparedStatement() is returning an instance of Proxy$5  and my application fail to store xmltype content as OPS is null.

Any one got this issue and any solution ?

Thanks in advance.

Thanks
Bala.
------=_Part_46130_26349765.1221246877293--