* Returns a map of ObjectId values from the next result row. Primary key columns are
* determined from the provided DbEntity.
*/
public Map<String, Object> nextObjectId(DbEntity entity) throws CayenneException {
if (!hasNextRow()) {
throw new CayenneException(
"An attempt to read uninitialized row or past the end of the iterator.");
}
// index id
if (rootEntity != entity || pkIndices == null) {