jdk/src/share/classes/com/sun/rowset/CachedRowSetImpl.java
changeset 13012 c4ef809d7fca
parent 11683 5e02efd89af6
child 14171 94eb36844bd7
equal deleted inserted replaced
13011:a3a06390f67b 13012:c4ef809d7fca
   657                  * check if the user has set a map. If no map
   657                  * check if the user has set a map. If no map
   658                  * is set then use plain getObject. This lets
   658                  * is set then use plain getObject. This lets
   659                  * us work with drivers that do not support
   659                  * us work with drivers that do not support
   660                  * getObject with a map in fairly sensible way
   660                  * getObject with a map in fairly sensible way
   661                  */
   661                  */
   662                 if (map == null) {
   662                 if (map == null || map.isEmpty()) {
   663                     obj = data.getObject(i);
   663                     obj = data.getObject(i);
   664                 } else {
   664                 } else {
   665                     obj = data.getObject(i, map);
   665                     obj = data.getObject(i, map);
   666                 }
   666                 }
   667                 /*
   667                 /*