Java in a Nutshell Online Quick Reference for Java 1.1
Availability: JDK 1.1
public abstract interface Connection { // Constants public static final int TRANSACTION_NONE; public static final int TRANSACTION_READ_COMMITTED; public static final int TRANSACTION_READ_UNCOMMITTED; public static final int TRANSACTION_REPEATABLE_READ; public static final 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; }