ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "bala r" <bala...@gmail.com>
Subject Re: XMLTypeHandlerCallback issue with using DBCP datasource in websphere.
Date Mon, 15 Sep 2008 17:10:42 GMT
Hi All,
Update for this issue...

I noticed that i have included com.ibm.ws.runtime_6.1.0.jar in my RAD
classpath. when i remove this jar from RAD i got the same issue
for DelegatingCallableStatement instance.
So i included the same jar in my project build and deployed in Websphere.
Now it works fine.


On Fri, Sep 12, 2008 at 3:14 PM, bala r <balar4u@gmail.com> wrote:

> 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.

View raw message