jdk/src/java.sql.rowset/share/classes/com/sun/rowset/internal/CachedRowSetWriter.java
changeset 28059 e576535359cc
parent 25859 3317bb8137f4
child 30797 9cf3d0361db4
equal deleted inserted replaced
28058:87940c838900 28059:e576535359cc
   841 
   841 
   842            if (rs.next()) {
   842            if (rs.next()) {
   843                for (String pkName : primaryKeys) {
   843                for (String pkName : primaryKeys) {
   844                    if (!isPKNameValid(pkName, rsmd)) {
   844                    if (!isPKNameValid(pkName, rsmd)) {
   845 
   845 
   846                        /* We came here as one of the the primary keys
   846                        /* We came here as one of the primary keys
   847                         * of the table is not present in the cached
   847                         * of the table is not present in the cached
   848                         * rowset object, it should be an autoincrement column
   848                         * rowset object, it should be an autoincrement column
   849                         * and not included while creating CachedRowSet
   849                         * and not included while creating CachedRowSet
   850                         * Object, proceed to check for other primary keys
   850                         * Object, proceed to check for other primary keys
   851                         */
   851                         */