home *** CD-ROM | disk | FTP | other *** search
/ S283 Planetary Science &n…he Search for Life DVD 2 / DVD-ROM.iso / install / jre1_3 / lib / rt.jar / java / sql / Connection.class (.txt) < prev    next >
Encoding:
Java Class File  |  1979-12-31  |  1.6 KB  |  60 lines

  1. package java.sql;
  2.  
  3. import java.util.Map;
  4.  
  5. public interface Connection {
  6.    int TRANSACTION_NONE = 0;
  7.    int TRANSACTION_READ_UNCOMMITTED = 1;
  8.    int TRANSACTION_READ_COMMITTED = 2;
  9.    int TRANSACTION_REPEATABLE_READ = 4;
  10.    int TRANSACTION_SERIALIZABLE = 8;
  11.  
  12.    Statement createStatement() throws SQLException;
  13.  
  14.    PreparedStatement prepareStatement(String var1) throws SQLException;
  15.  
  16.    CallableStatement prepareCall(String var1) throws SQLException;
  17.  
  18.    String nativeSQL(String var1) throws SQLException;
  19.  
  20.    void setAutoCommit(boolean var1) throws SQLException;
  21.  
  22.    boolean getAutoCommit() throws SQLException;
  23.  
  24.    void commit() throws SQLException;
  25.  
  26.    void rollback() throws SQLException;
  27.  
  28.    void close() throws SQLException;
  29.  
  30.    boolean isClosed() throws SQLException;
  31.  
  32.    DatabaseMetaData getMetaData() throws SQLException;
  33.  
  34.    void setReadOnly(boolean var1) throws SQLException;
  35.  
  36.    boolean isReadOnly() throws SQLException;
  37.  
  38.    void setCatalog(String var1) throws SQLException;
  39.  
  40.    String getCatalog() throws SQLException;
  41.  
  42.    void setTransactionIsolation(int var1) throws SQLException;
  43.  
  44.    int getTransactionIsolation() throws SQLException;
  45.  
  46.    SQLWarning getWarnings() throws SQLException;
  47.  
  48.    void clearWarnings() throws SQLException;
  49.  
  50.    Statement createStatement(int var1, int var2) throws SQLException;
  51.  
  52.    PreparedStatement prepareStatement(String var1, int var2, int var3) throws SQLException;
  53.  
  54.    CallableStatement prepareCall(String var1, int var2, int var3) throws SQLException;
  55.  
  56.    Map getTypeMap() throws SQLException;
  57.  
  58.    void setTypeMap(Map var1) throws SQLException;
  59. }
  60.