public class NoJdbcConnectionProvider extends Object
ConnectionProvider
throws an exception if a JDBC connection is requested.Modifier and Type | Field and Description |
---|---|
static NoJdbcConnectionProvider | INSTANCE |
Constructor and Description |
---|
NoJdbcConnectionProvider() |
Modifier and Type | Method and Description |
---|---|
void | closeConnection(Connection conn) |
Connection | getConnection() |
boolean | isUnwrappableAs(Class unwrapType) |
boolean | supportsAggressiveRelease() |
<T> T | unwrap(Class<T> unwrapType) |
public static final NoJdbcConnectionProvider INSTANCE
public Connection getConnection() throws SQLException
SQLException
public void closeConnection(Connection conn)
public boolean supportsAggressiveRelease()
public boolean isUnwrappableAs(Class unwrapType)
public <T> T unwrap(Class<T> unwrapType)