public void setReturningGeneratedKeys(boolean returningGeneratedKeys) {
        if (isConcurrentUpdatable() && returningGeneratedKeys) {
            throw new IllegalArgumentException("Cannot create a result set that is concurrent updatable and is returning generated keys.");
        }
        this.returningGeneratedKeys = returningGeneratedKeys;
    }
Sets whether the current statement returns generated keys.
@param returningGeneratedKeys return generated keys?
core/src/main/java/org/jdbi/v3/core/statement/StatementContext.java