home *** CD-ROM | disk | FTP | other *** search
/ PC Pro 1999 April / DPPCPRO0499.ISO / April / Notes / 50b2wic.exe / DATA1.CAB / NotesProgramFilesJavaSupport / rt.jar / java / sql / PreparedStatement.class (.txt) < prev    next >
Encoding:
Java Class File  |  1998-04-23  |  1.3 KB  |  55 lines

  1. package java.sql;
  2.  
  3. import java.io.InputStream;
  4. import java.math.BigDecimal;
  5.  
  6. public interface PreparedStatement extends Statement {
  7.    ResultSet executeQuery() throws SQLException;
  8.  
  9.    int executeUpdate() throws SQLException;
  10.  
  11.    void setNull(int var1, int var2) throws SQLException;
  12.  
  13.    void setBoolean(int var1, boolean var2) throws SQLException;
  14.  
  15.    void setByte(int var1, byte var2) throws SQLException;
  16.  
  17.    void setShort(int var1, short var2) throws SQLException;
  18.  
  19.    void setInt(int var1, int var2) throws SQLException;
  20.  
  21.    void setLong(int var1, long var2) throws SQLException;
  22.  
  23.    void setFloat(int var1, float var2) throws SQLException;
  24.  
  25.    void setDouble(int var1, double var2) throws SQLException;
  26.  
  27.    void setBigDecimal(int var1, BigDecimal var2) throws SQLException;
  28.  
  29.    void setString(int var1, String var2) throws SQLException;
  30.  
  31.    void setBytes(int var1, byte[] var2) throws SQLException;
  32.  
  33.    void setDate(int var1, Date var2) throws SQLException;
  34.  
  35.    void setTime(int var1, Time var2) throws SQLException;
  36.  
  37.    void setTimestamp(int var1, Timestamp var2) throws SQLException;
  38.  
  39.    void setAsciiStream(int var1, InputStream var2, int var3) throws SQLException;
  40.  
  41.    void setUnicodeStream(int var1, InputStream var2, int var3) throws SQLException;
  42.  
  43.    void setBinaryStream(int var1, InputStream var2, int var3) throws SQLException;
  44.  
  45.    void clearParameters() throws SQLException;
  46.  
  47.    void setObject(int var1, Object var2, int var3, int var4) throws SQLException;
  48.  
  49.    void setObject(int var1, Object var2, int var3) throws SQLException;
  50.  
  51.    void setObject(int var1, Object var2) throws SQLException;
  52.  
  53.    boolean execute() throws SQLException;
  54. }
  55.