Uploaded image for project: 'Spring.NET'
  1. Spring.NET
  2. SPRNET-552

Generic AdoTemplate to support Execute callbacks with IDbCommand as callback argument in addition to current DbCommand callback argument.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.1 P3
    • Fix Version/s: 1.1 M2
    • Component/s: Spring-NET-DA
    • Labels:
      None
    • Environment:
      .Net 2.0, Oracle ODP provider

      Description

      Lately, I switched from Microsoft's to Oracle's Oracle Data Provider. That had a side effect, because Oracle's OracleCommand doesn't inherit from "DbCommand' but just implements "IDbCommand", and the AdoTemplates classes failed (InvalidCastException). The reason is because Spring.Data makes occasional use of "DbCommand" and "DbParameter" instead of the interfaces "IDbCommand" and "IDbDataParameter".

      I tried a find and replace of these base classes with their interface equivalent, and it worked !

      Can this issue be resolved for RC1 ?

        Attachments

          Activity

            People

            Assignee:
            mark.pollack Mark Pollack
            Reporter:
            cvigouroux Christophe Vigouroux
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: