7171917: CachedRowSetImpl.populate does not handle map properly

Reviewed-by: joehw
This commit is contained in:
Lance Andersen 2012-06-11 07:10:48 -04:00
parent 881d64f005
commit c419fa6171

View File

@ -659,7 +659,7 @@ public class CachedRowSetImpl extends BaseRowSet implements RowSet, RowSetIntern
* us work with drivers that do not support
* getObject with a map in fairly sensible way
*/
if (map == null) {
if (map == null || map.isEmpty()) {
obj = data.getObject(i);
} else {
obj = data.getObject(i, map);