Thank you that helped. I am running into a different issue now.

 

Here is the error:

The constructor to deserialize an object of type
'IBM.Data.DB2.iSeries.iDB2ConversionException' was not found.

 

Generally when I get errors like this it's usually a mistake in the xml
map. I've verified the xml several times and just want to make sure that
this error isn't related to the provider config or an Ibatis setting.
Thanks again for your time. It should be some kind of issue with the
parameters, but I thought I would at least ask.

 

________________________________

From: Gilles Bayon [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, December 19, 2006 1:59 PM
To: [email protected]
Subject: Re: Unable to cast object of type
'IBM.Data.DB2.iSeries.iDB2Parameter' to type 'System.ICloneable'

 

It seems that IBM have not implement the "Cloneable" interface on
DataParameter.

In the configuration of the DB2 provider you could add 

useDeriveParameters="false"

to bypass clone of  IDataParameter and use of the commandBuilderClass.

 

On 12/19/06, Paul Sullivan <[EMAIL PROTECTED]> wrote: 

Hello,

Are there any current Ibatis issues that could cause the following
error?

 

Unable to cast object of type 'IBM.Data.DB2.iSeries.iDB2Parameter' to
type 'System.ICloneable'

 

 

 I've read in the mailing list archive about past issues with ICloneable
that have been fixed and I am only receiving this when trying to run an
as400 sql procedure. Our other queries that don't use a sql procedure
work fine with Ibatis, it's just the sql procedure that is giving us an
issue. We're using version 1.3 of the DataMapper. Thanks for the
feedback.

 

 




-- 
Cheers,
Gilles

<a href=" http://www.amazon.com/gp/registry/6JCP7AORB0LE";>Wish List</a> 

Reply via email to