public class MockConnectionProvider extends java.lang.Object implements ConnectionProvider
|Constructor and Description|
|Modifier and Type||Method and Description|
Acquire a connection from the connection lifecycle handler.
Release a connection to the connection lifecycle handler.
public final java.sql.Connection acquire()
This method is called by jOOQ exactly once per execution lifecycle, i.e.
ExecuteContext. Implementations may freely chose, whether
subsequent calls to this method:
jOOQ will guarantee that every acquired connection is released through
ConnectionProvider.release(Connection) exactly once.
public final void release(java.sql.Connection connection)
jOOQ will guarantee that every acquired connection is released exactly once.
Copyright © 2018. All Rights Reserved.