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