SQLServerException: The index 1 is out of range when executiong Spring Data findAll(Pageable)

Description

When the Spring Data findAll(Pageable) method of an entity is called, the following query is executed by Hibernate:

After that the following query is executed:

An execption is raised

Environment

hibernate.version: 5.2.8.Final
hikaricp.version: 2.6.0
mssql-jdbc.version : 6.1.0.jre8
liquibase-hibernate5.version :3.6
jpa: database-platform: org.hibernate.dialect.SQLServer2012Dialect

Activity

Show:
Chris Cranford
March 16, 2017, 7:18 AM

This was fixed in as part of 5.2.9.

Assignee

Unassigned

Reporter

Nezih DAMMAK

Fix versions

None

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Worked in

5.2.7

Affects versions

Priority

Major
Configure