SQLServer2005Dialect: removed useless commented code

This commit is contained in:
Yoryos Valotasios 2010-11-23 00:44:02 +02:00 committed by Strong Liu
parent 8040c6e32d
commit 5cfdbc7c22
1 changed files with 0 additions and 1 deletions

View File

@ -138,7 +138,6 @@ public class SQLServer2005Dialect extends SQLServerDialect {
// Wrap the query within a with statement:
sb.insert(0, "WITH query AS (").append(") SELECT * FROM query ");
//sb.append("WHERE __hibernate_row_nr__ BETWEEN ").append(offset + 1).append(" AND ").append(limit);
sb.append("WHERE __hibernate_row_nr__ BETWEEN ? AND ?");
return sb.toString();