public class JdbcConnection extends ConnectionAdapter
TRANSACTION_NONE, TRANSACTION_READ_COMMITTED, TRANSACTION_READ_UNCOMMITTED, TRANSACTION_REPEATABLE_READ, TRANSACTION_SERIALIZABLE| Constructor and Description |
|---|
JdbcConnection(RemoteConnection c) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
commit() |
Statement |
createStatement() |
boolean |
getAutoCommit() |
int |
getTransactionIsolation() |
boolean |
isReadOnly() |
void |
rollback() |
void |
setAutoCommit(boolean autoCommit) |
void |
setReadOnly(boolean readOnly) |
void |
setTransactionIsolation(int level) |
abort, clearWarnings, createArrayOf, createBlob, createClob, createNClob, createSQLXML, createStatement, createStatement, createStruct, getCatalog, getClientInfo, getClientInfo, getHoldability, getMetaData, getNetworkTimeout, getSchema, getTypeMap, getWarnings, isClosed, isValid, isWrapperFor, nativeSQL, prepareCall, prepareCall, prepareCall, prepareStatement, prepareStatement, prepareStatement, prepareStatement, prepareStatement, prepareStatement, releaseSavepoint, rollback, setCatalog, setClientInfo, setClientInfo, setHoldability, setNetworkTimeout, setSavepoint, setSavepoint, setSchema, setTypeMap, unwrappublic JdbcConnection(RemoteConnection c)
public Statement createStatement() throws SQLException
createStatement in interface ConnectioncreateStatement in class ConnectionAdapterSQLExceptionpublic void close()
throws SQLException
close in interface AutoCloseableclose in interface Connectionclose in class ConnectionAdapterSQLExceptionpublic void setAutoCommit(boolean autoCommit)
throws SQLException
SQLExceptionpublic void setReadOnly(boolean readOnly)
throws SQLException
SQLExceptionpublic void setTransactionIsolation(int level)
throws SQLException
SQLExceptionpublic boolean getAutoCommit()
throws SQLException
SQLExceptionpublic boolean isReadOnly()
throws SQLException
SQLExceptionpublic int getTransactionIsolation()
throws SQLException
SQLExceptionpublic void commit()
throws SQLException
SQLExceptionpublic void rollback()
throws SQLException
SQLExceptionCopyright © 2022 VanillaDB Organization. All rights reserved.