Also currently SQLServer2012Dialect does not have method buildLimitHandler. Looks like it was also changed in 5.2.8.