| Package | Description |
|---|---|
| org.jdbi.v3.core.result |
result provides the streaming interface that reads rows from JDBC
and drives the mapper and collector processes to
produce results. |
| org.jdbi.v3.core.statement |
The
statement package provides most of the Fluent API
to drive statement execution. |
| Modifier and Type | Method and Description |
|---|---|
static ResultProducer<ResultBearing> |
ResultProducers.returningGeneratedKeys(String... generatedKeyColumnNames)
Result producer that returns a
ResultBearing over the statement-generated keys. |
static ResultProducer<ResultBearing> |
ResultProducers.returningResults()
Result producer that returns a
ResultBearing over the statement result rows. |
static ResultProducer<Integer> |
ResultProducers.returningUpdateCount()
Result producer that eagerly executes the statement, returning the update count
|
| Modifier and Type | Method and Description |
|---|---|
<R> R |
PreparedBatch.execute(ResultProducer<R> producer)
Executes the batch, returning the result obtained from the given
ResultProducer. |
<R> R |
Query.execute(ResultProducer<R> producer)
Executes the query, returning the result obtained from the given
ResultProducer. |
<R> R |
Update.execute(ResultProducer<R> producer)
Executes the update, returning the result obtained from the given
ResultProducer. |
Copyright © 2019. All rights reserved.