Invalid index 0 for this DB2ParameterCollection with Count=0.

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

Environment

None

Status

Assignee

Unassigned

Reporter

David Logan

Labels

Components

Fix versions

Affects versions

3.2.0.GA

Priority

Critical