| Package | Description |
|---|---|
| org.jdbi.v3.core |
The 'core' package hosts the top level interface into jdbi core.
|
| org.jdbi.v3.core.collector |
The
collector package reduces the mapped rows of the result set
into a Stream Collector to produce the final aggregated result. |
| org.jdbi.v3.core.extension |
The
extension classes allow you to extend Jdbi's
functionality by declaring interface types that may attach to Handle
instances. |
| org.jdbi.v3.core.mapper |
mappers take the JDBC ResultSet and produce Java results. |
| 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. |
| org.jdbi.v3.core.transaction |
The
transaction package implements the strategy
Jdbi uses to open and close transactions. |
| Modifier and Type | Class and Description |
|---|---|
class |
CloseException
Thrown when an exception occurs while attempting to close a database resource.
|
class |
ConnectionException |
| Modifier and Type | Class and Description |
|---|---|
class |
ElementTypeNotFoundException
Thrown when Jdbi tries to build a Collector, but cannot determine the element
type intended for it.
|
class |
NoSuchCollectorException
Thrown when Jdbi tries to produce a result Collector
but doesn't have a factory to produce it with.
|
| Modifier and Type | Class and Description |
|---|---|
class |
NoSuchExtensionException
Thrown when an extension of an unknown type is created.
|
| Modifier and Type | Class and Description |
|---|---|
class |
MappingException
Thrown when a mapper fails to map the row to a result type.
|
class |
NoSuchMapperException
Thrown when you attempt to map a type that
Jdbi doesn't have a
registered mapper factory for. |
| Modifier and Type | Class and Description |
|---|---|
class |
NoResultsException
Thrown when no results were found in a context that requires at least one.
|
class |
ResultSetException
Wraps exceptions thrown while traversing the JDBC result set.
|
class |
UnableToProduceResultException
Wraps exceptions thrown while producing Java result types.
|
| Modifier and Type | Class and Description |
|---|---|
class |
StatementException
Superclass for exceptions thrown while trying to execute a statement.
|
class |
UnableToCreateStatementException
Thrown when
Jdbi couldn't create a statement. |
class |
UnableToExecuteStatementException
Thrown when statement execution fails.
|
| Modifier and Type | Class and Description |
|---|---|
class |
TransactionException
Thrown when there's a problem manipulating the transaction isolation level.
|
class |
UnableToManipulateTransactionIsolationLevelException
Thrown when
Jdbi isn't able to change the transaction isolation level. |
class |
UnableToRestoreAutoCommitStateException
Thrown after a transaction finishes if we can't reset its isolation level.
|
Copyright © 2017. All rights reserved.