1 19 package org.openharmonise.commons.dsi; 20 21 import java.io.InputStream ; 22 import java.io.Reader ; 23 import java.math.BigDecimal ; 24 import java.net.URL ; 25 import java.sql.*; 26 import java.sql.Date ; 27 28 import java.util.*; 29 30 31 42 public class CachedResultSet implements ResultSet, Cloneable { 43 44 47 protected List m_colNames = new Vector(); 48 49 52 protected List m_colTypes = new Vector(); 53 54 57 protected List m_rows = new Vector(); 58 59 62 protected List m_currentrow = null; 64 67 protected List m_readMarks = new Vector(); 68 69 72 protected int m_mark = -1; 73 74 77 protected int m_resultTotal = -1; 78 79 83 public CachedResultSet() { 84 } 85 86 92 public CachedResultSet(ResultSet rs) throws DataStoreException { 93 loadResultSet(rs, -1); 94 } 95 96 104 public CachedResultSet(ResultSet rs, int numrows) throws DataStoreException { 105 loadResultSet(rs, numrows); 106 } 107 108 109 112 public Object clone() { 113 try { 114 return super.clone(); 115 } catch (CloneNotSupportedException e) { 116 return null; 117 } catch (Exception e) { 118 return null; 120 } 121 } 122 123 129 public void cacheResultSet(ResultSet rs) throws DataStoreException { 130 initialise(); 131 loadResultSet(rs, -1); 132 } 133 134 141 public void cacheResultSet(ResultSet rs, int numrows) 142 throws DataStoreException { 143 initialise(); 144 loadResultSet(rs, numrows); 145 } 146 147 148 151 public boolean next() { 152 return setCurrentRow(++m_mark); 153 } 154 155 158 public boolean previous() { 159 return setCurrentRow(--m_mark); 160 } 161 162 167 public void setStartRow(int nIndex) { 168 m_mark = nIndex - 1; 169 } 170 171 174 public void markCurrentRowAsRead() { 175 if ((m_mark >= 0) && (m_mark < this.m_readMarks.size())) { 176 this.m_readMarks.set(m_mark,new Boolean (true)); 177 } 178 } 179 180 184 public void clearRow() { 185 for (int i = 0; i < m_currentrow.size(); i++) { 186 m_currentrow.set(i,null); 187 } 188 } 189 190 195 public void clearRow(String columnToLeave) { 196 for (int i = 0; i < m_currentrow.size(); i++) { 197 String sCol = (String ) m_colNames.get(i); 198 199 if (sCol.equals(columnToLeave) == false) { 200 m_currentrow.set(i,null); 201 } 202 } 203 } 204 205 210 public void clearRow(List columnsToLeave) { 211 for (int i = 0; i < m_currentrow.size(); i++) { 212 String sCol = (String ) m_colNames.get(i); 213 214 if (columnsToLeave.contains(sCol) == false) { 215 m_currentrow.set(i,null); 216 } 217 } 218 } 219 220 225 public void removeRow(int index) { 226 if ((index >= 0) && (index < m_rows.size())) { 227 m_rows.remove(index); 228 m_readMarks.remove(index); 229 m_resultTotal--; 230 231 if (m_mark == index) { 232 m_mark--; 233 this.m_currentrow = (List)m_rows.get(m_mark); 234 } 235 } 236 } 237 238 243 public boolean hasCurrentRowBeenRead() { 244 boolean bReturn = false; 245 246 if ((m_mark >= 0) && (m_mark < this.m_readMarks.size())) { 247 bReturn = ((Boolean ) m_readMarks.get(m_mark)).booleanValue(); 248 } 249 250 return bReturn; 251 } 252 253 254 257 public int getInt(String sName) { 258 int nReturn = -1; 259 Integer Ival = (Integer ) getColumnValue(sName); 260 261 if (Ival != null) { 262 nReturn = Ival.intValue(); 263 } 264 265 return nReturn; 266 } 267 268 271 public int getInt(int nIndex) { 272 int nReturn = -1; 273 Integer Ival = (Integer ) getColumnValue(nIndex); 274 275 if (Ival != null) { 276 nReturn = Ival.intValue(); 277 } 278 279 return nReturn; 280 } 281 282 285 public String getString(String sName) { 286 return (String ) getColumnValue(sName); 287 } 288 289 292 public String getString(int nIndex) { 293 return (String ) getColumnValue(nIndex); 294 } 295 296 299 public java.sql.Date getDate(String sName) { 300 return (java.sql.Date ) getColumnValue(sName); 301 } 302 303 304 307 public java.sql.Date getDate(int nIndex) { 308 return (java.sql.Date ) getColumnValue(nIndex); 309 } 310 311 314 public boolean getBoolean(String sName) { 315 boolean bReturn = false; 316 Boolean Bval = null; 317 Object obj = getColumnValue(sName); 318 319 if (obj instanceof Boolean ) { 320 Bval = (Boolean ) obj; 321 322 if (Bval != null) { 323 bReturn = Bval.booleanValue(); 324 } 325 } else if (obj instanceof Integer ) { 326 if (((Integer ) obj).intValue() > 0) { 327 bReturn = true; 328 } else { 329 bReturn = false; 330 } 331 } 332 333 return bReturn; 334 } 335 336 339 public boolean getBoolean(int nIndex) { 340 boolean bReturn = false; 341 342 Boolean Bval = (Boolean ) getColumnValue(nIndex); 343 344 if (Bval != null) { 345 bReturn = Bval.booleanValue(); 346 } 347 348 return bReturn; 349 } 350 351 356 public int getResultTotal() { 357 return m_rows.size(); 358 } 359 360 366 private boolean setCurrentRow(int nIndex) { 367 boolean bReturn = false; 368 369 if (m_rows.size() > nIndex) { 370 bReturn = true; 371 m_currentrow = (Vector) m_rows.get(nIndex); 372 } 373 374 return bReturn; 375 } 376 377 383 private Object getColumnValue(String sName) { 384 Object obj = null; 385 int nIndex = this.m_colNames.indexOf(sName.toLowerCase()); 386 387 if (nIndex >= 0) { 388 obj = m_currentrow.get(nIndex); 389 } 390 391 return obj; 392 } 393 394 400 private Object getColumnValue(int nIndex) { 401 Object obj = null; 402 403 if ((nIndex >= 0) && (nIndex < m_currentrow.size())) { 404 obj = m_currentrow.get(nIndex - 1); 405 } 406 407 return obj; 408 } 409 410 417 private void loadResultSet(ResultSet rs, int numRowsToLoad) 418 throws DataStoreException { 419 try { 420 ResultSetMetaData meta = rs.getMetaData(); 421 422 for (int i = 0; i < meta.getColumnCount(); i++) { 423 int colNum = i + 1; 424 m_colNames.add(meta.getColumnName(colNum).toLowerCase()); 425 m_colTypes.add(new Integer (meta.getColumnType(colNum))); 426 } 427 428 int nCount = 0; 429 boolean bLoop = true; 430 431 while (rs.next() && bLoop) { 432 Vector row = new Vector(m_colNames.size()); 433 434 for (int i = 0; i < m_colNames.size(); i++) { 435 int colType = ((Integer ) m_colTypes.get(i)).intValue(); 436 int colNum = i + 1; 437 438 if (colType == Types.INTEGER) { 439 row.add(new Integer (rs.getInt(colNum))); 440 } else if (colType == Types.NUMERIC) { 441 row.add(new Integer (rs.getInt(colNum))); 442 } else if ((colType == Types.VARCHAR) || 443 (colType == Types.LONGVARCHAR) || colType == Types.CHAR) { 444 row.add(rs.getString(colNum)); 445 } else if (colType == Types.BIT || colType == Types.SMALLINT) { 446 row.add(new Boolean (rs.getBoolean(colNum))); 447 } else if ((colType == Types.DATE) || 448 (colType == Types.TIME) || 449 (colType == Types.TIMESTAMP)) { 450 row.add(rs.getDate(colNum)); 451 } else { 452 throw new DataStoreException( 453 "Unknown data type for column: " + colType); 454 } 455 } 456 457 if (row.size() != m_colNames.size()) { 458 throw new DataStoreException("Not cached all columns (" + 459 row.size() + 460 " in cached row to " + 461 m_colNames.size() + 462 " in source row)"); 463 } 464 465 this.m_rows.add(row); 466 this.m_readMarks.add(new Boolean (false)); 467 nCount++; 468 469 if (numRowsToLoad > 0) { 470 if (nCount >= numRowsToLoad) { 471 bLoop = false; 472 } 473 } 474 } 475 } catch (SQLException e) { 476 throw new DataStoreException(e); 477 } 478 479 } 481 482 486 private void initialise() { 487 m_colNames.clear(); 488 m_colTypes.clear(); 489 m_rows.clear(); 490 491 Vector m_currentrow = null; 492 } 493 494 497 public String toString() { 498 StringBuffer sbuf = new StringBuffer (); 499 500 sbuf.append("columns:"); 501 502 for (int i = 0; i < this.m_colNames.size(); i++) { 503 if (i > 0) { 504 sbuf.append(","); 505 } 506 507 sbuf.append((String ) m_colNames.get(i)).append("(") 508 .append(m_colTypes.get(i)).append(")"); 509 } 510 511 sbuf.append("\n"); 512 sbuf.append("num rows:" + this.m_rows.size()); 513 sbuf.append("\n").append("current row:" + this.m_mark); 514 515 return sbuf.toString(); 516 } 517 518 521 public void close() throws SQLException { 522 } 525 526 529 public boolean wasNull() throws SQLException { 530 throw new UnsupportedOperationException (); 531 } 532 533 536 public byte getByte(int arg0) throws SQLException { 537 throw new UnsupportedOperationException (); 538 } 539 540 543 public short getShort(int arg0) throws SQLException { 544 throw new UnsupportedOperationException (); 545 } 546 547 550 public long getLong(int arg0) throws SQLException { 551 throw new UnsupportedOperationException (); 552 } 553 554 557 public float getFloat(int arg0) throws SQLException { 558 throw new UnsupportedOperationException (); 559 } 560 561 564 public double getDouble(int arg0) throws SQLException { 565 throw new UnsupportedOperationException (); 566 } 567 568 571 public BigDecimal getBigDecimal(int arg0, int arg1) throws SQLException { 572 throw new UnsupportedOperationException (); 573 } 574 575 578 public byte[] getBytes(int arg0) throws SQLException { 579 throw new UnsupportedOperationException (); 580 } 581 582 585 public Time getTime(int arg0) throws SQLException { 586 throw new UnsupportedOperationException (); 587 } 588 589 592 public Timestamp getTimestamp(int arg0) throws SQLException { 593 Timestamp val = null; 594 Date dt = getDate(arg0); 595 596 if(dt != null) { 597 val = new Timestamp(dt.getTime()); 598 } 599 600 return val; 601 } 602 603 606 public InputStream getAsciiStream(int arg0) throws SQLException { 607 throw new UnsupportedOperationException (); 608 } 609 610 613 public InputStream getUnicodeStream(int arg0) throws SQLException { 614 throw new UnsupportedOperationException (); 615 } 616 617 620 public InputStream getBinaryStream(int arg0) throws SQLException { 621 throw new UnsupportedOperationException (); 622 } 623 624 627 public byte getByte(String arg0) throws SQLException { 628 throw new UnsupportedOperationException (); 629 } 630 631 634 public short getShort(String arg0) throws SQLException { 635 throw new UnsupportedOperationException (); 636 } 637 638 641 public long getLong(String arg0) throws SQLException { 642 throw new UnsupportedOperationException (); 643 } 644 645 648 public float getFloat(String arg0) throws SQLException { 649 throw new UnsupportedOperationException (); 650 } 651 652 655 public double getDouble(String arg0) throws SQLException { 656 throw new UnsupportedOperationException (); 657 } 658 659 662 public BigDecimal getBigDecimal(String arg0, int arg1) throws SQLException { 663 throw new UnsupportedOperationException (); 664 } 665 666 669 public byte[] getBytes(String arg0) throws SQLException { 670 throw new UnsupportedOperationException (); 671 } 672 673 676 public Time getTime(String arg0) throws SQLException { 677 throw new UnsupportedOperationException (); 678 } 679 680 683 public Timestamp getTimestamp(String arg0) throws SQLException { 684 Timestamp val = null; 685 Date dt = getDate(arg0); 686 687 if(dt != null) { 688 val = new Timestamp(dt.getTime()); 689 } 690 691 return val; 692 } 693 694 697 public InputStream getAsciiStream(String arg0) throws SQLException { 698 throw new UnsupportedOperationException (); 699 } 700 701 704 public InputStream getUnicodeStream(String arg0) throws SQLException { 705 throw new UnsupportedOperationException (); 706 } 707 708 711 public InputStream getBinaryStream(String arg0) throws SQLException { 712 throw new UnsupportedOperationException (); 713 } 714 715 718 public SQLWarning getWarnings() throws SQLException { 719 throw new UnsupportedOperationException (); 720 } 721 722 725 public void clearWarnings() throws SQLException { 726 } 728 729 732 public String getCursorName() throws SQLException { 733 throw new UnsupportedOperationException (); 734 } 735 736 739 public ResultSetMetaData getMetaData() throws SQLException { 740 throw new UnsupportedOperationException (); 741 } 742 743 746 public Object getObject(int arg0) throws SQLException { 747 throw new UnsupportedOperationException (); 748 } 749 750 753 public Object getObject(String arg0) throws SQLException { 754 throw new UnsupportedOperationException (); 755 } 756 757 760 public int findColumn(String arg0) throws SQLException { 761 throw new UnsupportedOperationException (); 762 } 763 764 767 public Reader getCharacterStream(int arg0) throws SQLException { 768 throw new UnsupportedOperationException (); 769 } 770 771 774 public Reader getCharacterStream(String arg0) throws SQLException { 775 throw new UnsupportedOperationException (); 776 } 777 778 781 public BigDecimal getBigDecimal(int arg0) throws SQLException { 782 throw new UnsupportedOperationException (); 783 } 784 785 788 public BigDecimal getBigDecimal(String arg0) throws SQLException { 789 throw new UnsupportedOperationException (); 790 } 791 792 795 public boolean isBeforeFirst() throws SQLException { 796 throw new UnsupportedOperationException (); 797 } 798 799 802 public boolean isAfterLast() throws SQLException { 803 throw new UnsupportedOperationException (); 804 } 805 806 809 public boolean isFirst() throws SQLException { 810 throw new UnsupportedOperationException (); 811 } 812 813 816 public boolean isLast() throws SQLException { 817 throw new UnsupportedOperationException (); 818 } 819 820 823 public void beforeFirst() throws SQLException { 824 throw new UnsupportedOperationException (); 825 } 826 827 830 public void afterLast() throws SQLException { 831 throw new UnsupportedOperationException (); 832 } 833 834 837 public boolean first() throws SQLException { 838 throw new UnsupportedOperationException (); 839 } 840 841 844 public boolean last() throws SQLException { 845 throw new UnsupportedOperationException (); 846 } 847 848 851 public int getRow() throws SQLException { 852 throw new UnsupportedOperationException (); 853 } 854 855 858 public boolean absolute(int arg0) throws SQLException { 859 throw new UnsupportedOperationException (); 860 } 861 862 865 public boolean relative(int arg0) throws SQLException { 866 throw new UnsupportedOperationException (); 867 } 868 869 872 public void setFetchDirection(int arg0) throws SQLException { 873 throw new UnsupportedOperationException (); 874 } 875 876 879 public int getFetchDirection() throws SQLException { 880 throw new UnsupportedOperationException (); 881 } 882 883 886 public void setFetchSize(int arg0) throws SQLException { 887 throw new UnsupportedOperationException (); 888 } 889 890 893 public int getFetchSize() throws SQLException { 894 throw new UnsupportedOperationException (); 895 } 896 897 900 public int getType() throws SQLException { 901 throw new UnsupportedOperationException (); 902 } 903 904 907 public int getConcurrency() throws SQLException { 908 throw new UnsupportedOperationException (); 909 } 910 911 914 public boolean rowUpdated() throws SQLException { 915 throw new UnsupportedOperationException (); 916 } 917 918 921 public boolean rowInserted() throws SQLException { 922 throw new UnsupportedOperationException (); 923 } 924 925 928 public boolean rowDeleted() throws SQLException { 929 throw new UnsupportedOperationException (); 930 } 931 932 935 public void updateNull(int arg0) throws SQLException { 936 throw new UnsupportedOperationException (); 937 } 938 939 942 public void updateBoolean(int arg0, boolean arg1) throws SQLException { 943 throw new UnsupportedOperationException (); 944 } 945 946 949 public void updateByte(int arg0, byte arg1) throws SQLException { 950 throw new UnsupportedOperationException (); 951 } 952 953 956 public void updateShort(int arg0, short arg1) throws SQLException { 957 throw new UnsupportedOperationException (); 958 } 959 960 963 public void updateInt(int arg0, int arg1) throws SQLException { 964 throw new UnsupportedOperationException (); 965 } 966 967 970 public void updateLong(int arg0, long arg1) throws SQLException { 971 throw new UnsupportedOperationException (); 972 } 973 974 977 public void updateFloat(int arg0, float arg1) throws SQLException { 978 throw new UnsupportedOperationException (); 979 } 980 981 984 public void updateDouble(int arg0, double arg1) throws SQLException { 985 throw new UnsupportedOperationException (); 986 } 987 988 991 public void updateBigDecimal(int arg0, BigDecimal arg1) throws SQLException { 992 throw new UnsupportedOperationException (); 993 } 994 995 998 public void updateString(int arg0, String arg1) throws SQLException { 999 throw new UnsupportedOperationException (); 1000 } 1001 1002 1005 public void updateBytes(int arg0, byte[] arg1) throws SQLException { 1006 throw new UnsupportedOperationException (); 1007 } 1008 1009 1012 public void updateDate(int arg0, Date arg1) throws SQLException { 1013 throw new UnsupportedOperationException (); 1014 } 1015 1016 1019 public void updateTime(int arg0, Time arg1) throws SQLException { 1020 throw new UnsupportedOperationException (); 1021 } 1022 1023 1026 public void updateTimestamp(int arg0, Timestamp arg1) throws SQLException { 1027 throw new UnsupportedOperationException (); 1028 } 1029 1030 1033 public void updateAsciiStream(int arg0, InputStream arg1, int arg2) throws SQLException { 1034 throw new UnsupportedOperationException (); 1035 } 1036 1037 1040 public void updateBinaryStream(int arg0, InputStream arg1, int arg2) throws SQLException { 1041 throw new UnsupportedOperationException (); 1042 } 1043 1044 1047 public void updateCharacterStream(int arg0, Reader arg1, int arg2) throws SQLException { 1048 throw new UnsupportedOperationException (); 1049 } 1050 1051 1054 public void updateObject(int arg0, Object arg1, int arg2) throws SQLException { 1055 throw new UnsupportedOperationException (); 1056 } 1057 1058 1061 public void updateObject(int arg0, Object arg1) throws SQLException { 1062 throw new UnsupportedOperationException (); 1063 } 1064 1065 1068 public void updateNull(String arg0) throws SQLException { 1069 throw new UnsupportedOperationException (); 1070 } 1071 1072 1075 public void updateBoolean(String arg0, boolean arg1) throws SQLException { 1076 throw new UnsupportedOperationException (); 1077 } 1078 1079 1082 public void updateByte(String arg0, byte arg1) throws SQLException { 1083 throw new UnsupportedOperationException (); 1084 } 1085 1086 1089 public void updateShort(String arg0, short arg1) throws SQLException { 1090 throw new UnsupportedOperationException (); 1091 } 1092 1093 1096 public void updateInt(String arg0, int arg1) throws SQLException { 1097 throw new UnsupportedOperationException (); 1098 } 1099 1100 1103 public void updateLong(String arg0, long arg1) throws SQLException { 1104 throw new UnsupportedOperationException (); 1105 } 1106 1107 1110 public void updateFloat(String arg0, float arg1) throws SQLException { 1111 throw new UnsupportedOperationException (); 1112 } 1113 1114 1117 public void updateDouble(String arg0, double arg1) throws SQLException { 1118 throw new UnsupportedOperationException (); 1119 } 1120 1121 1124 public void updateBigDecimal(String arg0, BigDecimal arg1) throws SQLException { 1125 throw new UnsupportedOperationException (); 1126 } 1127 1128 1131 public void updateString(String arg0, String arg1) throws SQLException { 1132 throw new UnsupportedOperationException (); 1133 } 1134 1135 1138 public void updateBytes(String arg0, byte[] arg1) throws SQLException { 1139 throw new UnsupportedOperationException (); 1140 } 1141 1142 1145 public void updateDate(String arg0, Date arg1) throws SQLException { 1146 throw new UnsupportedOperationException (); 1147 } 1148 1149 1152 public void updateTime(String arg0, Time arg1) throws SQLException { 1153 throw new UnsupportedOperationException (); 1154 } 1155 1156 1159 public void updateTimestamp(String arg0, Timestamp arg1) throws SQLException { 1160 throw new UnsupportedOperationException (); 1161 } 1162 1163 1166 public void updateAsciiStream(String arg0, InputStream arg1, int arg2) throws SQLException { 1167 throw new UnsupportedOperationException (); 1168 } 1169 1170 1173 public void updateBinaryStream(String arg0, InputStream arg1, int arg2) throws SQLException { 1174 throw new UnsupportedOperationException (); 1175 } 1176 1177 1180 public void updateCharacterStream(String arg0, Reader arg1, int arg2) throws SQLException { 1181 throw new UnsupportedOperationException (); 1182 } 1183 1184 1187 public void updateObject(String arg0, Object arg1, int arg2) throws SQLException { 1188 throw new UnsupportedOperationException (); 1189 } 1190 1191 1194 public void updateObject(String arg0, Object arg1) throws SQLException { 1195 throw new UnsupportedOperationException (); 1196 } 1197 1198 1201 public void insertRow() throws SQLException { 1202 throw new UnsupportedOperationException (); 1203 } 1204 1205 1208 public void updateRow() throws SQLException { 1209 throw new UnsupportedOperationException (); 1210 } 1211 1212 1215 public void deleteRow() throws SQLException { 1216 throw new UnsupportedOperationException (); 1217 } 1218 1219 1222 public void refreshRow() throws SQLException { 1223 throw new UnsupportedOperationException (); 1224 } 1225 1226 1229 public void cancelRowUpdates() throws SQLException { 1230 throw new UnsupportedOperationException (); 1231 } 1232 1233 1236 public void moveToInsertRow() throws SQLException { 1237 throw new UnsupportedOperationException (); 1238 } 1239 1240 1243 public void moveToCurrentRow() throws SQLException { 1244 throw new UnsupportedOperationException (); 1245 } 1246 1247 1250 public Statement getStatement() throws SQLException { 1251 throw new UnsupportedOperationException (); 1252 } 1253 1254 1257 public Object getObject(int arg0, Map arg1) throws SQLException { 1258 throw new UnsupportedOperationException (); 1259 } 1260 1261 1264 public Ref getRef(int arg0) throws SQLException { 1265 throw new UnsupportedOperationException (); 1266 } 1267 1268 1271 public Blob getBlob(int arg0) throws SQLException { 1272 throw new UnsupportedOperationException (); 1273 } 1274 1275 1278 public Clob getClob(int arg0) throws SQLException { 1279 throw new UnsupportedOperationException (); 1280 } 1281 1282 1285 public Array getArray(int arg0) throws SQLException { 1286 throw new UnsupportedOperationException (); 1287 } 1288 1289 1292 public Object getObject(String arg0, Map arg1) throws SQLException { 1293 throw new UnsupportedOperationException (); 1294 } 1295 1296 1299 public Ref getRef(String arg0) throws SQLException { 1300 throw new UnsupportedOperationException (); 1301 } 1302 1303 1306 public Blob getBlob(String arg0) throws SQLException { 1307 throw new UnsupportedOperationException (); 1308 } 1309 1310 1313 public Clob getClob(String arg0) throws SQLException { 1314 throw new UnsupportedOperationException (); 1315 } 1316 1317 1320 public Array getArray(String arg0) throws SQLException { 1321 throw new UnsupportedOperationException (); 1322 } 1323 1324 1327 public Date getDate(int arg0, Calendar arg1) throws SQLException { 1328 throw new UnsupportedOperationException (); 1329 } 1330 1331 1334 public Date getDate(String arg0, Calendar arg1) throws SQLException { 1335 throw new UnsupportedOperationException (); 1336 } 1337 1338 1341 public Time getTime(int arg0, Calendar arg1) throws SQLException { 1342 throw new UnsupportedOperationException (); 1343 } 1344 1345 1348 public Time getTime(String arg0, Calendar arg1) throws SQLException { 1349 throw new UnsupportedOperationException (); 1350 } 1351 1352 1355 public Timestamp getTimestamp(int arg0, Calendar arg1) throws SQLException { 1356 throw new UnsupportedOperationException (); 1357 } 1358 1359 1362 public Timestamp getTimestamp(String arg0, Calendar arg1) throws SQLException { 1363 throw new UnsupportedOperationException (); 1364 } 1365 1366 1369 public URL getURL(int arg0) throws SQLException { 1370 throw new UnsupportedOperationException (); 1371 } 1372 1373 1376 public URL getURL(String arg0) throws SQLException { 1377 throw new UnsupportedOperationException (); 1378 } 1379 1380 1383 public void updateRef(int arg0, Ref arg1) throws SQLException { 1384 throw new UnsupportedOperationException (); 1385 } 1386 1387 1390 public void updateRef(String arg0, Ref arg1) throws SQLException { 1391 throw new UnsupportedOperationException (); 1392 } 1393 1394 1397 public void updateBlob(int arg0, Blob arg1) throws SQLException { 1398 throw new UnsupportedOperationException (); 1399 } 1400 1401 1404 public void updateBlob(String arg0, Blob arg1) throws SQLException { 1405 throw new UnsupportedOperationException (); 1406 } 1407 1408 1411 public void updateClob(int arg0, Clob arg1) throws SQLException { 1412 throw new UnsupportedOperationException (); 1413 } 1414 1415 1418 public void updateClob(String arg0, Clob arg1) throws SQLException { 1419 throw new UnsupportedOperationException (); 1420 } 1421 1422 1425 public void updateArray(int arg0, Array arg1) throws SQLException { 1426 throw new UnsupportedOperationException (); 1427 } 1428 1429 1432 public void updateArray(String arg0, Array arg1) throws SQLException { 1433 throw new UnsupportedOperationException (); 1434 } 1435} | Popular Tags |