It would seem you are not using the correct Dialect; SQLServer2005Dialect already returns SQLServer2005LimitHandler