public interface DelegatedConnection extends Connection
TRANSACTION_NONE, TRANSACTION_READ_COMMITTED, TRANSACTION_READ_UNCOMMITTED, TRANSACTION_REPEATABLE_READ, TRANSACTION_SERIALIZABLE| Modifier and Type | Method and Description | 
|---|---|
| default void | abort(Executor executor) | 
| default void | clearWarnings() | 
| default void | close() | 
| default void | commit() | 
| Connection | con() | 
| default Array | createArrayOf(String typeName,
             Object[] elements) | 
| default Blob | createBlob() | 
| default Clob | createClob() | 
| default NClob | createNClob() | 
| default SQLXML | createSQLXML() | 
| default Statement | createStatement() | 
| default Statement | createStatement(int resultSetType,
               int resultSetConcurrency) | 
| default Statement | createStatement(int resultSetType,
               int resultSetConcurrency,
               int resultSetHoldability) | 
| default Struct | createStruct(String typeName,
            Object[] attributes) | 
| default boolean | getAutoCommit() | 
| default String | getCatalog() | 
| default Properties | getClientInfo() | 
| default String | getClientInfo(String name) | 
| default int | getHoldability() | 
| default DatabaseMetaData | getMetaData() | 
| default int | getNetworkTimeout() | 
| default String | getSchema() | 
| default int | getTransactionIsolation() | 
| default Map<String,Class<?>> | getTypeMap() | 
| default SQLWarning | getWarnings() | 
| default boolean | isClosed() | 
| default boolean | isReadOnly() | 
| default boolean | isValid(int timeout) | 
| default boolean | isWrapperFor(Class<?> iface) | 
| default String | nativeSQL(String sql) | 
| default CallableStatement | prepareCall(String sql) | 
| default CallableStatement | prepareCall(String sql,
           int resultSetType,
           int resultSetConcurrency) | 
| default CallableStatement | prepareCall(String sql,
           int resultSetType,
           int resultSetConcurrency,
           int resultSetHoldability) | 
| default PreparedStatement | prepareStatement(String sql) | 
| default PreparedStatement | prepareStatement(String sql,
                int autoGeneratedKeys) | 
| default PreparedStatement | prepareStatement(String sql,
                int[] columnIndexes) | 
| default PreparedStatement | prepareStatement(String sql,
                int resultSetType,
                int resultSetConcurrency) | 
| default PreparedStatement | prepareStatement(String sql,
                int resultSetType,
                int resultSetConcurrency,
                int resultSetHoldability) | 
| default PreparedStatement | prepareStatement(String sql,
                String[] columnNames) | 
| default void | releaseSavepoint(Savepoint savepoint) | 
| default void | rollback() | 
| default void | rollback(Savepoint savepoint) | 
| default void | setAutoCommit(boolean autoCommit) | 
| default void | setCatalog(String catalog) | 
| default void | setClientInfo(Properties properties) | 
| default void | setClientInfo(String name,
             String value) | 
| default void | setHoldability(int holdability) | 
| default void | setNetworkTimeout(Executor executor,
                 int milliseconds) | 
| default void | setReadOnly(boolean readOnly) | 
| default Savepoint | setSavepoint() | 
| default Savepoint | setSavepoint(String name) | 
| default void | setSchema(String schema) | 
| default void | setTransactionIsolation(int level) | 
| default void | setTypeMap(Map<String,Class<?>> map) | 
| default <T> T | unwrap(Class<T> iface) | 
Connection con()
default <T> T unwrap(Class<T> iface) throws SQLException
unwrap in interface WrapperSQLExceptiondefault boolean isWrapperFor(Class<?> iface) throws SQLException
isWrapperFor in interface WrapperSQLExceptiondefault Statement createStatement() throws SQLException
createStatement in interface ConnectionSQLExceptiondefault PreparedStatement prepareStatement(String sql) throws SQLException
prepareStatement in interface ConnectionSQLExceptiondefault CallableStatement prepareCall(String sql) throws SQLException
prepareCall in interface ConnectionSQLExceptiondefault String nativeSQL(String sql) throws SQLException
nativeSQL in interface ConnectionSQLExceptiondefault void setAutoCommit(boolean autoCommit)
                    throws SQLException
setAutoCommit in interface ConnectionSQLExceptiondefault boolean getAutoCommit()
                       throws SQLException
getAutoCommit in interface ConnectionSQLExceptiondefault void commit()
             throws SQLException
commit in interface ConnectionSQLExceptiondefault void rollback()
               throws SQLException
rollback in interface ConnectionSQLExceptiondefault void close()
            throws SQLException
close in interface AutoCloseableclose in interface ConnectionSQLExceptiondefault boolean isClosed()
                  throws SQLException
isClosed in interface ConnectionSQLExceptiondefault DatabaseMetaData getMetaData() throws SQLException
getMetaData in interface ConnectionSQLExceptiondefault void setReadOnly(boolean readOnly)
                  throws SQLException
