public BatchResultBearing executePreparedBatch(String... columnNames) {
        final ExecutedBatchConsumer executedBatchConsumer = new ExecutedBatchConsumer();
        final ResultBearing resultBearing = execute(returningGeneratedKeys(columnNames), executedBatchConsumer);
        return new BatchResultBearing(resultBearing, executedBatchConsumer);
    }
Execute the batch and give access to any generated keys returned by the operation.

@param columnNames The column names for generated keys.
@return A {@link BatchResultBearing} object that can be used to access the results of the batch and the per-batch modified row counts.
core/src/main/java/org/jdbi/v3/core/statement/PreparedBatch.java