Interface java.sql.Connection (1.1)


public abstract interface Connection {
  // Constants
    public final static int TRANSACTION_NONE;
    public final static int TRANSACTION_READ_COMMITTED;
    public final static int TRANSACTION_READ_UNCOMMITTED;
    public final static int TRANSACTION_REPEATABLE_READ;
    public final static int TRANSACTION_SERIALIZABLE;
  // Public Instance Methods
    public abstract void clearWarnings( ) throws SQLException;
    public abstract void close( ) throws SQLException;
    public abstract void commit( ) throws SQLException;
    public abstract Statement createStatement( ) throws SQLException;
    public abstract boolean getAutoCommit( ) throws SQLException;
    public abstract String getCatalog( ) throws SQLException;
    public abstract DatabaseMetaData getMetaData( ) throws SQLException;
    public abstract int getTransactionIsolation( ) throws SQLException;
    public abstract SQLWarning getWarnings( ) throws SQLException;
    public abstract boolean isClosed( ) throws SQLException;
    public abstract boolean isReadOnly( ) throws SQLException;
    public abstract String nativeSQL(String sql) throws SQLException;
    public abstract CallableStatement prepareCall(String sql) throws SQLException;
    public abstract PreparedStatement prepareStatement(String sql) throws SQLException;
    public abstract void rollback( ) throws SQLException;
    public abstract void setAutoCommit(boolean autoCommit) throws SQLException;
    public abstract void setCatalog(String catalog) throws SQLException;
    public abstract void setReadOnly(boolean readOnly) throws SQLException;
    public abstract void setTransactionIsolation(int level) throws SQLException;
}