Method: setParameter(int position,Object value)

Description

My english is not that good, all I want to say is in the pictures
use the sql statement like this


if i change the first parameter to 0


throw Exception

if I uer sql-query Node in hbm.xml


int position start from 1


throw Exception

Environment

hibernate 5.2.11 mysql5.5 eclipse Version: Neon.3 Release (4.6.3)

Assignee

Unassigned

Reporter

XiaYu

Fix versions

None

Labels

None

backPortable

None

Suitable for new contributors

Yes, likely

Requires Release Note

None

Pull Request

None

backportDecision

None

Components

Affects versions

Priority

Minor
Configure