提交 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,8 +2613,14 @@ public class JdbcResultSet extends TraceObject implements ResultSet {
*/
@Override
public void setFetchDirection(int direction) throws SQLException {
debugCodeCall("setFetchDirection", direction)
if (direction == ResultSet.FETCH_FORWARD) {
// do nothing, it's already FETCH_FORWARD
}
else {
throw unsupported("setFetchDirection");
}
}
/**
* Get the result set type.
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论