setReadOnly in interface ConnectionSQLExceptiondefault boolean isReadOnly()
                    throws SQLException
isReadOnly in interface ConnectionSQLExceptiondefault void setCatalog(String catalog) throws SQLException
setCatalog in interface ConnectionSQLExceptiondefault String getCatalog() throws SQLException
getCatalog in interface ConnectionSQLExceptiondefault void setTransactionIsolation(int level)
                              throws SQLException
setTransactionIsolation in interface ConnectionSQLExceptiondefault int getTransactionIsolation()
                             throws SQLException
getTransactionIsolation in interface ConnectionSQLExceptiondefault SQLWarning getWarnings() throws SQLException
getWarnings in interface ConnectionSQLExceptiondefault void clearWarnings()
                    throws SQLException
clearWarnings in interface ConnectionSQLExceptiondefault Statement createStatement(int resultSetType, int resultSetConcurrency) throws SQLException
createStatement in interface ConnectionSQLExceptiondefault PreparedStatement prepareStatement(String sql, int resultSetType, int resultSetConcurrency) throws SQLException
prepareStatement in interface ConnectionSQLExceptiondefault CallableStatement prepareCall(String sql, int resultSetType, int resultSetConcurrency) throws SQLException
prepareCall in interface ConnectionSQLExceptiondefault Map<String,Class<?>> getTypeMap() throws SQLException
getTypeMap in interface ConnectionSQLExceptiondefault void setTypeMap(Map<String,Class<?>> map) throws SQLException
setTypeMap in interface ConnectionSQLExceptiondefault void setHoldability(int holdability)
                     throws SQLException
setHoldability in interface ConnectionSQLExceptiondefault int getHoldability()
                    throws SQLException
getHoldability in interface ConnectionSQLExceptiondefault Savepoint setSavepoint() throws SQLException
setSavepoint in interface ConnectionSQLExceptiondefault Savepoint setSavepoint(String name) throws SQLException
setSavepoint in interface ConnectionSQLExceptiondefault void rollback(Savepoint savepoint) throws SQLException
rollback in interface ConnectionSQLExceptiondefault void releaseSavepoint(Savepoint savepoint) throws SQLException
releaseSavepoint in interface ConnectionSQLExceptiondefault Statement createStatement(int resultSetType, int resultSetConcurrency, int resultSetHoldability) throws SQLException
createStatement in interface ConnectionSQLExceptiondefault PreparedStatement prepareStatement(String sql, int resultSetType, int resultSetConcurrency, int resultSetHoldability) throws SQLException
prepareStatement in interface ConnectionSQLExceptiondefault CallableStatement prepareCall(String sql, int resultSetType, int resultSetConcurrency, int resultSetHoldability) throws SQLException
prepareCall in interface ConnectionSQLExceptiondefault PreparedStatement prepareStatement(String sql, int autoGeneratedKeys) throws SQLException
prepareStatement in interface ConnectionSQLExceptiondefault PreparedStatement prepareStatement(String sql, int[] columnIndexes) throws SQLException
prepareStatement in interface ConnectionSQLExceptiondefault PreparedStatement prepareStatement(String sql, String[] columnNames) throws SQLException
prepareStatement in interface ConnectionSQLExceptiondefault Clob createClob() throws SQLException
createClob in interface ConnectionSQLExceptiondefault Blob createBlob() throws SQLException
createBlob in interface ConnectionSQLExceptiondefault NClob createNClob() throws SQLException
createNClob in interface ConnectionSQLExceptiondefault SQLXML createSQLXML() throws SQLException
createSQLXML in interface ConnectionSQLExceptiondefault boolean isValid(int timeout)
                 throws SQLException
isValid in interface ConnectionSQLExceptiondefault void setClientInfo(String name, String value) throws SQLClientInfoException
setClientInfo in interface ConnectionSQLClientInfoExceptiondefault void setClientInfo(Properties properties) throws SQLClientInfoException
setClientInfo in interface ConnectionSQLClientInfoExceptiondefault String getClientInfo(String name) throws SQLException
getClientInfo in interface ConnectionSQLExceptiondefault Properties getClientInfo() throws SQLException
getClientInfo in interface ConnectionSQLExceptiondefault Array createArrayOf(String typeName, Object[] elements) throws SQLException
createArrayOf in interface ConnectionSQLExceptiondefault Struct createStruct(String typeName, Object[] attributes) throws SQLException
createStruct in interface ConnectionSQLExceptiondefault void setSchema(String schema) throws SQLException
setSchema in interface ConnectionSQLExceptiondefault String getSchema() throws SQLException
getSchema in interface ConnectionSQLExceptiondefault void abort(Executor executor) throws SQLException
abort in interface ConnectionSQLExceptiondefault void setNetworkTimeout(Executor executor, int milliseconds) throws SQLException
setNetworkTimeout in interface ConnectionSQLExceptiondefault int getNetworkTimeout()
                       throws SQLException
getNetworkTimeout in interface ConnectionSQLExceptionCopyright © 2022–2023. All rights reserved.