hibernate/hibernate-orm — pull request #616 by InfoSec812 (2013-10-18 14:07:14+00:00)
Title: Add pagination support to the SQLServer2012Dialect

Override the getLimitString and bindLimitParametersReverseOrder methods to support SQL Server 2012's pagination syntax:

SELECT * FROM TableName ORDER BY id OFFSET 10 ROWS FETCH NEXT 10 ROWS ONLY;