| 1 2 9 10 package org.objectweb.rmijdbc; 11 12 import java.sql.*; 13 import java.math.BigDecimal ; 14 import java.util.Calendar ; 15 16 48 public interface RJCallableStatementInterface 49 extends RJPreparedStatementInterface { 50 51 66 void registerOutParameter(int parameterIndex, int sqlType) 67 throws java.rmi.RemoteException , SQLException; 68 69 83 void registerOutParameter(int parameterIndex, int sqlType, int scale) 84 throws java.rmi.RemoteException , SQLException; 85 86 96 boolean wasNull() throws java.rmi.RemoteException , SQLException; 97 98 104 String getString(int parameterIndex) 105 throws java.rmi.RemoteException , SQLException; 106 107 113 boolean getBoolean(int parameterIndex) 114 throws java.rmi.RemoteException , SQLException; 115 116 122 byte getByte(int parameterIndex) 123 throws java.rmi.RemoteException , SQLException; 124 125 131 short getShort(int parameterIndex) 132 throws java.rmi.RemoteException , SQLException; 133 134 140 int getInt(int parameterIndex) 141 throws java.rmi.RemoteException , SQLException; 142 143 149 long getLong(int parameterIndex) 150 throws java.rmi.RemoteException , SQLException; 151 152 158 float getFloat(int parameterIndex) 159 throws java.rmi.RemoteException , SQLException; 160 161 167 double getDouble(int parameterIndex) 168 throws java.rmi.RemoteException , SQLException; 169 170 178 java.math.BigDecimal getBigDecimal(int parameterIndex, int scale) 179 throws java.rmi.RemoteException , SQLException; 180 181 187 byte[] getBytes(int parameterIndex) 188 throws java.rmi.RemoteException , SQLException; 189 190 196 java.sql.Date getDate(int parameterIndex) 197 throws java.rmi.RemoteException , SQLException; 198 199 205 java.sql.Time getTime(int parameterIndex) 206 throws java.rmi.RemoteException , SQLException; 207 208 214 java.sql.Timestamp getTimestamp(int parameterIndex) 215 throws java.rmi.RemoteException , SQLException; 216 217 220 221 236 Object getObject(int parameterIndex) 237 throws java.rmi.RemoteException , SQLException; 238 239 241 253 BigDecimal getBigDecimal(int parameterIndex) throws java.rmi.RemoteException , SQLException; 254 255 272 Object getObject (int i, java.util.Map map) throws java.rmi.RemoteException , SQLException; 273 274 286 RJRefInterface getRef(int i) 287 throws java.rmi.RemoteException , SQLException; 288 289 300 RJBlobInterface getBlob(int i) 301 throws java.rmi.RemoteException , SQLException; 302 303 315 RJClobInterface getClob (int i) 316 throws java.rmi.RemoteException , SQLException; 317 318 330 RJArrayInterface getArray (int i) 331 throws java.rmi.RemoteException , SQLException; 332 333 351 java.sql.Date getDate(int parameterIndex, Calendar cal) 352 throws java.rmi.RemoteException , SQLException; 353 354 372 java.sql.Time getTime(int parameterIndex, Calendar cal) 373 throws java.rmi.RemoteException , SQLException; 374 375 394 java.sql.Timestamp getTimestamp(int parameterIndex, Calendar cal) 395 throws java.rmi.RemoteException , SQLException; 396 397 398 433 void registerOutParameter (int paramIndex, int sqlType, String typeName) 434 throws java.rmi.RemoteException , SQLException; 435 436 437 439 463 void registerOutParameter(String parameterName, int sqlType) 464 throws java.rmi.RemoteException , SQLException; 465 466 487 void registerOutParameter(String parameterName, int sqlType, int scale) 488 throws java.rmi.RemoteException , SQLException; 489 490 524 void registerOutParameter (String parameterName, int sqlType, String typeName) 525 throws java.rmi.RemoteException , SQLException; 526 527 541 java.net.URL getURL(int parameterIndex) throws java.rmi.RemoteException , SQLException; 542 543 555 void setURL(String parameterName, java.net.URL val) throws java.rmi.RemoteException , SQLException; 556 557 567 void setNull(String parameterName, int sqlType) throws java.rmi.RemoteException , SQLException; 568 569 580 void setBoolean(String parameterName, boolean x) throws java.rmi.RemoteException , SQLException; 581 582 593 void setByte(String parameterName, byte x) throws java.rmi.RemoteException , SQLException; 594 595 606 void setShort(String parameterName, short x) throws java.rmi.RemoteException , SQLException; 607 608 619 void setInt(String parameterName, int x) throws java.rmi.RemoteException , SQLException; 620 621 632 void setLong(String parameterName, long x) throws java.rmi.RemoteException , SQLException; 633 634 645 void setFloat(String parameterName, float x) throws java.rmi.RemoteException , SQLException; 646 647 658 void setDouble(String parameterName, double x) throws java.rmi.RemoteException , SQLException; 659 660 672 void setBigDecimal(String parameterName, BigDecimal x) throws java.rmi.RemoteException , SQLException; 673 674 688 void setString(String parameterName, String x) throws java.rmi.RemoteException , SQLException; 689 690 703 void setBytes(String parameterName, byte x[]) throws java.rmi.RemoteException , SQLException; 704 705 716 void setDate(String parameterName, java.sql.Date x) 717 throws java.rmi.RemoteException , SQLException; 718 719 730 void setTime(String parameterName, java.sql.Time x) 731 throws java.rmi.RemoteException , SQLException; 732 733 745 void setTimestamp(String parameterName, java.sql.Timestamp x) 746 throws java.rmi.RemoteException , SQLException; 747 748 767 void setAsciiStream(String parameterName, java.io.InputStream x, int length) 768 throws java.rmi.RemoteException , SQLException; 769 770 788 void setBinaryStream(String parameterName, java.io.InputStream x, 789 int length) throws java.rmi.RemoteException , SQLException; 790 791 823 void setObject(String parameterName, Object x, int targetSqlType, int scale) 824 throws java.rmi.RemoteException , SQLException; 825 826 839 void setObject(String parameterName, Object x, int targetSqlType) 840 throws java.rmi.RemoteException , SQLException; 841 842 874 void setObject(String parameterName, Object x) throws java.rmi.RemoteException , SQLException; 875 876 877 897 void setCharacterStream(String parameterName, 898 java.io.Reader reader, 899 int length) throws java.rmi.RemoteException , SQLException; 900 901 919 void setDate(String parameterName, java.sql.Date x, Calendar cal) 920 throws java.rmi.RemoteException , SQLException; 921 922 940 void setTime(String parameterName, java.sql.Time x, Calendar cal) 941 throws |