[
https://issues.apache.org/jira/browse/IBATISNET-239?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Gilles Bayon closed IBATISNET-239.
----------------------------------
Resolution: Fixed
Fix Version/s: DataMapper 1.6.2
Assignee: Gilles Bayon
Thanks for the patch, I have a little modified it
In SVN
> System.InvalidCastException when Stored Procedure out parameters are null
> -------------------------------------------------------------------------
>
> Key: IBATISNET-239
> URL: https://issues.apache.org/jira/browse/IBATISNET-239
> Project: iBatis for .NET
> Issue Type: Bug
> Components: DataMapper
> Affects Versions: DataMapper 1.6.1
> Environment: All
> Reporter: Spyros Oikonomopoulos
> Assignee: Gilles Bayon
> Fix For: DataMapper 1.6.2
>
> Attachments: MappedStatement.patch
>
>
> When a stored procedure with out parameters returns a null value in one of
> the parameters, the following Exception occurs:
> IBatisNet.Common.Exceptions.ProbeException : Unable to cast object of type
> 'System.DBNull' to type XXXX
> See also http://www.nabble.com/output-parameters-and-dbnull-p9643387.html
> Attached a patch that seems to solve the problem.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.