Uploaded image for project: 'iBatis for .NET'
  1. iBatis for .NET
  2. IBATISNET-244

Oracle out parameters can not be converted to nullable types

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • DataMapper 1.6.1
    • None
    • DataMapper
    • None

    Description

      The following tag in a parameter map:

      <parameter column="arg_id" direction="Output" dbType="Decimal" precision="22" scale="0" type="decimal?" property="id"/>

      Results in the following exception:

      Unable to cast object of type 'Oracle.DataAccess.Types.OracleDecimal' to type 'System.IConvertible'.

      Attachments

        1. NullableDecimalTypeHandler.patch
          0.6 kB
          Spyros Oikonomopoulos

        Activity

          People

            Unassigned Unassigned
            ospyros Spyros Oikonomopoulos
            Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: