@Test public void getLimitString() { Assert.assertEquals("select top 0 * from user", dialect.getLimitString("select * from user", 0, 0)); Assert.assertEquals("select top 12 * from user", dialect.getLimitString("select * from user", 0, 12)); }
public String getLimitString(String sql, int offset, int limit) { return getLimitString(sql,offset,null,limit,null); }
SQLServerDialect extends Dialect { public String getLimitString(String sql, int offset, int limit) { return getLimitString(sql,offset,null,limit,null); } }
SQLServerDialect extends Dialect { public String getLimitString(String sql, int offset, int limit) { return getLimitString(sql,offset,null,limit,null); }  }
SQLServerDialect extends Dialect { public String getLimitString(String sql, int offset, int limit) { return getLimitString(sql,offset,null,limit,null); }  boolean supportsLimitOffset(); boolean supportsLimit(); String getLimitString(String sql, int offset, int limit); String getLimitString(String querySelect, int offset,String offsetPlaceholder, int limit, String limitPlaceholder); }
SQLServerDialect extends Dialect { public String getLimitString(String sql, int offset, int limit) { return getLimitString(sql,offset,null,limit,null); }  boolean supportsLimitOffset(); boolean supportsLimit(); String getLimitString(String sql, int offset, int limit); String getLimitString(String querySelect, int offset,String offsetPlaceholder, int limit, String limitPlaceholder);  }