Java in a Nutshell Online Quick Reference for Java 1.1

INTERFACE java.sql.PreparedStatement

Availability: JDK 1.1

public abstract interface PreparedStatement extends Statement {
   // Public Instance Methods
      public abstract void clearParameters() throws SQLException;
      public abstract boolean execute() throws SQLException;
      public abstract ResultSet executeQuery() throws SQLException;
      public abstract int executeUpdate() throws SQLException;
      public abstract void setAsciiStream(int parameterIndex, InputStream x, int length) throws SQLException;
      public abstract void setBigDecimal(int parameterIndex, BigDecimal x) throws SQLException;
      public abstract void setBinaryStream(int parameterIndex, InputStream x, int length) throws SQLException;
      public abstract void setBoolean(int parameterIndex, boolean x) throws SQLException;
      public abstract void setByte(int parameterIndex, byte x) throws SQLException;
      public abstract void setBytes(int parameterIndex, byte[] x) throws SQLException;
      public abstract void setDate(int parameterIndex, Date x) throws SQLException;
      public abstract void setDouble(int parameterIndex, double x) throws SQLException;
      public abstract void setFloat(int parameterIndex, float x) throws SQLException;
      public abstract void setInt(int parameterIndex, int x) throws SQLException;
      public abstract void setLong(int parameterIndex, long x) throws SQLException;
      public abstract void setNull(int parameterIndex, int sqlType) throws SQLException;
      public abstract void setObject(int parameterIndex, Object x, int targetSqlType, int scale) throws SQLException;
      public abstract void setObject(int parameterIndex, Object x, int targetSqlType) throws SQLException;
      public abstract void setObject(int parameterIndex, Object x) throws SQLException;
      public abstract void setShort(int parameterIndex, short x) throws SQLException;
      public abstract void setString(int parameterIndex, String x) throws SQLException;
      public abstract void setTime(int parameterIndex, Time x) throws SQLException;
      public abstract void setTimestamp(int parameterIndex, Timestamp x) throws SQLException;
      public abstract void setUnicodeStream(int parameterIndex, InputStream x, int length) throws SQLException;
}

Java in a Nutshell Online Quick Reference for Java 1.1
Created by David Flanagan. Copyright © 1997 by O'Reilly & Associates.