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