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