Uploaded image for project: 'NHibernate [Moved to GitHub]'
  1. NH-2937

Invalid index 0 for this DB2ParameterCollection with Count=0.

    Details

    • Sprint:

      Description

      All of my database calls now are broken in 3.2. I have traced it down the addition of the call "RemoveUnusedCommandParameters". I am using DB2 zOS v9. I have verified this to be a problem with both the IBM.DB2 provider and the ODBC driver using DB2Dialect. What I don't know is if it is because of an error in the NHibernate.DB2Driver or what. The parameters show up in the sql as "?" but in the parememter collection they show up as p1, p2, p3 ... so when RemoveUnusedCommandParameters is called it removes the parameters.

      Please let me know if you need anything else.

      dbl

        Attachments

          Issue links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                dblwizard David Logan
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Who's Looking?