SQLServer2005Dialect: removed useless commented code
This commit is contained in:
parent
8040c6e32d
commit
5cfdbc7c22
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue