We're updating the issue view to help you get more done. 

Hibernate & Paging: BROKEN when a column contains the word "FROM" for SQL Server

Description

This is actually a duplicate of HHH-7475. I commented there but I guess I get no response because it was closed.

The issue arise when using Database Platform SQL Server and there is a column name that starts with "from".

I have committed a test case and a fix here: d9d3f43

Environment

SQL Server 2012

Status

Assignee

Chris Cranford

Reporter

Leonard Siu

Fix versions

Labels

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

backportDecision

None

Components

Affects versions

5.0.11
5.1.3
5.2.6

Priority

Major