Справочник по Python

         

Сводка методов класса



Сводка методов класса

public interface Connection {

static public final int TRANSACTION_NONE;

static public final int TRANSACTION_READ_UNCOMMITTED;

static public final int TRANSACTION_READ_COMMITTED;

static public final int TRANSACTION_REPEATABLE_READ;

static public final int TRANSACTION_SERIALIZABLE;

void clearWarnings() throws SQLException;

void close() throws SQLException;

void commit() throws SQLException;


Statement createStatement() throws SQLException;

Statement createStatement(int type, int concur)

throws SQLException;

boolean getAutoCommit() throws SQLException;

String getCatalog() throws SQLException;

Map gettypeMap() throws SQLException;

DatabaseMetaData getMetaData() throws SQLException;

int getTransactionIsolation() throws SQLException;

SQLWarning getWarnings() throws SQLException;

boolean isClosed() throws SQLException;

boolean isReadOnly() throws SQLException;

String nativeSQL(String sql) throws SQLException;

CallableStatement prepareCall(String sql)

throws SQLException;

CallableStatement prepareCall(String sql, int type,

int concur)

throws SQLException;

PreparedStatement prepareStatement(String sql)

throws SQLException;

PreparedStatement prepareStatement(String sql,

int type, int concur)

throws SQLException;

void rollback() throws SQLException;

void setAutoCommit(boolean ac) throws SQLException;

void setCatalog(String catalog) throws SQLException;

void setReadOnly(boolean ro) throws SQLException;

void setTransactionIsolation(int level)

throws SQLException;

void setTypeMap(Map map) throws SQLException; }



Содержание раздела