ISQLQuery - SetParameter doesn't work with more than 10 parameters

Description

When constructing a sql query using Session.CreateSQLQuery with 10 or more named parameters, SetParameter works incorrectly. For instance formatting the following query:

Will result in:

Which means that when NHbiernate indexes these parameters behind the scenes, after encountering two-digit number like 10, it only parses the first digit and leaves the rest unchanged.

Environment

None

Activity

Show:

Frédéric Delaporte October 30, 2017 at 10:28 AM

Issue tracking has been moved to GitHub, and there is a question about this issue there.

Details

Assignee

Reporter

Components

Affects versions

Priority

Who's Looking?

Open Who's Looking?

Created July 18, 2017 at 8:47 AM
Updated October 30, 2017 at 10:28 AM
Who's Looking?