public class DefaultDbConnection extends AbstractDbConnection
Connection
behaviour to a delegatedelegate
TRANSACTION_NONE, TRANSACTION_READ_COMMITTED, TRANSACTION_READ_UNCOMMITTED, TRANSACTION_REPEATABLE_READ, TRANSACTION_SERIALIZABLE
Constructor and Description |
---|
DefaultDbConnection(Connection delegate,
TransactionalAction transactionalAction,
DefaultDbConnectionReleaser connectionReleaseListener,
ParamTypeResolverFactory paramTypeResolverFactory) |
getParamTypes, getStatementResultIteratorFactory, getTransactionalAction, release
public DefaultDbConnection(Connection delegate, TransactionalAction transactionalAction, DefaultDbConnectionReleaser connectionReleaseListener, ParamTypeResolverFactory paramTypeResolverFactory)
public Statement createStatement() throws SQLException
SQLException
public PreparedStatement prepareStatement(String sql) throws SQLException
SQLException
public CallableStatement prepareCall(String sql) throws SQLException
SQLException
public String nativeSQL(String sql) throws SQLException
SQLException
public void setAutoCommit(boolean autoCommit) throws SQLException
SQLException
public boolean getAutoCommit() throws SQLException
SQLException
public void commit() throws SQLException
SQLException
public void rollback() throws SQLException
SQLException
public void close() throws SQLException
SQLException
public boolean isClosed() throws SQLException
SQLException
public DatabaseMetaData getMetaData() throws SQLException
SQLException
public void setReadOnly(boolean readOnly) throws SQLException
SQLException
public boolean isReadOnly() throws SQLException
SQLException
public void setCatalog(String catalog) throws SQLException
SQLException
public String getCatalog() throws SQLException
SQLException
public void setTransactionIsolation(int level) throws SQLException
SQLException
public int getTransactionIsolation() throws SQLException
SQLException
public SQLWarning getWarnings() throws SQLException
SQLException
public void clearWarnings() throws SQLException
SQLException
public Statement createStatement(int resultSetType, int resultSetConcurrency) throws SQLException
SQLException
public PreparedStatement prepareStatement(String sql, int resultSetType, int resultSetConcurrency) throws SQLException
SQLException
public CallableStatement prepareCall(String sql, int resultSetType, int resultSetConcurrency) throws SQLException
SQLException
public Map<String,Class<?>> getTypeMap() throws SQLException
SQLException
public void setTypeMap(Map<String,Class<?>> stringClassMap) throws SQLException
SQLException
public void setHoldability(int holdability) throws SQLException
SQLException
public int getHoldability() throws SQLException
SQLException
public Savepoint setSavepoint() throws SQLException
SQLException
public Savepoint setSavepoint(String name) throws SQLException
SQLException
public void rollback(Savepoint savepoint) throws SQLException
SQLException
public void releaseSavepoint(Savepoint savepoint) throws SQLException
SQLException
public Statement createStatement(int resultSetType, int resultSetConcurrency, int resultSetHoldability) throws SQLException
SQLException
public PreparedStatement prepareStatement(String sql, int resultSetType, int resultSetConcurrency, int resultSetHoldability) throws SQLException
SQLException
public CallableStatement prepareCall(String sql, int resultSetType, int resultSetConcurrency, int resultSetHoldability) throws SQLException
SQLException
public PreparedStatement prepareStatement(String sql, int autoGeneratedKeys) throws SQLException
SQLException
public PreparedStatement prepareStatement(String sql, int[] columnIndexes) throws SQLException
SQLException
public PreparedStatement prepareStatement(String sql, String[] columnNames) throws SQLException
SQLException
public Clob createClob() throws SQLException
SQLException
public Blob createBlob() throws SQLException
SQLException
public NClob createNClob() throws SQLException
SQLException
public SQLXML createSQLXML() throws SQLException
SQLException
public boolean isValid(int timeout) throws SQLException
SQLException
public void setClientInfo(String name, String value) throws SQLClientInfoException
SQLClientInfoException
public void setClientInfo(Properties properties) throws SQLClientInfoException
SQLClientInfoException
public String getClientInfo(String name) throws SQLException
SQLException
public Properties getClientInfo() throws SQLException
SQLException
public Array createArrayOf(String typeName, Object[] elements) throws SQLException
SQLException
public Struct createStruct(String typeName, Object[] attributes) throws SQLException
SQLException
public <T> T unwrap(Class<T> iface) throws SQLException
SQLException
public boolean isWrapperFor(Class<?> iface) throws SQLException
SQLException
public void setSchema(String schema) throws SQLException
SQLException
public String getSchema() throws SQLException
SQLException
public void abort(Executor executor) throws SQLException
SQLException
public void setNetworkTimeout(Executor executor, int milliseconds) throws SQLException
SQLException
public int getNetworkTimeout() throws SQLException
SQLException
Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.