public class NoConnectionProvider extends java.lang.Object implements ConnectionProvider
Constructor and Description |
---|
NoConnectionProvider() |
Modifier and Type | Method and Description |
---|---|
java.sql.Connection |
acquire()
This method will always return
null . |
void |
release(java.sql.Connection connection)
This method has no effect.
|
public final java.sql.Connection acquire()
null
.acquire
in interface ConnectionProvider
ExecuteContext
.public final void release(java.sql.Connection connection)
release
in interface ConnectionProvider
connection
- A connection that was previously obtained from
ConnectionProvider.acquire()
. This is never null
.Copyright © 2018. All Rights Reserved.