ConnectionConsumer
- Type Parameters:
<C>- the connection type, usually {@code java.sql.Connection}
An executable action which makes use of a native database connection. The connection is usually a JDBC connection.
- Since:
- JPA 3.2
Public Methods
void accept(C connection)
- Parameters:
connection- the connection to use
- Throws:
- Exceptionif a problem occurs calling the connection, usually a {@code java.sql.SQLException}
- Since:
- JPA 3.2