1 2 9 10 package org.objectweb.rmijdbc; 11 12 import java.sql.*; 13 import java.rmi.RemoteException ; 14 15 import java.util.Calendar ; 16 17 22 38 39 public interface RJPreparedStatementInterface extends RJStatementInterface { 40 41 47 RJResultSetInterface executeQuery() throws RemoteException , SQLException; 48 49 57 int executeUpdate() throws RemoteException , SQLException; 58 59 67 void setNull(int parameterIndex, int sqlType) throws RemoteException , SQLException; 68 69 76 void setBoolean(int parameterIndex, boolean x) 77 throws RemoteException , SQLException; 78 79 86 void setByte(int parameterIndex, byte x) throws RemoteException , SQLException; 87 88 95 void setShort(int parameterIndex, short x) throws RemoteException , SQLException; 96 97 104 void setInt(int parameterIndex, int x) throws RemoteException , SQLException; 105 106 113 void setLong(int parameterIndex, long x) throws RemoteException , SQLException; 114 115 122 void setFloat(int parameterIndex, float x) throws RemoteException , SQLException; 123 124 131 void setDouble(int parameterIndex, double x) throws RemoteException , SQLException; 132 133 140 void setBigDecimal(int parameterIndex, java.math.BigDecimal x) 141 throws RemoteException , SQLException; 142 143 152 void setString(int parameterIndex, String x) throws RemoteException , SQLException; 153 154 163 void setBytes(int parameterIndex, byte x[]) throws RemoteException , SQLException; 164 165 172 void setDate(int parameterIndex, java.sql.Date x) 173 throws RemoteException , SQLException; 174 175 182 void setTime(int parameterIndex, java.sql.Time x) 183 throws RemoteException , SQLException; 184 185 193 void setTimestamp(int parameterIndex, java.sql.Timestamp x) 194 throws RemoteException , SQLException; 195 196 211 void setAsciiStream(int parameterIndex, byte[] x, 214 int length) throws RemoteException , SQLException; 215 216 232 void setUnicodeStream(int parameterIndex, byte[] x, 235 int length) throws RemoteException , SQLException; 236 237 251 void setBinaryStream(int parameterIndex, byte[] x, 254 int length) throws RemoteException , SQLException; 255 256 263 void clearParameters() throws RemoteException , SQLException; 264 265 268 289 void setObject(int parameterIndex, Object x, int targetSqlType, 290 int scale) throws RemoteException , SQLException; 291 292 295 void setObject(int parameterIndex, Object x, int targetSqlType) 296 throws RemoteException , SQLException; 297 298 314 void setObject(int parameterIndex, Object x) throws RemoteException , SQLException; 315 316 323 boolean execute() throws RemoteException , SQLException; 324 326 334 void addBatch() throws java.rmi.RemoteException , SQLException; 335 336 356 void setCharacterStream(int parameterIndex, 357 java.io.Reader reader, 358 int length) throws java.rmi.RemoteException , SQLException; 359 void setCharacterStream(int parameterIndex, 362 char serialized[], 363 int length) throws java.rmi.RemoteException , SQLException; 364 365 374 void setRef (int i, Ref x) throws java.rmi.RemoteException , SQLException; 375 376 385 void setBlob (int i, Blob x) throws java.rmi.RemoteException , SQLException; 386 387 396 void setClob (int i, Clob x) throws java.rmi.RemoteException , SQLException; 397 398 407 void setArray (int i, Array x) throws java.rmi.RemoteException , SQLException; 408 409 417 RJResultSetMetaDataInterface getMetaData() 418 throws java.rmi.RemoteException , SQLException; 419 420 438 void setDate(int parameterIndex, java.sql.Date x, Calendar cal) 439 throws java.rmi.RemoteException , SQLException; 440 441 459 void setTime(int parameterIndex, java.sql.Time x, Calendar cal) 460 throws java.rmi.RemoteException , SQLException; 461 462 480 void setTimestamp(int parameterIndex, java.sql.Timestamp x, Calendar cal) 481 throws java.rmi.RemoteException , SQLException; 482 483 511 void setNull (int paramIndex, int sqlType, String typeName) 512 throws java.rmi.RemoteException , SQLException; 513 514 516 526 void setURL(int parameterIndex, java.net.URL x) 527 throws java.rmi.RemoteException , SQLException; 528 529 540 RJParameterMetaDataInterface getParameterMetaData() 541 throws java.rmi.RemoteException , SQLException; 542 543 }; 544 545 | Popular Tags |