1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18 package org.apache.commons.dbcp2;
19
20 import java.io.InputStream;
21 import java.io.Reader;
22 import java.math.BigDecimal;
23 import java.nio.charset.StandardCharsets;
24 import java.sql.Array;
25 import java.sql.Blob;
26 import java.sql.Clob;
27 import java.sql.NClob;
28 import java.sql.Ref;
29 import java.sql.ResultSet;
30 import java.sql.ResultSetMetaData;
31 import java.sql.RowId;
32 import java.sql.SQLException;
33 import java.sql.SQLType;
34 import java.sql.SQLWarning;
35 import java.sql.SQLXML;
36 import java.sql.Statement;
37 import java.util.Calendar;
38 import java.util.Map;
39
40
41
42
43 public class TesterResultSet extends AbandonedTrace implements ResultSet {
44
45 protected int _type = ResultSet.TYPE_FORWARD_ONLY;
46 protected int _concurrency = ResultSet.CONCUR_READ_ONLY;
47 protected Object[][] _data;
48 protected int _currentRow = -1;
49 protected Statement _statement;
50 protected int _rowsLeft = 2;
51 protected boolean _open = true;
52 protected boolean _sqlExceptionOnClose;
53
54 public TesterResultSet(final Statement stmt) {
55 _statement = stmt;
56 }
57
58 public TesterResultSet(final Statement stmt, final int type, final int concurrency) {
59 _statement = stmt;
60 _data = null;
61 _type = type;
62 _concurrency = concurrency;
63 }
64
65 public TesterResultSet(final Statement stmt, final Object[][] data) {
66 _statement = stmt;
67 _data = data;
68 }
69
70 @Override
71 public boolean absolute(final int row) throws SQLException {
72 checkOpen();
73 return false;
74 }
75
76 @Override
77 public void afterLast() throws SQLException {
78 checkOpen();
79 }
80
81 @Override
82 public void beforeFirst() throws SQLException {
83 checkOpen();
84 }
85
86 @Override
87 public void cancelRowUpdates() throws SQLException {
88 checkOpen();
89 }
90
91 protected void checkOpen() throws SQLException {
92 if (!_open) {
93 throw new SQLException("ResultSet is closed.");
94 }
95 }
96
97 @Override
98 public void clearWarnings() throws SQLException {
99 checkOpen();
100 }
101
102 @Override
103 public void close() throws SQLException {
104 if (_sqlExceptionOnClose) {
105 throw new SQLException("TestSQLExceptionOnClose");
106 }
107
108 if (!_open) {
109 return;
110 }
111
112
113 if (_statement != null) {
114 ((TesterStatement) _statement)._resultSet = null;
115 }
116
117 _open = false;
118 }
119
120 @Override
121 public void deleteRow() throws SQLException {
122 checkOpen();
123 }
124
125 @Override
126 public int findColumn(final String columnName) throws SQLException {
127 checkOpen();
128 return 1;
129 }
130
131 @Override
132 public boolean first() throws SQLException {
133 checkOpen();
134 return false;
135 }
136
137 @Override
138 public Array getArray(final int i) throws SQLException {
139 checkOpen();
140 return null;
141 }
142
143 @Override
144 public Array getArray(final String colName) throws SQLException {
145 checkOpen();
146 return null;
147 }
148
149 @Override
150 public java.io.InputStream getAsciiStream(final int columnIndex) throws SQLException {
151 checkOpen();
152 return null;
153 }
154
155 @Override
156 public java.io.InputStream getAsciiStream(final String columnName) throws SQLException {
157 checkOpen();
158 return null;
159 }
160
161 @Override
162 public BigDecimal getBigDecimal(final int columnIndex) throws SQLException {
163 checkOpen();
164 return new BigDecimal(columnIndex);
165 }
166
167
168 @Deprecated
169 @Override
170 public BigDecimal getBigDecimal(final int columnIndex, final int scale) throws SQLException {
171 checkOpen();
172 return new BigDecimal(columnIndex);
173 }
174
175 @Override
176 public BigDecimal getBigDecimal(final String columnName) throws SQLException {
177 checkOpen();
178 return new BigDecimal(columnName.hashCode());
179 }
180
181
182 @Deprecated
183 @Override
184 public BigDecimal getBigDecimal(final String columnName, final int scale) throws SQLException {
185 checkOpen();
186 return new BigDecimal(columnName.hashCode());
187 }
188
189 @Override
190 public java.io.InputStream getBinaryStream(final int columnIndex) throws SQLException {
191 checkOpen();
192 return null;
193 }
194
195 @Override
196 public java.io.InputStream getBinaryStream(final String columnName) throws SQLException {
197 checkOpen();
198 return null;
199 }
200
201 @Override
202 public Blob getBlob(final int i) throws SQLException {
203 checkOpen();
204 return null;
205 }
206
207 @Override
208 public Blob getBlob(final String colName) throws SQLException {
209 checkOpen();
210 return null;
211 }
212
213 @Override
214 public boolean getBoolean(final int columnIndex) throws SQLException {
215 checkOpen();
216 return true;
217 }
218
219 @Override
220 public boolean getBoolean(final String columnName) throws SQLException {
221 checkOpen();
222 return true;
223 }
224
225 @Override
226 public byte getByte(final int columnIndex) throws SQLException {
227 checkOpen();
228 return (byte) columnIndex;
229 }
230
231 @Override
232 public byte getByte(final String columnName) throws SQLException {
233 checkOpen();
234 return (byte) columnName.hashCode();
235 }
236
237 @Override
238 public byte[] getBytes(final int columnIndex) throws SQLException {
239 checkOpen();
240 return new byte[] { (byte) columnIndex };
241 }
242
243 @Override
244 public byte[] getBytes(final String columnName) throws SQLException {
245 checkOpen();
246 return columnName.getBytes(StandardCharsets.UTF_8);
247 }
248
249 @Override
250 public java.io.Reader getCharacterStream(final int columnIndex) throws SQLException {
251 checkOpen();
252 return null;
253 }
254
255 @Override
256 public java.io.Reader getCharacterStream(final String columnName) throws SQLException {
257 checkOpen();
258 return null;
259 }
260
261 @Override
262 public Clob getClob(final int i) throws SQLException {
263 checkOpen();
264 return null;
265 }
266
267 @Override
268 public Clob getClob(final String colName) throws SQLException {
269 checkOpen();
270 return null;
271 }
272
273 @Override
274 public int getConcurrency() throws SQLException {
275 return this._concurrency;
276 }
277
278 @Override
279 public String getCursorName() throws SQLException {
280 checkOpen();
281 return null;
282 }
283
284 @Override
285 public java.sql.Date getDate(final int columnIndex) throws SQLException {
286 checkOpen();
287 return null;
288 }
289
290 @Override
291 public java.sql.Date getDate(final int columnIndex, final Calendar cal) throws SQLException {
292 checkOpen();
293 return null;
294 }
295
296 @Override
297 public java.sql.Date getDate(final String columnName) throws SQLException {
298 checkOpen();
299 return null;
300 }
301
302 @Override
303 public java.sql.Date getDate(final String columnName, final Calendar cal) throws SQLException {
304 checkOpen();
305 return null;
306 }
307
308 @Override
309 public double getDouble(final int columnIndex) throws SQLException {
310 checkOpen();
311 return columnIndex;
312 }
313
314 @Override
315 public double getDouble(final String columnName) throws SQLException {
316 checkOpen();
317 return columnName.hashCode();
318 }
319
320 @Override
321 public int getFetchDirection() throws SQLException {
322 checkOpen();
323 return 1;
324 }
325
326 @Override
327 public int getFetchSize() throws SQLException {
328 checkOpen();
329 return 2;
330 }
331
332 @Override
333 public float getFloat(final int columnIndex) throws SQLException {
334 checkOpen();
335 return columnIndex;
336 }
337
338 @Override
339 public float getFloat(final String columnName) throws SQLException {
340 checkOpen();
341 return columnName.hashCode();
342 }
343
344 @Override
345 public int getHoldability() throws SQLException {
346 throw new SQLException("Not implemented.");
347 }
348
349 @Override
350 public int getInt(final int columnIndex) throws SQLException {
351 checkOpen();
352 return (short) columnIndex;
353 }
354
355 @Override
356 public int getInt(final String columnName) throws SQLException {
357 checkOpen();
358 return columnName.hashCode();
359 }
360
361 @Override
362 public long getLong(final int columnIndex) throws SQLException {
363 checkOpen();
364 return columnIndex;
365 }
366
367 @Override
368 public long getLong(final String columnName) throws SQLException {
369 checkOpen();
370 return columnName.hashCode();
371 }
372
373 @Override
374 public ResultSetMetaData getMetaData() throws SQLException {
375 checkOpen();
376 return null;
377 }
378
379 @Override
380 public Reader getNCharacterStream(final int columnIndex) throws SQLException {
381 throw new SQLException("Not implemented.");
382 }
383
384 @Override
385 public Reader getNCharacterStream(final String columnLabel) throws SQLException {
386 throw new SQLException("Not implemented.");
387 }
388
389 @Override
390 public NClob getNClob(final int columnIndex) throws SQLException {
391 throw new SQLException("Not implemented.");
392 }
393
394 @Override
395 public NClob getNClob(final String columnLabel) throws SQLException {
396 throw new SQLException("Not implemented.");
397 }
398
399 @Override
400 public String getNString(final int columnIndex) throws SQLException {
401 throw new SQLException("Not implemented.");
402 }
403
404 @Override
405 public String getNString(final String columnLabel) throws SQLException {
406 throw new SQLException("Not implemented.");
407 }
408
409 @Override
410 public Object getObject(final int columnIndex) throws SQLException {
411 checkOpen();
412 if (_data != null) {
413 return _data[_currentRow][columnIndex - 1];
414 }
415 return new Object();
416 }
417
418 @Override
419 public <T> T getObject(final int columnIndex, final Class<T> type) throws SQLException {
420 throw new SQLException("Not implemented.");
421 }
422
423 @Override
424 public Object getObject(final int i, final Map<String, Class<?>> map) throws SQLException {
425 checkOpen();
426 return new Object();
427 }
428
429 @Override
430 public Object getObject(final String columnName) throws SQLException {
431 checkOpen();
432 return columnName;
433 }
434
435 @Override
436 public <T> T getObject(final String columnLabel, final Class<T> type) throws SQLException {
437 throw new SQLException("Not implemented.");
438 }
439
440 @Override
441 public Object getObject(final String colName, final Map<String, Class<?>> map) throws SQLException {
442 checkOpen();
443 return colName;
444 }
445
446 @Override
447 public Ref getRef(final int i) throws SQLException {
448 checkOpen();
449 return null;
450 }
451
452 @Override
453 public Ref getRef(final String colName) throws SQLException {
454 checkOpen();
455 return null;
456 }
457
458 @Override
459 public int getRow() throws SQLException {
460 checkOpen();
461 return 3 - _rowsLeft;
462 }
463
464 @Override
465 public RowId getRowId(final int columnIndex) throws SQLException {
466 throw new SQLException("Not implemented.");
467 }
468
469 @Override
470 public RowId getRowId(final String columnLabel) throws SQLException {
471 throw new SQLException("Not implemented.");
472 }
473
474 @Override
475 public short getShort(final int columnIndex) throws SQLException {
476 checkOpen();
477 return (short) columnIndex;
478 }
479
480 @Override
481 public short getShort(final String columnName) throws SQLException {
482 checkOpen();
483 return (short) columnName.hashCode();
484 }
485
486 @Override
487 public SQLXML getSQLXML(final int columnIndex) throws SQLException {
488 throw new SQLException("Not implemented.");
489 }
490
491 @Override
492 public SQLXML getSQLXML(final String columnLabel) throws SQLException {
493 throw new SQLException("Not implemented.");
494 }
495
496 @Override
497 public Statement getStatement() throws SQLException {
498 checkOpen();
499 return _statement;
500 }
501
502 @Override
503 public String getString(final int columnIndex) throws SQLException {
504 checkOpen();
505 if (columnIndex == -1) {
506 throw new SQLException("broken connection");
507 }
508 if (_data != null) {
509 return (String) getObject(columnIndex);
510 }
511 return "String" + columnIndex;
512 }
513
514 @Override
515 public String getString(final String columnName) throws SQLException {
516 checkOpen();
517 return columnName;
518 }
519
520 @Override
521 public java.sql.Time getTime(final int columnIndex) throws SQLException {
522 checkOpen();
523 return null;
524 }
525
526 @Override
527 public java.sql.Time getTime(final int columnIndex, final Calendar cal) throws SQLException {
528 checkOpen();
529 return null;
530 }
531
532 @Override
533 public java.sql.Time getTime(final String columnName) throws SQLException {
534 checkOpen();
535 return null;
536 }
537
538 @Override
539 public java.sql.Time getTime(final String columnName, final Calendar cal) throws SQLException {
540 checkOpen();
541 return null;
542 }
543
544 @Override
545 public java.sql.Timestamp getTimestamp(final int columnIndex) throws SQLException {
546 checkOpen();
547 return null;
548 }
549
550 @Override
551 public java.sql.Timestamp getTimestamp(final int columnIndex, final Calendar cal) throws SQLException {
552 checkOpen();
553 return null;
554 }
555
556 @Override
557 public java.sql.Timestamp getTimestamp(final String columnName) throws SQLException {
558 checkOpen();
559 return null;
560 }
561
562 @Override
563 public java.sql.Timestamp getTimestamp(final String columnName, final Calendar cal) throws SQLException {
564 checkOpen();
565 return null;
566 }
567
568 @Override
569 public int getType() throws SQLException {
570 return this._type;
571 }
572
573
574 @Deprecated
575 @Override
576 public java.io.InputStream getUnicodeStream(final int columnIndex) throws SQLException {
577 checkOpen();
578 return null;
579 }
580
581
582 @Deprecated
583 @Override
584 public java.io.InputStream getUnicodeStream(final String columnName) throws SQLException {
585 checkOpen();
586 return null;
587 }
588
589 @Override
590 public java.net.URL getURL(final int columnIndex) throws SQLException {
591 throw new SQLException("Not implemented.");
592 }
593
594 @Override
595 public java.net.URL getURL(final String columnName) throws SQLException {
596 throw new SQLException("Not implemented.");
597 }
598
599 @Override
600 public SQLWarning getWarnings() throws SQLException {
601 checkOpen();
602 return null;
603 }
604
605 @Override
606 public void insertRow() throws SQLException {
607 checkOpen();
608 }
609
610 @Override
611 public boolean isAfterLast() throws SQLException {
612 checkOpen();
613 return _rowsLeft < 0;
614 }
615
616 @Override
617 public boolean isBeforeFirst() throws SQLException {
618 checkOpen();
619 return _rowsLeft == 2;
620 }
621
622 @Override
623 public boolean isClosed() throws SQLException {
624 return !_open;
625 }
626
627 @Override
628 public boolean isFirst() throws SQLException {
629 checkOpen();
630 return _rowsLeft == 1;
631 }
632
633 @Override
634 public boolean isLast() throws SQLException {
635 checkOpen();
636 return _rowsLeft == 0;
637 }
638
639 public boolean isSqlExceptionOnClose() {
640 return _sqlExceptionOnClose;
641 }
642
643 @Override
644 public boolean isWrapperFor(final Class<?> iface) throws SQLException {
645 throw new SQLException("Not implemented.");
646 }
647
648 @Override
649 public boolean last() throws SQLException {
650 checkOpen();
651 return false;
652 }
653
654 @Override
655 public void moveToCurrentRow() throws SQLException {
656 checkOpen();
657 }
658
659 @Override
660 public void moveToInsertRow() throws SQLException {
661 checkOpen();
662 }
663
664 @Override
665 public boolean next() throws SQLException {
666 checkOpen();
667 if (_data != null) {
668 _currentRow++;
669 return _currentRow < _data.length;
670 }
671 return --_rowsLeft > 0;
672 }
673
674 @Override
675 public boolean previous() throws SQLException {
676 checkOpen();
677 return false;
678 }
679
680 @Override
681 public void refreshRow() throws SQLException {
682 checkOpen();
683 }
684
685 @Override
686 public boolean relative(final int rows) throws SQLException {
687 checkOpen();
688 return false;
689 }
690
691 @Override
692 public boolean rowDeleted() throws SQLException {
693 checkOpen();
694 return false;
695 }
696
697 @Override
698 public boolean rowInserted() throws SQLException {
699 checkOpen();
700 return false;
701 }
702
703 @Override
704 public boolean rowUpdated() throws SQLException {
705 checkOpen();
706 return false;
707 }
708
709 @Override
710 public void setFetchDirection(final int direction) throws SQLException {
711 checkOpen();
712 }
713
714 @Override
715 public void setFetchSize(final int rows) throws SQLException {
716 checkOpen();
717 }
718
719 public void setSqlExceptionOnClose(final boolean sqlExceptionOnClose) {
720 this._sqlExceptionOnClose = sqlExceptionOnClose;
721 }
722
723 @Override
724 public <T> T unwrap(final Class<T> iface) throws SQLException {
725 throw new SQLException("Not implemented.");
726 }
727
728 @Override
729 public void updateArray(final int columnIndex, final java.sql.Array x) throws SQLException {
730 throw new SQLException("Not implemented.");
731 }
732
733 @Override
734 public void updateArray(final String columnName, final java.sql.Array x) throws SQLException {
735 throw new SQLException("Not implemented.");
736 }
737
738 @Override
739 public void updateAsciiStream(final int columnIndex, final InputStream inputStream) throws SQLException {
740 throw new SQLException("Not implemented.");
741 }
742
743 @Override
744 public void updateAsciiStream(final int columnIndex, final InputStream inputStream, final long length) throws SQLException {
745 throw new SQLException("Not implemented.");
746 }
747
748 @Override
749 public void updateAsciiStream(final int columnIndex, final java.io.InputStream x, final int length) throws SQLException {
750 checkOpen();
751 }
752
753 @Override
754 public void updateAsciiStream(final String columnLabel, final InputStream inputStream) throws SQLException {
755 throw new SQLException("Not implemented.");
756 }
757
758 @Override
759 public void updateAsciiStream(final String columnLabel, final InputStream inputStream, final long length) throws SQLException {
760 throw new SQLException("Not implemented.");
761 }
762
763 @Override
764 public void updateAsciiStream(final String columnName, final java.io.InputStream x, final int length) throws SQLException {
765 checkOpen();
766 }
767
768 @Override
769 public void updateBigDecimal(final int columnIndex, final BigDecimal x) throws SQLException {
770 checkOpen();
771 }
772
773 @Override
774 public void updateBigDecimal(final String columnName, final BigDecimal x) throws SQLException {
775 checkOpen();
776 }
777
778 @Override
779 public void updateBinaryStream(final int columnIndex, final InputStream inputStream) throws SQLException {
780 throw new SQLException("Not implemented.");
781 }
782
783 @Override
784 public void updateBinaryStream(final int columnIndex, final InputStream inputStream, final long length) throws SQLException {
785 throw new SQLException("Not implemented.");
786 }
787
788 @Override
789 public void updateBinaryStream(final int columnIndex, final java.io.InputStream x, final int length) throws SQLException {
790 checkOpen();
791 }
792
793 @Override
794 public void updateBinaryStream(final String columnLabel, final InputStream inputStream) throws SQLException {
795 throw new SQLException("Not implemented.");
796 }
797
798 @Override
799 public void updateBinaryStream(final String columnLabel, final InputStream inputStream, final long length) throws SQLException {
800 throw new SQLException("Not implemented.");
801 }
802
803 @Override
804 public void updateBinaryStream(final String columnName, final java.io.InputStream x, final int length) throws SQLException {
805 checkOpen();
806 }
807
808 @Override
809 public void updateBlob(final int columnIndex, final InputStream inputStream) throws SQLException {
810 throw new SQLException("Not implemented.");
811 }
812
813 @Override
814 public void updateBlob(final int columnIndex, final InputStream inputStream, final long length) throws SQLException {
815 throw new SQLException("Not implemented.");
816 }
817
818 @Override
819 public void updateBlob(final int columnIndex, final java.sql.Blob x) throws SQLException {
820 throw new SQLException("Not implemented.");
821 }
822
823 @Override
824 public void updateBlob(final String columnLabel, final InputStream inputStream) throws SQLException {
825 throw new SQLException("Not implemented.");
826 }
827
828 @Override
829 public void updateBlob(final String columnLabel, final InputStream inputStream, final long length) throws SQLException {
830 throw new SQLException("Not implemented.");
831 }
832
833 @Override
834 public void updateBlob(final String columnName, final java.sql.Blob x) throws SQLException {
835 throw new SQLException("Not implemented.");
836 }
837
838 @Override
839 public void updateBoolean(final int columnIndex, final boolean x) throws SQLException {
840 checkOpen();
841 }
842
843 @Override
844 public void updateBoolean(final String columnName, final boolean x) throws SQLException {
845 checkOpen();
846 }
847
848 @Override
849 public void updateByte(final int columnIndex, final byte x) throws SQLException {
850 checkOpen();
851 }
852
853 @Override
854 public void updateByte(final String columnName, final byte x) throws SQLException {
855 checkOpen();
856 }
857
858 @Override
859 public void updateBytes(final int columnIndex, final byte[] x) throws SQLException {
860 checkOpen();
861 }
862
863 @Override
864 public void updateBytes(final String columnName, final byte[] x) throws SQLException {
865 checkOpen();
866 }
867
868 @Override
869 public void updateCharacterStream(final int columnIndex, final java.io.Reader x, final int length) throws SQLException {
870 checkOpen();
871 }
872
873 @Override
874 public void updateCharacterStream(final int columnIndex, final Reader reader) throws SQLException {
875 throw new SQLException("Not implemented.");
876 }
877
878 @Override
879 public void updateCharacterStream(final int columnIndex, final Reader reader, final long length) throws SQLException {
880 throw new SQLException("Not implemented.");
881 }
882
883 @Override
884 public void updateCharacterStream(final String columnName, final java.io.Reader reader, final int length) throws SQLException {
885 checkOpen();
886 }
887
888 @Override
889 public void updateCharacterStream(final String columnLabel, final Reader reader) throws SQLException {
890 throw new SQLException("Not implemented.");
891 }
892
893 @Override
894 public void updateCharacterStream(final String columnLabel, final Reader reader, final long length) throws SQLException {
895 throw new SQLException("Not implemented.");
896 }
897
898 @Override
899 public void updateClob(final int columnIndex, final java.sql.Clob x) throws SQLException {
900 throw new SQLException("Not implemented.");
901 }
902
903 @Override
904 public void updateClob(final int columnIndex, final Reader reader) throws SQLException {
905 throw new SQLException("Not implemented.");
906 }
907
908 @Override
909 public void updateClob(final int columnIndex, final Reader reader, final long length) throws SQLException {
910 throw new SQLException("Not implemented.");
911 }
912
913 @Override
914 public void updateClob(final String columnName, final java.sql.Clob x) throws SQLException {
915 throw new SQLException("Not implemented.");
916 }
917
918 @Override
919 public void updateClob(final String columnLabel, final Reader reader) throws SQLException {
920 throw new SQLException("Not implemented.");
921 }
922
923 @Override
924 public void updateClob(final String columnLabel, final Reader reader, final long length) throws SQLException {
925 throw new SQLException("Not implemented.");
926 }
927
928 @Override
929 public void updateDate(final int columnIndex, final java.sql.Date x) throws SQLException {
930 checkOpen();
931 }
932
933 @Override
934 public void updateDate(final String columnName, final java.sql.Date x) throws SQLException {
935 checkOpen();
936 }
937
938 @Override
939 public void updateDouble(final int columnIndex, final double x) throws SQLException {
940 checkOpen();
941 }
942
943 @Override
944 public void updateDouble(final String columnName, final double x) throws SQLException {
945 checkOpen();
946 }
947
948 @Override
949 public void updateFloat(final int columnIndex, final float x) throws SQLException {
950 checkOpen();
951 }
952
953 @Override
954 public void updateFloat(final String columnName, final float x) throws SQLException {
955 checkOpen();
956 }
957
958 @Override
959 public void updateInt(final int columnIndex, final int x) throws SQLException {
960 checkOpen();
961 }
962
963 @Override
964 public void updateInt(final String columnName, final int x) throws SQLException {
965 checkOpen();
966 }
967
968 @Override
969 public void updateLong(final int columnIndex, final long x) throws SQLException {
970 checkOpen();
971 }
972
973 @Override
974 public void updateLong(final String columnName, final long x) throws SQLException {
975 checkOpen();
976 }
977
978 @Override
979 public void updateNCharacterStream(final int columnIndex, final Reader reader) throws SQLException {
980 throw new SQLException("Not implemented.");
981 }
982
983 @Override
984 public void updateNCharacterStream(final int columnIndex, final Reader reader, final long length) throws SQLException {
985 throw new SQLException("Not implemented.");
986 }
987
988 @Override
989 public void updateNCharacterStream(final String columnLabel, final Reader reader) throws SQLException {
990 throw new SQLException("Not implemented.");
991 }
992
993 @Override
994 public void updateNCharacterStream(final String columnLabel, final Reader reader, final long length) throws SQLException {
995 throw new SQLException("Not implemented.");
996 }
997
998 @Override
999 public void updateNClob(final int columnIndex, final NClob value) throws SQLException {
1000 throw new SQLException("Not implemented.");
1001 }
1002
1003 @Override
1004 public void updateNClob(final int columnIndex, final Reader reader) throws SQLException {
1005 throw new SQLException("Not implemented.");
1006 }
1007
1008 @Override
1009 public void updateNClob(final int columnIndex, final Reader reader, final long length) throws SQLException {
1010 throw new SQLException("Not implemented.");
1011 }
1012
1013 @Override
1014 public void updateNClob(final String columnLabel, final NClob value) throws SQLException {
1015 throw new SQLException("Not implemented.");
1016 }
1017
1018 @Override
1019 public void updateNClob(final String columnLabel, final Reader reader) throws SQLException {
1020 throw new SQLException("Not implemented.");
1021 }
1022
1023 @Override
1024 public void updateNClob(final String columnLabel, final Reader reader, final long length) throws SQLException {
1025 throw new SQLException("Not implemented.");
1026 }
1027
1028 @Override
1029 public void updateNString(final int columnIndex, final String value) throws SQLException {
1030 throw new SQLException("Not implemented.");
1031 }
1032
1033 @Override
1034 public void updateNString(final String columnLabel, final String value) throws SQLException {
1035 throw new SQLException("Not implemented.");
1036 }
1037
1038 @Override
1039 public void updateNull(final int columnIndex) throws SQLException {
1040 checkOpen();
1041 }
1042
1043 @Override
1044 public void updateNull(final String columnName) throws SQLException {
1045 checkOpen();
1046 }
1047
1048 @Override
1049 public void updateObject(final int columnIndex, final Object x) throws SQLException {
1050 checkOpen();
1051 }
1052
1053 @Override
1054 public void updateObject(final int columnIndex, final Object x, final int scale) throws SQLException {
1055 checkOpen();
1056 }
1057
1058 @Override
1059 public void updateObject(final int columnIndex, final Object x, final SQLType targetSqlType) throws SQLException {
1060 checkOpen();
1061 }
1062
1063 @Override
1064 public void updateObject(final int columnIndex, final Object x, final SQLType targetSqlType, final int scaleOrLength) throws SQLException {
1065 checkOpen();
1066 }
1067
1068 @Override
1069 public void updateObject(final String columnName, final Object x) throws SQLException {
1070 checkOpen();
1071 }
1072
1073 @Override
1074 public void updateObject(final String columnName, final Object x, final int scale) throws SQLException {
1075 checkOpen();
1076 }
1077
1078 @Override
1079 public void updateObject(final String columnLabel, final Object x, final SQLType targetSqlType) throws SQLException {
1080 checkOpen();
1081 }
1082
1083 @Override
1084 public void updateObject(final String columnLabel, final Object x, final SQLType targetSqlType, final int scaleOrLength) throws SQLException {
1085 checkOpen();
1086 }
1087
1088 @Override
1089 public void updateRef(final int columnIndex, final java.sql.Ref x) throws SQLException {
1090 throw new SQLException("Not implemented.");
1091 }
1092
1093 @Override
1094 public void updateRef(final String columnName, final java.sql.Ref x) throws SQLException {
1095 throw new SQLException("Not implemented.");
1096 }
1097
1098 @Override
1099 public void updateRow() throws SQLException {
1100 checkOpen();
1101 }
1102
1103 @Override
1104 public void updateRowId(final int columnIndex, final RowId value) throws SQLException {
1105 throw new SQLException("Not implemented.");
1106 }
1107
1108 @Override
1109 public void updateRowId(final String columnLabel, final RowId value) throws SQLException {
1110 throw new SQLException("Not implemented.");
1111 }
1112
1113 @Override
1114 public void updateShort(final int columnIndex, final short x) throws SQLException {
1115 checkOpen();
1116 }
1117
1118 @Override
1119 public void updateShort(final String columnName, final short x) throws SQLException {
1120 checkOpen();
1121 }
1122
1123 @Override
1124 public void updateSQLXML(final int columnIndex, final SQLXML value) throws SQLException {
1125 throw new SQLException("Not implemented.");
1126 }
1127
1128 @Override
1129 public void updateSQLXML(final String columnLabel, final SQLXML value) throws SQLException {
1130 throw new SQLException("Not implemented.");
1131 }
1132
1133 @Override
1134 public void updateString(final int columnIndex, final String x) throws SQLException {
1135 checkOpen();
1136 }
1137
1138 @Override
1139 public void updateString(final String columnName, final String x) throws SQLException {
1140 checkOpen();
1141 }
1142
1143 @Override
1144 public void updateTime(final int columnIndex, final java.sql.Time x) throws SQLException {
1145 checkOpen();
1146 }
1147
1148 @Override
1149 public void updateTime(final String columnName, final java.sql.Time x) throws SQLException {
1150 checkOpen();
1151 }
1152
1153 @Override
1154 public void updateTimestamp(final int columnIndex, final java.sql.Timestamp x) throws SQLException {
1155 checkOpen();
1156 }
1157
1158 @Override
1159 public void updateTimestamp(final String columnName, final java.sql.Timestamp x) throws SQLException {
1160 checkOpen();
1161 }
1162
1163 @Override
1164 public boolean wasNull() throws SQLException {
1165 checkOpen();
1166 return false;
1167 }
1168 }