提交 339b153c authored 作者: Noel Grandin's avatar Noel Grandin

Merge pull request #145 from leo-from-spb/master

Fix JdbcResultSet.setFetchDirection() throws 'Feature not supported' #144
...@@ -2613,7 +2613,13 @@ public class JdbcResultSet extends TraceObject implements ResultSet { ...@@ -2613,7 +2613,13 @@ public class JdbcResultSet extends TraceObject implements ResultSet {
*/ */
@Override @Override
public void setFetchDirection(int direction) throws SQLException { 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 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论