提交 cc9926a1 编写于 作者: L lancea

7171917: CachedRowSetImpl.populate does not handle map properly

Reviewed-by: joehw
上级 cd84c53a
...@@ -659,7 +659,7 @@ public class CachedRowSetImpl extends BaseRowSet implements RowSet, RowSetIntern ...@@ -659,7 +659,7 @@ public class CachedRowSetImpl extends BaseRowSet implements RowSet, RowSetIntern
* us work with drivers that do not support * us work with drivers that do not support
* getObject with a map in fairly sensible way * getObject with a map in fairly sensible way
*/ */
if (map == null) { if (map == null || map.isEmpty()) {
obj = data.getObject(i); obj = data.getObject(i);
} else { } else {
obj = data.getObject(i, map); obj = data.getObject(i, map);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册