@Test(expected=UnsupportedOperationException.class) public void getLimitString() { Assert.assertEquals("", dialect.getLimitString("select * from user", 0, 0)); Assert.assertEquals("", dialect.getLimitString("select * from user", 0, 12)); Assert.assertEquals("", dialect.getLimitString("select * from user", 12, 0)); Assert.assertEquals("", dialect.getLimitString("select * from user", 12, 34)); }
public String getLimitString(String sql, int offset,String offsetPlaceholder, int limit, String limitPlaceholder) { throw new UnsupportedOperationException( "paged queries not supported" ); }
DerbyDialect extends Dialect { public String getLimitString(String sql, int offset,String offsetPlaceholder, int limit, String limitPlaceholder) { throw new UnsupportedOperationException( "paged queries not supported" ); } }
DerbyDialect extends Dialect { public String getLimitString(String sql, int offset,String offsetPlaceholder, int limit, String limitPlaceholder) { throw new UnsupportedOperationException( "paged queries not supported" ); }  }
DerbyDialect extends Dialect { public String getLimitString(String sql, int offset,String offsetPlaceholder, int limit, String limitPlaceholder) { throw new UnsupportedOperationException( "paged queries not supported" ); }  boolean supportsLimit(); boolean supportsLimitOffset(); String getLimitString(String sql, int offset,String offsetPlaceholder, int limit, String limitPlaceholder); }
DerbyDialect extends Dialect { public String getLimitString(String sql, int offset,String offsetPlaceholder, int limit, String limitPlaceholder) { throw new UnsupportedOperationException( "paged queries not supported" ); }  boolean supportsLimit(); boolean supportsLimitOffset(); String getLimitString(String sql, int offset,String offsetPlaceholder, int limit, String limitPlaceholder);  }