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, unwrap
public JdbcConnection(RemoteConnection c)
public Statement createStatement() throws SQLException
createStatement
in interface Connection
createStatement
in class ConnectionAdapter
SQLException
public void close() throws SQLException
close
in interface AutoCloseable
close
in interface Connection
close
in class ConnectionAdapter
SQLException
public void setAutoCommit(boolean autoCommit) throws SQLException
SQLException
public void setReadOnly(boolean readOnly) throws SQLException
SQLException
public void setTransactionIsolation(int level) throws SQLException
SQLException
public boolean getAutoCommit() throws SQLException
SQLException
public boolean isReadOnly() throws SQLException
SQLException
public int getTransactionIsolation() throws SQLException
SQLException
public void commit() throws SQLException
SQLException
public void rollback() throws SQLException
SQLException
Copyright © 2022 VanillaDB Organization. All rights reserved.