1 package com.imcode.db.mock; 2 3 import org.apache.commons.lang.NotImplementedException; 4 5 import java.io.InputStream; 6 import java.io.Reader; 7 import java.math.BigDecimal; 8 import java.net.URL; 9 import java.sql.*; 10 import java.util.Calendar; 11 import java.util.Map; 12 13 public class MockResultSet implements ResultSet { 14 15 Object[][] rows ; 16 int rowIndex = -1 ; 17 18 public MockResultSet(Object[][] objects) { 19 rows = objects ; 20 } 21 22 public boolean next() throws SQLException { 23 if ( rows.length - 1 == rowIndex ) { 24 return false ; 25 } 26 rowIndex++ ; 27 return true; 28 } 29 30 public void close() throws SQLException { 31 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.close"); 32 } 33 34 public boolean wasNull() throws SQLException { 35 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.wasNull"); 36 } 37 38 public String getString(int columnIndex) throws SQLException { 39 Object object = getObject(columnIndex); 40 if (null == object) { 41 return null ; 42 } 43 if (!(object instanceof String)) { 44 return ""+object ; 45 } 46 return (String)object; 47 } 48 49 public boolean getBoolean(int columnIndex) throws SQLException { 50 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.getBoolean"); 51 } 52 53 public byte getByte(int columnIndex) throws SQLException { 54 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.getByte"); 55 } 56 57 public short getShort(int columnIndex) throws SQLException { 58 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.getShort"); 59 } 60 61 public int getInt(int columnIndex) throws SQLException { 62 return ((Number)getObject(columnIndex)).intValue() ; 63 } 64 65 public long getLong(int columnIndex) throws SQLException { 66 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.getLong"); 67 } 68 69 public float getFloat(int columnIndex) throws SQLException { 70 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.getFloat"); 71 } 72 73 public double getDouble(int columnIndex) throws SQLException { 74 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.getDouble"); 75 } 76 77 public BigDecimal getBigDecimal(int columnIndex, int scale) throws SQLException { 78 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.getBigDecimal"); 79 } 80 81 public byte[] getBytes(int columnIndex) throws SQLException { 82 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.getBytes"); 83 } 84 85 public Date getDate(int columnIndex) throws SQLException { 86 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.getDate"); 87 } 88 89 public Time getTime(int columnIndex) throws SQLException { 90 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.getTime"); 91 } 92 93 public Timestamp getTimestamp(int columnIndex) throws SQLException { 94 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.getTimestamp"); 95 } 96 97 public InputStream getAsciiStream(int columnIndex) throws SQLException { 98 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.getAsciiStream"); 99 } 100 101 public InputStream getUnicodeStream(int columnIndex) throws SQLException { 102 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.getUnicodeStream"); 103 } 104 105 public InputStream getBinaryStream(int columnIndex) throws SQLException { 106 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.getBinaryStream"); 107 } 108 109 public String getString(String columnName) throws SQLException { 110 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.getString"); 111 } 112 113 public boolean getBoolean(String columnName) throws SQLException { 114 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.getBoolean"); 115 } 116 117 public byte getByte(String columnName) throws SQLException { 118 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.getByte"); 119 } 120 121 public short getShort(String columnName) throws SQLException { 122 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.getShort"); 123 } 124 125 public int getInt(String columnName) throws SQLException { 126 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.getInt"); 127 } 128 129 public long getLong(String columnName) throws SQLException { 130 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.getLong"); 131 } 132 133 public float getFloat(String columnName) throws SQLException { 134 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.getFloat"); 135 } 136 137 public double getDouble(String columnName) throws SQLException { 138 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.getDouble"); 139 } 140 141 142 public BigDecimal getBigDecimal(String columnName, int scale) throws SQLException { 143 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.getBigDecimal"); 144 } 145 146 public byte[] getBytes(String columnName) throws SQLException { 147 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.getBytes"); 148 } 149 150 public Date getDate(String columnName) throws SQLException { 151 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.getDate"); 152 } 153 154 public Time getTime(String columnName) throws SQLException { 155 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.getTime"); 156 } 157 158 public Timestamp getTimestamp(String columnName) throws SQLException { 159 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.getTimestamp"); 160 } 161 162 public InputStream getAsciiStream(String columnName) throws SQLException { 163 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.getAsciiStream"); 164 } 165 166 167 public InputStream getUnicodeStream(String columnName) throws SQLException { 168 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.getUnicodeStream"); 169 } 170 171 public InputStream getBinaryStream(String columnName) throws SQLException { 172 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.getBinaryStream"); 173 } 174 175 public SQLWarning getWarnings() throws SQLException { 176 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.getWarnings"); 177 } 178 179 public void clearWarnings() throws SQLException { 180 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.clearWarnings"); 181 } 182 183 public String getCursorName() throws SQLException { 184 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.getCursorName"); 185 } 186 187 public ResultSetMetaData getMetaData() throws SQLException { 188 return new ResultSetMetaData() { 189 public int getColumnCount() { 190 if ( 0 == rows.length ) { 191 return 0 ; 192 } 193 return rows[0].length ; 194 } 195 196 public boolean isAutoIncrement(int column) throws SQLException { 197 throw new NotImplementedException(".isAutoIncrement"); 198 } 199 200 public boolean isCaseSensitive(int column) throws SQLException { 201 throw new NotImplementedException(".isCaseSensitive"); 202 } 203 204 public boolean isSearchable(int column) throws SQLException { 205 throw new NotImplementedException(".isSearchable"); 206 } 207 208 public boolean isCurrency(int column) throws SQLException { 209 throw new NotImplementedException(".isCurrency"); 210 } 211 212 public int isNullable(int column) throws SQLException { 213 throw new NotImplementedException(".isNullable"); 214 } 215 216 public boolean isSigned(int column) throws SQLException { 217 throw new NotImplementedException(".isSigned"); 218 } 219 220 public int getColumnDisplaySize(int column) throws SQLException { 221 throw new NotImplementedException(".getColumnDisplaySize"); 222 } 223 224 public String getColumnLabel(int column) throws SQLException { 225 throw new NotImplementedException(".getColumnLabel"); 226 } 227 228 public String getColumnName(int column) throws SQLException { 229 throw new NotImplementedException(".getColumnName"); 230 } 231 232 public String getSchemaName(int column) throws SQLException { 233 throw new NotImplementedException(".getSchemaName"); 234 } 235 236 public int getPrecision(int column) throws SQLException { 237 throw new NotImplementedException(".getPrecision"); 238 } 239 240 public int getScale(int column) throws SQLException { 241 throw new NotImplementedException(".getScale"); 242 } 243 244 public String getTableName(int column) throws SQLException { 245 throw new NotImplementedException(".getTableName"); 246 } 247 248 public String getCatalogName(int column) throws SQLException { 249 throw new NotImplementedException(".getCatalogName"); 250 } 251 252 public int getColumnType(int column) throws SQLException { 253 throw new NotImplementedException(".getColumnType"); 254 } 255 256 public String getColumnTypeName(int column) throws SQLException { 257 throw new NotImplementedException(".getColumnTypeName"); 258 } 259 260 public boolean isReadOnly(int column) throws SQLException { 261 throw new NotImplementedException(".isReadOnly"); 262 } 263 264 public boolean isWritable(int column) throws SQLException { 265 throw new NotImplementedException(".isWritable"); 266 } 267 268 public boolean isDefinitelyWritable(int column) throws SQLException { 269 throw new NotImplementedException(".isDefinitelyWritable"); 270 } 271 272 public String getColumnClassName(int column) throws SQLException { 273 throw new NotImplementedException(".getColumnClassName"); 274 } 275 }; 276 } 277 278 public Object getObject(int columnIndex) throws SQLException { 279 return rows[rowIndex][columnIndex-1] ; 280 } 281 282 public Object getObject(String columnName) throws SQLException { 283 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.getObject"); 284 } 285 286 public int findColumn(String columnName) throws SQLException { 287 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.findColumn"); 288 } 289 290 public Reader getCharacterStream(int columnIndex) throws SQLException { 291 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.getCharacterStream"); 292 } 293 294 public Reader getCharacterStream(String columnName) throws SQLException { 295 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.getCharacterStream"); 296 } 297 298 public BigDecimal getBigDecimal(int columnIndex) throws SQLException { 299 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.getBigDecimal"); 300 } 301 302 public BigDecimal getBigDecimal(String columnName) throws SQLException { 303 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.getBigDecimal"); 304 } 305 306 public boolean isBeforeFirst() throws SQLException { 307 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.isBeforeFirst"); 308 } 309 310 public boolean isAfterLast() throws SQLException { 311 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.isAfterLast"); 312 } 313 314 public boolean isFirst() throws SQLException { 315 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.isFirst"); 316 } 317 318 public boolean isLast() throws SQLException { 319 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.isLast"); 320 } 321 322 public void beforeFirst() throws SQLException { 323 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.beforeFirst"); 324 } 325 326 public void afterLast() throws SQLException { 327 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.afterLast"); 328 } 329 330 public boolean first() throws SQLException { 331 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.first"); 332 } 333 334 public boolean last() throws SQLException { 335 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.last"); 336 } 337 338 public int getRow() throws SQLException { 339 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.getRow"); 340 } 341 342 public boolean absolute(int row) throws SQLException { 343 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.absolute"); 344 } 345 346 public boolean relative(int rows) throws SQLException { 347 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.relative"); 348 } 349 350 public boolean previous() throws SQLException { 351 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.previous"); 352 } 353 354 public void setFetchDirection(int direction) throws SQLException { 355 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.setFetchDirection"); 356 } 357 358 public int getFetchDirection() throws SQLException { 359 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.getFetchDirection"); 360 } 361 362 public void setFetchSize(int rows) throws SQLException { 363 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.setFetchSize"); 364 } 365 366 public int getFetchSize() throws SQLException { 367 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.getFetchSize"); 368 } 369 370 public int getType() throws SQLException { 371 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.getType"); 372 } 373 374 public int getConcurrency() throws SQLException { 375 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.getConcurrency"); 376 } 377 378 public boolean rowUpdated() throws SQLException { 379 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.rowUpdated"); 380 } 381 382 public boolean rowInserted() throws SQLException { 383 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.rowInserted"); 384 } 385 386 public boolean rowDeleted() throws SQLException { 387 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.rowDeleted"); 388 } 389 390 public void updateNull(int columnIndex) throws SQLException { 391 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.updateNull"); 392 } 393 394 public void updateBoolean(int columnIndex, boolean x) throws SQLException { 395 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.updateBoolean"); 396 } 397 398 public void updateByte(int columnIndex, byte x) throws SQLException { 399 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.updateByte"); 400 } 401 402 public void updateShort(int columnIndex, short x) throws SQLException { 403 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.updateShort"); 404 } 405 406 public void updateInt(int columnIndex, int x) throws SQLException { 407 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.updateInt"); 408 } 409 410 public void updateLong(int columnIndex, long x) throws SQLException { 411 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.updateLong"); 412 } 413 414 public void updateFloat(int columnIndex, float x) throws SQLException { 415 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.updateFloat"); 416 } 417 418 public void updateDouble(int columnIndex, double x) throws SQLException { 419 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.updateDouble"); 420 } 421 422 public void updateBigDecimal(int columnIndex, BigDecimal x) throws SQLException { 423 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.updateBigDecimal"); 424 } 425 426 public void updateString(int columnIndex, String x) throws SQLException { 427 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.updateString"); 428 } 429 430 public void updateBytes(int columnIndex, byte x[]) throws SQLException { 431 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.updateBytes"); 432 } 433 434 public void updateDate(int columnIndex, Date x) throws SQLException { 435 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.updateDate"); 436 } 437 438 public void updateTime(int columnIndex, Time x) throws SQLException { 439 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.updateTime"); 440 } 441 442 public void updateTimestamp(int columnIndex, Timestamp x) throws SQLException { 443 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.updateTimestamp"); 444 } 445 446 public void updateAsciiStream(int columnIndex, InputStream x, int length) throws SQLException { 447 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.updateAsciiStream"); 448 } 449 450 public void updateBinaryStream(int columnIndex, InputStream x, int length) throws SQLException { 451 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.updateBinaryStream"); 452 } 453 454 public void updateCharacterStream(int columnIndex, Reader x, int length) throws SQLException { 455 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.updateCharacterStream"); 456 } 457 458 public void updateObject(int columnIndex, Object x, int scale) throws SQLException { 459 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.updateObject"); 460 } 461 462 public void updateObject(int columnIndex, Object x) throws SQLException { 463 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.updateObject"); 464 } 465 466 public void updateNull(String columnName) throws SQLException { 467 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.updateNull"); 468 } 469 470 public void updateBoolean(String columnName, boolean x) throws SQLException { 471 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.updateBoolean"); 472 } 473 474 public void updateByte(String columnName, byte x) throws SQLException { 475 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.updateByte"); 476 } 477 478 public void updateShort(String columnName, short x) throws SQLException { 479 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.updateShort"); 480 } 481 482 public void updateInt(String columnName, int x) throws SQLException { 483 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.updateInt"); 484 } 485 486 public void updateLong(String columnName, long x) throws SQLException { 487 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.updateLong"); 488 } 489 490 public void updateFloat(String columnName, float x) throws SQLException { 491 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.updateFloat"); 492 } 493 494 public void updateDouble(String columnName, double x) throws SQLException { 495 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.updateDouble"); 496 } 497 498 public void updateBigDecimal(String columnName, BigDecimal x) throws SQLException { 499 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.updateBigDecimal"); 500 } 501 502 public void updateString(String columnName, String x) throws SQLException { 503 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.updateString"); 504 } 505 506 public void updateBytes(String columnName, byte x[]) throws SQLException { 507 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.updateBytes"); 508 } 509 510 public void updateDate(String columnName, Date x) throws SQLException { 511 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.updateDate"); 512 } 513 514 public void updateTime(String columnName, Time x) throws SQLException { 515 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.updateTime"); 516 } 517 518 public void updateTimestamp(String columnName, Timestamp x) throws SQLException { 519 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.updateTimestamp"); 520 } 521 522 public void updateAsciiStream(String columnName, InputStream x, int length) throws SQLException { 523 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.updateAsciiStream"); 524 } 525 526 public void updateBinaryStream(String columnName, InputStream x, int length) throws SQLException { 527 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.updateBinaryStream"); 528 } 529 530 public void updateCharacterStream(String columnName, Reader reader, int length) throws SQLException { 531 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.updateCharacterStream"); 532 } 533 534 public void updateObject(String columnName, Object x, int scale) throws SQLException { 535 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.updateObject"); 536 } 537 538 public void updateObject(String columnName, Object x) throws SQLException { 539 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.updateObject"); 540 } 541 542 public void insertRow() throws SQLException { 543 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.insertRow"); 544 } 545 546 public void updateRow() throws SQLException { 547 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.updateRow"); 548 } 549 550 public void deleteRow() throws SQLException { 551 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.deleteRow"); 552 } 553 554 public void refreshRow() throws SQLException { 555 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.refreshRow"); 556 } 557 558 public void cancelRowUpdates() throws SQLException { 559 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.cancelRowUpdates"); 560 } 561 562 public void moveToInsertRow() throws SQLException { 563 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.moveToInsertRow"); 564 } 565 566 public void moveToCurrentRow() throws SQLException { 567 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.moveToCurrentRow"); 568 } 569 570 public Statement getStatement() throws SQLException { 571 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.getStatement"); 572 } 573 574 public Object getObject(int i, Map map) throws SQLException { 575 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.getObject"); 576 } 577 578 public Ref getRef(int i) throws SQLException { 579 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.getRef"); 580 } 581 582 public Blob getBlob(int i) throws SQLException { 583 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.getBlob"); 584 } 585 586 public Clob getClob(int i) throws SQLException { 587 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.getClob"); 588 } 589 590 public Array getArray(int i) throws SQLException { 591 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.getArray"); 592 } 593 594 public Object getObject(String colName, Map map) throws SQLException { 595 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.getObject"); 596 } 597 598 public Ref getRef(String colName) throws SQLException { 599 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.getRef"); 600 } 601 602 public Blob getBlob(String colName) throws SQLException { 603 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.getBlob"); 604 } 605 606 public Clob getClob(String colName) throws SQLException { 607 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.getClob"); 608 } 609 610 public Array getArray(String colName) throws SQLException { 611 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.getArray"); 612 } 613 614 public Date getDate(int columnIndex, Calendar cal) throws SQLException { 615 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.getDate"); 616 } 617 618 public Date getDate(String columnName, Calendar cal) throws SQLException { 619 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.getDate"); 620 } 621 622 public Time getTime(int columnIndex, Calendar cal) throws SQLException { 623 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.getTime"); 624 } 625 626 public Time getTime(String columnName, Calendar cal) throws SQLException { 627 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.getTime"); 628 } 629 630 public Timestamp getTimestamp(int columnIndex, Calendar cal) throws SQLException { 631 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.getTimestamp"); 632 } 633 634 public Timestamp getTimestamp(String columnName, Calendar cal) throws SQLException { 635 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.getTimestamp"); 636 } 637 638 public URL getURL(int columnIndex) throws SQLException { 639 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.getURL"); 640 } 641 642 public URL getURL(String columnName) throws SQLException { 643 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.getURL"); 644 } 645 646 public void updateRef(int columnIndex, Ref x) throws SQLException { 647 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.updateRef"); 648 } 649 650 public void updateRef(String columnName, Ref x) throws SQLException { 651 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.updateRef"); 652 } 653 654 public void updateBlob(int columnIndex, Blob x) throws SQLException { 655 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.updateBlob"); 656 } 657 658 public void updateBlob(String columnName, Blob x) throws SQLException { 659 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.updateBlob"); 660 } 661 662 public void updateClob(int columnIndex, Clob x) throws SQLException { 663 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.updateClob"); 664 } 665 666 public void updateClob(String columnName, Clob x) throws SQLException { 667 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.updateClob"); 668 } 669 670 public void updateArray(int columnIndex, Array x) throws SQLException { 671 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.updateArray"); 672 } 673 674 public void updateArray(String columnName, Array x) throws SQLException { 675 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.updateArray"); 676 } 677 }