You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ibatis.apache.org by "Oikonomopoulos Spyros (JIRA)" <ib...@incubator.apache.org> on 2007/09/13 18:19:32 UTC
[jira] Created: (IBATISNET-239) System.InvalidCastException when
Stored Procedure out parameters are null
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.
[jira] Closed: (IBATISNET-239) System.InvalidCastException when
Stored Procedure out parameters are null
Posted by "Gilles Bayon (JIRA)" <ib...@incubator.apache.org>.
[ 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.