Java org.apache.commons.dbcp2 PoolableConnection fields, constructors, methods, implement or subclass

Example usage for Java org.apache.commons.dbcp2 PoolableConnection fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.commons.dbcp2 PoolableConnection.

The text is from its open source code.

Method

voidclearWarnings()
booleangetAutoCommit()
StringgetCatalog()
intgetTransactionIsolation()
booleanisClosed()

This method should not be used by a client to determine whether or not a connection should be return to the connection pool (by calling #close() ).

booleanisReadOnly()
voidpassivate()
voidsetAutoCommit(boolean autoCommit)
voidsetCatalog(String catalog)
voidsetReadOnly(boolean readOnly)
voidsetTransactionIsolation(int level)
voidvalidate(String sql, int timeout)
Validates the connection, using the following algorithm:
  1. If fastFailValidation (constructor argument) is true and this connection has previously thrown a fatal disconnection exception, a SQLException is thrown.