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: Oikonomopoulos Spyros
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.