public interface SQLConnection 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 |
commit() |
default Array |
createArrayOf(String typeName,
Object[] elements) |
default Blob |
createBlob() |
default Clob |
createClob() |
default NClob |
createNClob() |
default SQLXML |
createSQLXML() |
default Statement |
createStatement(int resultSetType,
int resultSetConcurrency,
int resultSetHoldability) |
default Struct |
createStruct(String typeName,
Object[] attributes) |
default int |
getHoldability() |
default int |
getNetworkTimeout() |
default Map<String,Class<?>> |
getTypeMap() |
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,
int[] columnIndexes) |
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 |
setHoldability(int holdability) |
default void |
setNetworkTimeout(Executor executor,
int milliseconds) |
default Savepoint |
setSavepoint() |
default Savepoint |
setSavepoint(String name) |
default void |
setTypeMap(Map<String,Class<?>> map) |
clearWarnings, close, createStatement, createStatement, getAutoCommit, getCatalog, getClientInfo, getClientInfo, getMetaData, getSchema, getTransactionIsolation, getWarnings, isClosed, isReadOnly, isValid, prepareStatement, prepareStatement, prepareStatement, setAutoCommit, setCatalog, setClientInfo, setClientInfo, setReadOnly, setSchema, setTransactionIsolationisWrapperFor, unwrapdefault CallableStatement prepareCall(String sql) throws SQLException
prepareCall in interface ConnectionSQLExceptiondefault String nativeSQL(String sql) throws SQLException
nativeSQL in interface ConnectionSQLExceptiondefault void commit()
throws SQLException
commit in interface ConnectionSQLExceptiondefault void rollback()
throws SQLException
rollback 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[] 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 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 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 © 2023 The Apache Software Foundation. All rights reserved.