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 java.rmi.RemoteException , SQLException; 942 943 961 void setTimestamp(String parameterName, java.sql.Timestamp x, Calendar cal) 962 throws java.rmi.RemoteException , SQLException; 963 964 993 void setNull (String parameterName, int sqlType, String typeName) 994 throws java.rmi.RemoteException , SQLException; 995 996 1013 String getString(String parameterName) throws java.rmi.RemoteException , SQLException; 1014 1015 1025 boolean getBoolean(String parameterName) throws java.rmi.RemoteException , SQLException; 1026 1027 1037 byte getByte(String parameterName) throws java.rmi.RemoteException , SQLException; 1038 1039 1049 short getShort(String parameterName) throws java.rmi.RemoteException , SQLException; 1050 1051 1062 int getInt(String parameterName) throws java.rmi.RemoteException , SQLException; 1063 1064 1075 long getLong(String parameterName) throws java.rmi.RemoteException , SQLException; 1076 1077 1087 float getFloat(String parameterName) throws java.rmi.RemoteException , SQLException; 1088 1089 1099 double getDouble(String parameterName) throws java.rmi.RemoteException , SQLException; 1100 1101 1112 byte[] getBytes(String parameterName) throws java.rmi.RemoteException , SQLException; 1113 1114 1124 java.sql.Date getDate(String parameterName) throws java.rmi.RemoteException , SQLException; 1125 1126 1136 java.sql.Time getTime(String parameterName) throws java.rmi.RemoteException , SQLException; 1137 1138 1148 java.sql.Timestamp getTimestamp(String parameterName) throws java.rmi.RemoteException , SQLException; 1149 1150 1167 Object getObject(String parameterName) throws java.rmi.RemoteException , SQLException; 1168 1169 1180 BigDecimal getBigDecimal(String parameterName) throws java.rmi.RemoteException , SQLException; 1181 1182 1199 Object getObject (String parameterName, java.util.Map map) throws java.rmi.RemoteException , SQLException; 1200 1201 1212 RJRefInterface getRef (String parameterName) throws java.rmi.RemoteException , SQLException; 1213 1214 1225 RJBlobInterface getBlob (String parameterName) throws java.rmi.RemoteException , SQLException; 1226 1227 1237 RJClobInterface getClob (String parameterName) throws java.rmi.RemoteException , SQLException; 1238 1239 1250 RJArrayInterface getArray (String parameterName) throws java.rmi.RemoteException , SQLException; 1251 1252 1271 java.sql.Date getDate(String parameterName, Calendar cal) 1272 throws java.rmi.RemoteException , SQLException; 1273 1274 1293 java.sql.Time getTime(String parameterName, Calendar cal) 1294 throws java.rmi.RemoteException , SQLException; 1295 1296 1316 java.sql.Timestamp getTimestamp(String parameterName, Calendar cal) 1317 throws java.rmi.RemoteException , SQLException; 1318 1319 1332 java.net.URL getURL(String parameterName) throws java.rmi.RemoteException , SQLException; 1333 1334}; 1335 1336 | Popular Tags |