| Package | Description |
|---|---|
| org.jdbi.v3.core.result | |
| org.jdbi.v3.core.statement |
Interfaces used to alter JDBI's handling of JDBC Statements
|
| 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 |
Update.execute(ResultProducer<R> producer)
Executes the update, 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 |
PreparedBatch.execute(ResultProducer<R> producer)
Executes the batch, returning the result obtained from the given
ResultProducer. |
Copyright © 2017. All rights reserved.