提交 22bf24ad authored 作者: Leonid Bushuev's avatar Leonid Bushuev

Fix JdbcResultSet.setFetchDirection() throws 'Feature not supported' #144

上级 05821d35
......@@ -2613,7 +2613,13 @@ public class JdbcResultSet extends TraceObject implements ResultSet {
*/
@Override
public void setFetchDirection(int direction) throws SQLException {
throw unsupported("setFetchDirection");
debugCodeCall("setFetchDirection", direction)
if (direction == ResultSet.FETCH_FORWARD) {
// do nothing, it's already FETCH_FORWARD
}
else {
throw unsupported("setFetchDirection");
}
}
/**
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论