private ResultSet generateKeysResultSet ( final UpdateResult res ) { if ( this . generatedKeysColumnIndexes == null && this . generatedKeysColumnNames == null ) { return res . generatedKeys . resultSet ( ) . withStatement ( this ) ; } else if ( this . generatedKeysColumnIndexes != null ) { return res . generatedKeys . resultSet ( ) . withStatement ( this ) . withProjection ( this . generatedKeysColumnIndexes ) ; } else { return res . generatedKeys . resultSet ( ) . withStatement ( this ) . withProjection ( this . generatedKeysColumnNames ) ; } }
Returns the resultset corresponding to the keys generated on update .