public abstract class

AbstractDelegatingConnection

extends Object
implements Connection
java.lang.Object
   ↳ com.atlassian.jira.database.AbstractDelegatingConnection

Class Overview

Wraps a DB connection and delegates all calls to that underlying connection. Concrete extensions to this class can override a subset of the methods as they see fit.

Summary

[Expand]
Inherited Constants
From interface java.sql.Connection
Public Constructors
AbstractDelegatingConnection(Connection connection)
Public Methods
void abort(Executor executor)
void clearWarnings()
void close()
void commit()
Array createArrayOf(String typeName, Object[] elements)
Blob createBlob()
Clob createClob()
NClob createNClob()
SQLXML createSQLXML()
Statement createStatement()
Statement createStatement(int resultSetType, int resultSetConcurrency, int resultSetHoldability)
Statement createStatement(int resultSetType, int resultSetConcurrency)
Struct createStruct(String typeName, Object[] attributes)
boolean getAutoCommit()
String getCatalog()
String getClientInfo(String name)
Properties getClientInfo()
int getHoldability()
DatabaseMetaData getMetaData()
int getNetworkTimeout()
String getSchema()
int getTransactionIsolation()
Map<StringClass<?>> getTypeMap()
SQLWarning getWarnings()
boolean isClosed()
boolean isReadOnly()
boolean isValid(int timeout)
boolean isWrapperFor(Class<?> iface)
String nativeSQL(String sql)
CallableStatement prepareCall(String sql, int resultSetType, int resultSetConcurrency)
CallableStatement prepareCall(String sql)
CallableStatement prepareCall(String sql, int resultSetType, int resultSetConcurrency, int resultSetHoldability)
PreparedStatement prepareStatement(String sql, int resultSetType, int resultSetConcurrency, int resultSetHoldability)
PreparedStatement prepareStatement(String sql, int[] columnIndexes)
PreparedStatement prepareStatement(String sql, String[] columnNames)
PreparedStatement prepareStatement(String sql)
PreparedStatement prepareStatement(String sql, int autoGeneratedKeys)
PreparedStatement prepareStatement(String sql, int resultSetType, int resultSetConcurrency)
void releaseSavepoint(Savepoint savepoint)
void rollback()
void rollback(Savepoint savepoint)
void setAutoCommit(boolean autoCommit)
void setCatalog(String catalog)
void setClientInfo(Properties properties)
void setClientInfo(String name, String value)
void setHoldability(int holdability)
void setNetworkTimeout(Executor executor, int milliseconds)
void setReadOnly(boolean readOnly)
Savepoint setSavepoint(String name)
Savepoint setSavepoint()
void setSchema(String schema)
void setTransactionIsolation(int level)
void setTypeMap(Map<StringClass<?>> map)
<T> T unwrap(Class<T> iface)
[Expand]
Inherited Methods
From class java.lang.Object
From interface java.lang.AutoCloseable
From interface java.sql.Connection
From interface java.sql.Wrapper

Public Constructors

public AbstractDelegatingConnection (Connection connection)

Public Methods

public void abort (Executor executor)

Throws
SQLException

public void clearWarnings ()

Throws
SQLException

public void close ()

Throws
SQLException

public void commit ()

Throws
SQLException

public Array createArrayOf (String typeName, Object[] elements)

Throws
SQLException

public Blob createBlob ()

Throws
SQLException

public Clob createClob ()

Throws
SQLException

public NClob createNClob ()

Throws
SQLException

public SQLXML createSQLXML ()

Throws
SQLException

public Statement createStatement ()

Throws
SQLException

public Statement createStatement (int resultSetType, int resultSetConcurrency, int resultSetHoldability)

Throws
SQLException

public Statement createStatement (int resultSetType, int resultSetConcurrency)

Throws
SQLException

public Struct createStruct (String typeName, Object[] attributes)

Throws
SQLException

public boolean getAutoCommit ()

Throws
SQLException

public String getCatalog ()

Throws
SQLException

public String getClientInfo (String name)

Throws
SQLException

public Properties getClientInfo ()

Throws
SQLException

public int getHoldability ()

Throws
SQLException

public DatabaseMetaData getMetaData ()

Throws
SQLException

public int getNetworkTimeout ()

Throws
SQLException

public String getSchema ()

Throws
SQLException

public int getTransactionIsolation ()

Throws
SQLException

public Map<StringClass<?>> getTypeMap ()

Throws
SQLException

public SQLWarning getWarnings ()

Throws
SQLException

public boolean isClosed ()

Throws
SQLException

public boolean isReadOnly ()

Throws
SQLException

public boolean isValid (int timeout)

Throws
SQLException

public boolean isWrapperFor (Class<?> iface)

Throws
SQLException

public String nativeSQL (String sql)

Throws
SQLException

public CallableStatement prepareCall (String sql, int resultSetType, int resultSetConcurrency)

Throws
SQLException

public CallableStatement prepareCall (String sql)

Throws
SQLException

public CallableStatement prepareCall (String sql, int resultSetType, int resultSetConcurrency, int resultSetHoldability)

Throws
SQLException

public PreparedStatement prepareStatement (String sql, int resultSetType, int resultSetConcurrency, int resultSetHoldability)

Throws
SQLException

public PreparedStatement prepareStatement (String sql, int[] columnIndexes)

Throws
SQLException

public PreparedStatement prepareStatement (String sql, String[] columnNames)

Throws
SQLException

public PreparedStatement prepareStatement (String sql)

Throws
SQLException

public PreparedStatement prepareStatement (String sql, int autoGeneratedKeys)

Throws
SQLException

public PreparedStatement prepareStatement (String sql, int resultSetType, int resultSetConcurrency)

Throws
SQLException

public void releaseSavepoint (Savepoint savepoint)

Throws
SQLException

public void rollback ()

Throws
SQLException

public void rollback (Savepoint savepoint)

Throws
SQLException

public void setAutoCommit (boolean autoCommit)

Throws
SQLException

public void setCatalog (String catalog)

Throws
SQLException

public void setClientInfo (Properties properties)

public void setClientInfo (String name, String value)

public void setHoldability (int holdability)

Throws
SQLException

public void setNetworkTimeout (Executor executor, int milliseconds)

Throws
SQLException

public void setReadOnly (boolean readOnly)

Throws
SQLException

public Savepoint setSavepoint (String name)

Throws
SQLException

public Savepoint setSavepoint ()

Throws
SQLException

public void setSchema (String schema)

Throws
SQLException

public void setTransactionIsolation (int level)

Throws
SQLException

public void setTypeMap (Map<StringClass<?>> map)

Throws
SQLException

public T unwrap (Class<T> iface)

Throws
SQLException