001 /*
002 * $Id: StasiResultSet.java,v 1.3 2014/04/30 20:03:11 oboehm Exp $
003 *
004 * Copyright (c) 2014 by Oliver Boehm
005 *
006 * Licensed under the Apache License, Version 2.0 (the "License");
007 * you may not use this file except in compliance with the License.
008 * You may obtain a copy of the License at
009 *
010 * http://www.apache.org/licenses/LICENSE-2.0
011 *
012 * Unless required by applicable law or agreed to in writing, software
013 * distributed under the License is distributed on an "AS IS" BASIS,
014 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express orimplied.
015 * See the License for the specific language governing permissions and
016 * limitations under the License.
017 *
018 * (c)reated 15.04.2014 by oliver (ob@oasd.de)
019 */
020
021 package patterntesting.runtime.monitor.db.internal;
022
023 import java.io.*;
024 import java.math.BigDecimal;
025 import java.net.URL;
026 import java.sql.*;
027 import java.sql.Date;
028 import java.util.*;
029
030 import org.slf4j.*;
031
032 import patterntesting.runtime.junit.ObjectTester;
033 import patterntesting.runtime.log.LogWatch;
034
035 /**
036 * A simple wrapper for {@link ResultSet} to be able to find resource problems
037 * while iterating through a {@link ResultSet}.
038 * <p>
039 * Why the name "Stasi..."? The Stasi was the official state security service of
040 * Eastern Germany which controls the people (like NSA in the U.S. or KGB in
041 * Russia, see also <a href="http://en.wikipedia.org/wiki/Stasi">Wikipedia</a>).
042 * The StasiResultSet controls the embedded {@link ResultSet} - therefore the
043 * name.
044 * </p>
045 *
046 * @author oliver
047 * @since 1.4.1 (15.04.2014)
048 */
049 public final class StasiResultSet implements ResultSet {
050
051 private static final Logger log = LoggerFactory.getLogger(StasiResultSet.class);
052 private final ResultSet resultSet;
053 private final LogWatch logWatch = new LogWatch();
054
055 /**
056 * Instantiates a new stasi result set.
057 *
058 * @param rs the rs
059 */
060 public StasiResultSet(final ResultSet rs) {
061 this.resultSet = rs;
062 }
063
064 /**
065 * Absolute.
066 *
067 * @param arg0 the arg0
068 * @return true, if successful
069 * @throws SQLException the SQL exception
070 * @see java.sql.ResultSet#absolute(int)
071 */
072 public boolean absolute(final int arg0) throws SQLException {
073 return this.resultSet.absolute(arg0);
074 }
075
076 /**
077 * After last.
078 *
079 * @throws SQLException the SQL exception
080 * @see java.sql.ResultSet#afterLast()
081 */
082 public void afterLast() throws SQLException {
083 this.resultSet.afterLast();
084 }
085
086 /**
087 * Before first.
088 *
089 * @throws SQLException the SQL exception
090 * @see java.sql.ResultSet#beforeFirst()
091 */
092 public void beforeFirst() throws SQLException {
093 this.resultSet.beforeFirst();
094 }
095
096 /**
097 * Cancel row updates.
098 *
099 * @throws SQLException the SQL exception
100 * @see java.sql.ResultSet#cancelRowUpdates()
101 */
102 public void cancelRowUpdates() throws SQLException {
103 this.resultSet.cancelRowUpdates();
104 }
105
106 /**
107 * Clear warnings.
108 *
109 * @throws SQLException the SQL exception
110 * @see java.sql.ResultSet#clearWarnings()
111 */
112 public void clearWarnings() throws SQLException {
113 this.resultSet.clearWarnings();
114 }
115
116 /**
117 * Close.
118 *
119 * @throws SQLException the SQL exception
120 * @see java.sql.ResultSet#close()
121 */
122 public void close() throws SQLException {
123 this.resultSet.close();
124 log.debug("{} was closed after {}.", this, logWatch);
125 }
126
127 /**
128 * Delete row.
129 *
130 * @throws SQLException the SQL exception
131 * @see java.sql.ResultSet#deleteRow()
132 */
133 public void deleteRow() throws SQLException {
134 this.resultSet.deleteRow();
135 }
136
137 /**
138 * Find column.
139 *
140 * @param arg0 the arg0
141 * @return the int
142 * @throws SQLException the SQL exception
143 * @see java.sql.ResultSet#findColumn(java.lang.String)
144 */
145 public int findColumn(final String arg0) throws SQLException {
146 return this.resultSet.findColumn(arg0);
147 }
148
149 /**
150 * First.
151 *
152 * @return true, if successful
153 * @throws SQLException the SQL exception
154 * @see java.sql.ResultSet#first()
155 */
156 public boolean first() throws SQLException {
157 return this.resultSet.first();
158 }
159
160 /**
161 * Gets the array.
162 *
163 * @param arg0 the arg0
164 * @return the array
165 * @throws SQLException the SQL exception
166 * @see java.sql.ResultSet#getArray(int)
167 */
168 public Array getArray(final int arg0) throws SQLException {
169 return this.resultSet.getArray(arg0);
170 }
171
172 /**
173 * Gets the array.
174 *
175 * @param arg0 the arg0
176 * @return the array
177 * @throws SQLException the SQL exception
178 * @see java.sql.ResultSet#getArray(java.lang.String)
179 */
180 public Array getArray(final String arg0) throws SQLException {
181 return this.resultSet.getArray(arg0);
182 }
183
184 /**
185 * Gets the ascii stream.
186 *
187 * @param arg0 the arg0
188 * @return the ascii stream
189 * @throws SQLException the SQL exception
190 * @see java.sql.ResultSet#getAsciiStream(int)
191 */
192 public InputStream getAsciiStream(final int arg0) throws SQLException {
193 return this.resultSet.getAsciiStream(arg0);
194 }
195
196 /**
197 * Gets the ascii stream.
198 *
199 * @param arg0 the arg0
200 * @return the ascii stream
201 * @throws SQLException the SQL exception
202 * @see java.sql.ResultSet#getAsciiStream(java.lang.String)
203 */
204 public InputStream getAsciiStream(final String arg0) throws SQLException {
205 return this.resultSet.getAsciiStream(arg0);
206 }
207
208 /**
209 * Gets the big decimal.
210 *
211 * @param arg0 the arg0
212 * @param arg1 the arg1
213 * @return the big decimal
214 * @throws SQLException the SQL exception
215 * @see java.sql.ResultSet#getBigDecimal(int, int)
216 * @deprecated use {@link #getBigDecimal(int)}
217 */
218 @Deprecated
219 public BigDecimal getBigDecimal(final int arg0, final int arg1) throws SQLException {
220 return this.resultSet.getBigDecimal(arg0, arg1);
221 }
222
223 /**
224 * Gets the big decimal.
225 *
226 * @param arg0 the arg0
227 * @return the big decimal
228 * @throws SQLException the SQL exception
229 * @see java.sql.ResultSet#getBigDecimal(int)
230 */
231 public BigDecimal getBigDecimal(final int arg0) throws SQLException {
232 return this.resultSet.getBigDecimal(arg0);
233 }
234
235 /**
236 * Gets the big decimal.
237 *
238 * @param arg0 the arg0
239 * @param arg1 the arg1
240 * @return the big decimal
241 * @throws SQLException the SQL exception
242 * @see java.sql.ResultSet#getBigDecimal(java.lang.String, int)
243 * @deprecated use {@link #getBigDecimal(int)}
244 */
245 @Deprecated
246 public BigDecimal getBigDecimal(final String arg0, final int arg1) throws SQLException {
247 return this.resultSet.getBigDecimal(arg0, arg1);
248 }
249
250 /**
251 * Gets the big decimal.
252 *
253 * @param arg0 the arg0
254 * @return the big decimal
255 * @throws SQLException the SQL exception
256 * @see java.sql.ResultSet#getBigDecimal(java.lang.String)
257 */
258 public BigDecimal getBigDecimal(final String arg0) throws SQLException {
259 return this.resultSet.getBigDecimal(arg0);
260 }
261
262 /**
263 * Gets the binary stream.
264 *
265 * @param arg0 the arg0
266 * @return the binary stream
267 * @throws SQLException the SQL exception
268 * @see java.sql.ResultSet#getBinaryStream(int)
269 */
270 public InputStream getBinaryStream(final int arg0) throws SQLException {
271 return this.resultSet.getBinaryStream(arg0);
272 }
273
274 /**
275 * Gets the binary stream.
276 *
277 * @param arg0 the arg0
278 * @return the binary stream
279 * @throws SQLException the SQL exception
280 * @see java.sql.ResultSet#getBinaryStream(java.lang.String)
281 */
282 public InputStream getBinaryStream(final String arg0) throws SQLException {
283 return this.resultSet.getBinaryStream(arg0);
284 }
285
286 /**
287 * Gets the blob.
288 *
289 * @param arg0 the arg0
290 * @return the blob
291 * @throws SQLException the SQL exception
292 * @see java.sql.ResultSet#getBlob(int)
293 */
294 public Blob getBlob(final int arg0) throws SQLException {
295 return this.resultSet.getBlob(arg0);
296 }
297
298 /**
299 * Gets the blob.
300 *
301 * @param arg0 the arg0
302 * @return the blob
303 * @throws SQLException the SQL exception
304 * @see java.sql.ResultSet#getBlob(java.lang.String)
305 */
306 public Blob getBlob(final String arg0) throws SQLException {
307 return this.resultSet.getBlob(arg0);
308 }
309
310 /**
311 * Gets the boolean.
312 *
313 * @param arg0 the arg0
314 * @return the boolean
315 * @throws SQLException the SQL exception
316 * @see java.sql.ResultSet#getBoolean(int)
317 */
318 public boolean getBoolean(final int arg0) throws SQLException {
319 return this.resultSet.getBoolean(arg0);
320 }
321
322 /**
323 * Gets the boolean.
324 *
325 * @param arg0 the arg0
326 * @return the boolean
327 * @throws SQLException the SQL exception
328 * @see java.sql.ResultSet#getBoolean(java.lang.String)
329 */
330 public boolean getBoolean(final String arg0) throws SQLException {
331 return this.resultSet.getBoolean(arg0);
332 }
333
334 /**
335 * Gets the byte.
336 *
337 * @param arg0 the arg0
338 * @return the byte
339 * @throws SQLException the SQL exception
340 * @see java.sql.ResultSet#getByte(int)
341 */
342 public byte getByte(final int arg0) throws SQLException {
343 return this.resultSet.getByte(arg0);
344 }
345
346 /**
347 * Gets the byte.
348 *
349 * @param arg0 the arg0
350 * @return the byte
351 * @throws SQLException the SQL exception
352 * @see java.sql.ResultSet#getByte(java.lang.String)
353 */
354 public byte getByte(final String arg0) throws SQLException {
355 return this.resultSet.getByte(arg0);
356 }
357
358 /**
359 * Gets the bytes.
360 *
361 * @param arg0 the arg0
362 * @return the bytes
363 * @throws SQLException the SQL exception
364 * @see java.sql.ResultSet#getBytes(int)
365 */
366 public byte[] getBytes(final int arg0) throws SQLException {
367 return this.resultSet.getBytes(arg0);
368 }
369
370 /**
371 * Gets the bytes.
372 *
373 * @param arg0 the arg0
374 * @return the bytes
375 * @throws SQLException the SQL exception
376 * @see java.sql.ResultSet#getBytes(java.lang.String)
377 */
378 public byte[] getBytes(final String arg0) throws SQLException {
379 return this.resultSet.getBytes(arg0);
380 }
381
382 /**
383 * Gets the character stream.
384 *
385 * @param arg0 the arg0
386 * @return the character stream
387 * @throws SQLException the SQL exception
388 * @see java.sql.ResultSet#getCharacterStream(int)
389 */
390 public Reader getCharacterStream(final int arg0) throws SQLException {
391 return this.resultSet.getCharacterStream(arg0);
392 }
393
394 /**
395 * Gets the character stream.
396 *
397 * @param arg0 the arg0
398 * @return the character stream
399 * @throws SQLException the SQL exception
400 * @see java.sql.ResultSet#getCharacterStream(java.lang.String)
401 */
402 public Reader getCharacterStream(final String arg0) throws SQLException {
403 return this.resultSet.getCharacterStream(arg0);
404 }
405
406 /**
407 * Gets the clob.
408 *
409 * @param arg0 the arg0
410 * @return the clob
411 * @throws SQLException the SQL exception
412 * @see java.sql.ResultSet#getClob(int)
413 */
414 public Clob getClob(final int arg0) throws SQLException {
415 return this.resultSet.getClob(arg0);
416 }
417
418 /**
419 * Gets the clob.
420 *
421 * @param arg0 the arg0
422 * @return the clob
423 * @throws SQLException the SQL exception
424 * @see java.sql.ResultSet#getClob(java.lang.String)
425 */
426 public Clob getClob(final String arg0) throws SQLException {
427 return this.resultSet.getClob(arg0);
428 }
429
430 /**
431 * Gets the concurrency.
432 *
433 * @return the concurrency
434 * @throws SQLException the SQL exception
435 * @see java.sql.ResultSet#getConcurrency()
436 */
437 public int getConcurrency() throws SQLException {
438 return this.resultSet.getConcurrency();
439 }
440
441 /**
442 * Gets the cursor name.
443 *
444 * @return the cursor name
445 * @throws SQLException the SQL exception
446 * @see java.sql.ResultSet#getCursorName()
447 */
448 public String getCursorName() throws SQLException {
449 return this.resultSet.getCursorName();
450 }
451
452 /**
453 * Gets the date.
454 *
455 * @param arg0 the arg0
456 * @param arg1 the arg1
457 * @return the date
458 * @throws SQLException the SQL exception
459 * @see java.sql.ResultSet#getDate(int, java.util.Calendar)
460 */
461 public Date getDate(final int arg0, final Calendar arg1) throws SQLException {
462 return this.resultSet.getDate(arg0, arg1);
463 }
464
465 /**
466 * Gets the date.
467 *
468 * @param arg0 the arg0
469 * @return the date
470 * @throws SQLException the SQL exception
471 * @see java.sql.ResultSet#getDate(int)
472 */
473 public Date getDate(final int arg0) throws SQLException {
474 return this.resultSet.getDate(arg0);
475 }
476
477 /**
478 * Gets the date.
479 *
480 * @param arg0 the arg0
481 * @param arg1 the arg1
482 * @return the date
483 * @throws SQLException the SQL exception
484 * @see java.sql.ResultSet#getDate(java.lang.String, java.util.Calendar)
485 */
486 public Date getDate(final String arg0, final Calendar arg1) throws SQLException {
487 return this.resultSet.getDate(arg0, arg1);
488 }
489
490 /**
491 * Gets the date.
492 *
493 * @param arg0 the arg0
494 * @return the date
495 * @throws SQLException the SQL exception
496 * @see java.sql.ResultSet#getDate(java.lang.String)
497 */
498 public Date getDate(final String arg0) throws SQLException {
499 return this.resultSet.getDate(arg0);
500 }
501
502 /**
503 * Gets the double.
504 *
505 * @param arg0 the arg0
506 * @return the double
507 * @throws SQLException the SQL exception
508 * @see java.sql.ResultSet#getDouble(int)
509 */
510 public double getDouble(final int arg0) throws SQLException {
511 return this.resultSet.getDouble(arg0);
512 }
513
514 /**
515 * Gets the double.
516 *
517 * @param arg0 the arg0
518 * @return the double
519 * @throws SQLException the SQL exception
520 * @see java.sql.ResultSet#getDouble(java.lang.String)
521 */
522 public double getDouble(final String arg0) throws SQLException {
523 return this.resultSet.getDouble(arg0);
524 }
525
526 /**
527 * Gets the fetch direction.
528 *
529 * @return the fetch direction
530 * @throws SQLException the SQL exception
531 * @see java.sql.ResultSet#getFetchDirection()
532 */
533 public int getFetchDirection() throws SQLException {
534 return this.resultSet.getFetchDirection();
535 }
536
537 /**
538 * Gets the fetch size.
539 *
540 * @return the fetch size
541 * @throws SQLException the SQL exception
542 * @see java.sql.ResultSet#getFetchSize()
543 */
544 public int getFetchSize() throws SQLException {
545 return this.resultSet.getFetchSize();
546 }
547
548 /**
549 * Gets the float.
550 *
551 * @param arg0 the arg0
552 * @return the float
553 * @throws SQLException the SQL exception
554 * @see java.sql.ResultSet#getFloat(int)
555 */
556 public float getFloat(final int arg0) throws SQLException {
557 return this.resultSet.getFloat(arg0);
558 }
559
560 /**
561 * Gets the float.
562 *
563 * @param arg0 the arg0
564 * @return the float
565 * @throws SQLException the SQL exception
566 * @see java.sql.ResultSet#getFloat(java.lang.String)
567 */
568 public float getFloat(final String arg0) throws SQLException {
569 return this.resultSet.getFloat(arg0);
570 }
571
572 /**
573 * Gets the holdability.
574 *
575 * @return the holdability
576 * @throws SQLException the SQL exception
577 * @see java.sql.ResultSet#getHoldability()
578 */
579 public int getHoldability() throws SQLException {
580 return this.resultSet.getHoldability();
581 }
582
583 /**
584 * Gets the int.
585 *
586 * @param arg0 the arg0
587 * @return the int
588 * @throws SQLException the SQL exception
589 * @see java.sql.ResultSet#getInt(int)
590 */
591 public int getInt(final int arg0) throws SQLException {
592 return this.resultSet.getInt(arg0);
593 }
594
595 /**
596 * Gets the int.
597 *
598 * @param arg0 the arg0
599 * @return the int
600 * @throws SQLException the SQL exception
601 * @see java.sql.ResultSet#getInt(java.lang.String)
602 */
603 public int getInt(final String arg0) throws SQLException {
604 return this.resultSet.getInt(arg0);
605 }
606
607 /**
608 * Gets the long.
609 *
610 * @param arg0 the arg0
611 * @return the long
612 * @throws SQLException the SQL exception
613 * @see java.sql.ResultSet#getLong(int)
614 */
615 public long getLong(final int arg0) throws SQLException {
616 return this.resultSet.getLong(arg0);
617 }
618
619 /**
620 * Gets the long.
621 *
622 * @param arg0 the arg0
623 * @return the long
624 * @throws SQLException the SQL exception
625 * @see java.sql.ResultSet#getLong(java.lang.String)
626 */
627 public long getLong(final String arg0) throws SQLException {
628 return this.resultSet.getLong(arg0);
629 }
630
631 /**
632 * Gets the meta data.
633 *
634 * @return the meta data
635 * @throws SQLException the SQL exception
636 * @see java.sql.ResultSet#getMetaData()
637 */
638 public ResultSetMetaData getMetaData() throws SQLException {
639 return this.resultSet.getMetaData();
640 }
641
642 /**
643 * Gets the n character stream.
644 *
645 * @param arg0 the arg0
646 * @return the n character stream
647 * @throws SQLException the SQL exception
648 * @see java.sql.ResultSet#getNCharacterStream(int)
649 */
650 public Reader getNCharacterStream(final int arg0) throws SQLException {
651 return this.resultSet.getNCharacterStream(arg0);
652 }
653
654 /**
655 * Gets the n character stream.
656 *
657 * @param arg0 the arg0
658 * @return the n character stream
659 * @throws SQLException the SQL exception
660 * @see java.sql.ResultSet#getNCharacterStream(java.lang.String)
661 */
662 public Reader getNCharacterStream(final String arg0) throws SQLException {
663 return this.resultSet.getNCharacterStream(arg0);
664 }
665
666 /**
667 * Gets the n clob.
668 *
669 * @param arg0 the arg0
670 * @return the n clob
671 * @throws SQLException the SQL exception
672 * @see java.sql.ResultSet#getNClob(int)
673 */
674 public NClob getNClob(final int arg0) throws SQLException {
675 return this.resultSet.getNClob(arg0);
676 }
677
678 /**
679 * Gets the n clob.
680 *
681 * @param arg0 the arg0
682 * @return the n clob
683 * @throws SQLException the SQL exception
684 * @see java.sql.ResultSet#getNClob(java.lang.String)
685 */
686 public NClob getNClob(final String arg0) throws SQLException {
687 return this.resultSet.getNClob(arg0);
688 }
689
690 /**
691 * Gets the n string.
692 *
693 * @param arg0 the arg0
694 * @return the n string
695 * @throws SQLException the SQL exception
696 * @see java.sql.ResultSet#getNString(int)
697 */
698 public String getNString(final int arg0) throws SQLException {
699 return this.resultSet.getNString(arg0);
700 }
701
702 /**
703 * Gets the n string.
704 *
705 * @param arg0 the arg0
706 * @return the n string
707 * @throws SQLException the SQL exception
708 * @see java.sql.ResultSet#getNString(java.lang.String)
709 */
710 public String getNString(final String arg0) throws SQLException {
711 return this.resultSet.getNString(arg0);
712 }
713
714 /**
715 * Gets the object.
716 *
717 * @param arg0 the arg0
718 * @param arg1 the arg1
719 * @return the object
720 * @throws SQLException the SQL exception
721 * @see java.sql.ResultSet#getObject(int, java.util.Map)
722 */
723 public Object getObject(final int arg0, final Map<String, Class<?>> arg1) throws SQLException {
724 return this.resultSet.getObject(arg0, arg1);
725 }
726
727 /**
728 * Gets the object.
729 *
730 * @param arg0 the arg0
731 * @return the object
732 * @throws SQLException the SQL exception
733 * @see java.sql.ResultSet#getObject(int)
734 */
735 public Object getObject(final int arg0) throws SQLException {
736 return this.resultSet.getObject(arg0);
737 }
738
739 /**
740 * Gets the object.
741 *
742 * @param arg0 the arg0
743 * @param arg1 the arg1
744 * @return the object
745 * @throws SQLException the SQL exception
746 * @see java.sql.ResultSet#getObject(java.lang.String, java.util.Map)
747 */
748 public Object getObject(final String arg0, final Map<String, Class<?>> arg1) throws SQLException {
749 return this.resultSet.getObject(arg0, arg1);
750 }
751
752 /**
753 * Gets the object.
754 *
755 * @param arg0 the arg0
756 * @return the object
757 * @throws SQLException the SQL exception
758 * @see java.sql.ResultSet#getObject(java.lang.String)
759 */
760 public Object getObject(final String arg0) throws SQLException {
761 return this.resultSet.getObject(arg0);
762 }
763
764 /**
765 * Gets the ref.
766 *
767 * @param arg0 the arg0
768 * @return the ref
769 * @throws SQLException the SQL exception
770 * @see java.sql.ResultSet#getRef(int)
771 */
772 public Ref getRef(final int arg0) throws SQLException {
773 return this.resultSet.getRef(arg0);
774 }
775
776 /**
777 * Gets the ref.
778 *
779 * @param arg0 the arg0
780 * @return the ref
781 * @throws SQLException the SQL exception
782 * @see java.sql.ResultSet#getRef(java.lang.String)
783 */
784 public Ref getRef(final String arg0) throws SQLException {
785 return this.resultSet.getRef(arg0);
786 }
787
788 /**
789 * Gets the row.
790 *
791 * @return the row
792 * @throws SQLException the SQL exception
793 * @see java.sql.ResultSet#getRow()
794 */
795 public int getRow() throws SQLException {
796 return this.resultSet.getRow();
797 }
798
799 /**
800 * Gets the row id.
801 *
802 * @param arg0 the arg0
803 * @return the row id
804 * @throws SQLException the SQL exception
805 * @see java.sql.ResultSet#getRowId(int)
806 */
807 public RowId getRowId(final int arg0) throws SQLException {
808 return this.resultSet.getRowId(arg0);
809 }
810
811 /**
812 * Gets the row id.
813 *
814 * @param arg0 the arg0
815 * @return the row id
816 * @throws SQLException the SQL exception
817 * @see java.sql.ResultSet#getRowId(java.lang.String)
818 */
819 public RowId getRowId(final String arg0) throws SQLException {
820 return this.resultSet.getRowId(arg0);
821 }
822
823 /**
824 * Gets the sqlxml.
825 *
826 * @param arg0 the arg0
827 * @return the sqlxml
828 * @throws SQLException the SQL exception
829 * @see java.sql.ResultSet#getSQLXML(int)
830 */
831 public SQLXML getSQLXML(final int arg0) throws SQLException {
832 return this.resultSet.getSQLXML(arg0);
833 }
834
835 /**
836 * Gets the sqlxml.
837 *
838 * @param arg0 the arg0
839 * @return the sqlxml
840 * @throws SQLException the SQL exception
841 * @see java.sql.ResultSet#getSQLXML(java.lang.String)
842 */
843 public SQLXML getSQLXML(final String arg0) throws SQLException {
844 return this.resultSet.getSQLXML(arg0);
845 }
846
847 /**
848 * Gets the short.
849 *
850 * @param arg0 the arg0
851 * @return the short
852 * @throws SQLException the SQL exception
853 * @see java.sql.ResultSet#getShort(int)
854 */
855 public short getShort(final int arg0) throws SQLException {
856 return this.resultSet.getShort(arg0);
857 }
858
859 /**
860 * Gets the short.
861 *
862 * @param arg0 the arg0
863 * @return the short
864 * @throws SQLException the SQL exception
865 * @see java.sql.ResultSet#getShort(java.lang.String)
866 */
867 public short getShort(final String arg0) throws SQLException {
868 return this.resultSet.getShort(arg0);
869 }
870
871 /**
872 * Gets the statement.
873 *
874 * @return the statement
875 * @throws SQLException the SQL exception
876 * @see java.sql.ResultSet#getStatement()
877 */
878 public Statement getStatement() throws SQLException {
879 return this.resultSet.getStatement();
880 }
881
882 /**
883 * Gets the string.
884 *
885 * @param arg0 the arg0
886 * @return the string
887 * @throws SQLException the SQL exception
888 * @see java.sql.ResultSet#getString(int)
889 */
890 public String getString(final int arg0) throws SQLException {
891 return this.resultSet.getString(arg0);
892 }
893
894 /**
895 * Gets the string.
896 *
897 * @param arg0 the arg0
898 * @return the string
899 * @throws SQLException the SQL exception
900 * @see java.sql.ResultSet#getString(java.lang.String)
901 */
902 public String getString(final String arg0) throws SQLException {
903 return this.resultSet.getString(arg0);
904 }
905
906 /**
907 * Gets the time.
908 *
909 * @param arg0 the arg0
910 * @param arg1 the arg1
911 * @return the time
912 * @throws SQLException the SQL exception
913 * @see java.sql.ResultSet#getTime(int, java.util.Calendar)
914 */
915 public Time getTime(final int arg0, final Calendar arg1) throws SQLException {
916 return this.resultSet.getTime(arg0, arg1);
917 }
918
919 /**
920 * Gets the time.
921 *
922 * @param arg0 the arg0
923 * @return the time
924 * @throws SQLException the SQL exception
925 * @see java.sql.ResultSet#getTime(int)
926 */
927 public Time getTime(final int arg0) throws SQLException {
928 return this.resultSet.getTime(arg0);
929 }
930
931 /**
932 * Gets the time.
933 *
934 * @param arg0 the arg0
935 * @param arg1 the arg1
936 * @return the time
937 * @throws SQLException the SQL exception
938 * @see java.sql.ResultSet#getTime(java.lang.String, java.util.Calendar)
939 */
940 public Time getTime(final String arg0, final Calendar arg1) throws SQLException {
941 return this.resultSet.getTime(arg0, arg1);
942 }
943
944 /**
945 * Gets the time.
946 *
947 * @param arg0 the arg0
948 * @return the time
949 * @throws SQLException the SQL exception
950 * @see java.sql.ResultSet#getTime(java.lang.String)
951 */
952 public Time getTime(final String arg0) throws SQLException {
953 return this.resultSet.getTime(arg0);
954 }
955
956 /**
957 * Gets the timestamp.
958 *
959 * @param arg0 the arg0
960 * @param arg1 the arg1
961 * @return the timestamp
962 * @throws SQLException the SQL exception
963 * @see java.sql.ResultSet#getTimestamp(int, java.util.Calendar)
964 */
965 public Timestamp getTimestamp(final int arg0, final Calendar arg1) throws SQLException {
966 return this.resultSet.getTimestamp(arg0, arg1);
967 }
968
969 /**
970 * Gets the timestamp.
971 *
972 * @param arg0 the arg0
973 * @return the timestamp
974 * @throws SQLException the SQL exception
975 * @see java.sql.ResultSet#getTimestamp(int)
976 */
977 public Timestamp getTimestamp(final int arg0) throws SQLException {
978 return this.resultSet.getTimestamp(arg0);
979 }
980
981 /**
982 * Gets the timestamp.
983 *
984 * @param arg0 the arg0
985 * @param arg1 the arg1
986 * @return the timestamp
987 * @throws SQLException the SQL exception
988 * @see java.sql.ResultSet#getTimestamp(java.lang.String, java.util.Calendar)
989 */
990 public Timestamp getTimestamp(final String arg0, final Calendar arg1) throws SQLException {
991 return this.resultSet.getTimestamp(arg0, arg1);
992 }
993
994 /**
995 * Gets the timestamp.
996 *
997 * @param arg0 the arg0
998 * @return the timestamp
999 * @throws SQLException the SQL exception
1000 * @see java.sql.ResultSet#getTimestamp(java.lang.String)
1001 */
1002 public Timestamp getTimestamp(final String arg0) throws SQLException {
1003 return this.resultSet.getTimestamp(arg0);
1004 }
1005
1006 /**
1007 * Gets the type.
1008 *
1009 * @return the type
1010 * @throws SQLException the SQL exception
1011 * @see java.sql.ResultSet#getType()
1012 */
1013 public int getType() throws SQLException {
1014 return this.resultSet.getType();
1015 }
1016
1017 /**
1018 * Gets the url.
1019 *
1020 * @param arg0 the arg0
1021 * @return the url
1022 * @throws SQLException the SQL exception
1023 * @see java.sql.ResultSet#getURL(int)
1024 */
1025 public URL getURL(final int arg0) throws SQLException {
1026 return this.resultSet.getURL(arg0);
1027 }
1028
1029 /**
1030 * Gets the url.
1031 *
1032 * @param arg0 the arg0
1033 * @return the url
1034 * @throws SQLException the SQL exception
1035 * @see java.sql.ResultSet#getURL(java.lang.String)
1036 */
1037 public URL getURL(final String arg0) throws SQLException {
1038 return this.resultSet.getURL(arg0);
1039 }
1040
1041 /**
1042 * Gets the unicode stream.
1043 *
1044 * @param arg0 the arg0
1045 * @return the unicode stream
1046 * @throws SQLException the SQL exception
1047 * @see java.sql.ResultSet#getUnicodeStream(int)
1048 * @deprecated use normal encoding
1049 */
1050 @Deprecated
1051 public InputStream getUnicodeStream(final int arg0) throws SQLException {
1052 return this.resultSet.getUnicodeStream(arg0);
1053 }
1054
1055 /**
1056 * Gets the unicode stream.
1057 *
1058 * @param arg0 the arg0
1059 * @return the unicode stream
1060 * @throws SQLException the SQL exception
1061 * @see java.sql.ResultSet#getUnicodeStream(java.lang.String)
1062 * @deprecated use normal encoding
1063 */
1064 @Deprecated
1065 public InputStream getUnicodeStream(final String arg0) throws SQLException {
1066 return this.resultSet.getUnicodeStream(arg0);
1067 }
1068
1069 /**
1070 * Gets the warnings.
1071 *
1072 * @return the warnings
1073 * @throws SQLException the SQL exception
1074 * @see java.sql.ResultSet#getWarnings()
1075 */
1076 public SQLWarning getWarnings() throws SQLException {
1077 return this.resultSet.getWarnings();
1078 }
1079
1080 /**
1081 * Insert row.
1082 *
1083 * @throws SQLException the SQL exception
1084 * @see java.sql.ResultSet#insertRow()
1085 */
1086 public void insertRow() throws SQLException {
1087 this.resultSet.insertRow();
1088 }
1089
1090 /**
1091 * Checks if is after last.
1092 *
1093 * @return true, if is after last
1094 * @throws SQLException the SQL exception
1095 * @see java.sql.ResultSet#isAfterLast()
1096 */
1097 public boolean isAfterLast() throws SQLException {
1098 return this.resultSet.isAfterLast();
1099 }
1100
1101 /**
1102 * Checks if is before first.
1103 *
1104 * @return true, if is before first
1105 * @throws SQLException the SQL exception
1106 * @see java.sql.ResultSet#isBeforeFirst()
1107 */
1108 public boolean isBeforeFirst() throws SQLException {
1109 return this.resultSet.isBeforeFirst();
1110 }
1111
1112 /**
1113 * Checks if is closed.
1114 *
1115 * @return true, if is closed
1116 * @throws SQLException the SQL exception
1117 * @see java.sql.ResultSet#isClosed()
1118 */
1119 public boolean isClosed() throws SQLException {
1120 return this.resultSet.isClosed();
1121 }
1122
1123 /**
1124 * Checks if is first.
1125 *
1126 * @return true, if is first
1127 * @throws SQLException the SQL exception
1128 * @see java.sql.ResultSet#isFirst()
1129 */
1130 public boolean isFirst() throws SQLException {
1131 return this.resultSet.isFirst();
1132 }
1133
1134 /**
1135 * Checks if is last.
1136 *
1137 * @return true, if is last
1138 * @throws SQLException the SQL exception
1139 * @see java.sql.ResultSet#isLast()
1140 */
1141 public boolean isLast() throws SQLException {
1142 return this.resultSet.isLast();
1143 }
1144
1145 /**
1146 * Checks if is wrapper for.
1147 *
1148 * @param arg0 the arg0
1149 * @return true, if is wrapper for
1150 * @throws SQLException the SQL exception
1151 * @see java.sql.Wrapper#isWrapperFor(java.lang.Class)
1152 */
1153 public boolean isWrapperFor(final Class<?> arg0) throws SQLException {
1154 return this.resultSet.isWrapperFor(arg0);
1155 }
1156
1157 /**
1158 * Last.
1159 *
1160 * @return true, if successful
1161 * @throws SQLException the SQL exception
1162 * @see java.sql.ResultSet#last()
1163 */
1164 public boolean last() throws SQLException {
1165 return this.resultSet.last();
1166 }
1167
1168 /**
1169 * Move to current row.
1170 *
1171 * @throws SQLException the SQL exception
1172 * @see java.sql.ResultSet#moveToCurrentRow()
1173 */
1174 public void moveToCurrentRow() throws SQLException {
1175 this.resultSet.moveToCurrentRow();
1176 }
1177
1178 /**
1179 * Move to insert row.
1180 *
1181 * @throws SQLException the SQL exception
1182 * @see java.sql.ResultSet#moveToInsertRow()
1183 */
1184 public void moveToInsertRow() throws SQLException {
1185 this.resultSet.moveToInsertRow();
1186 }
1187
1188 /**
1189 * Next.
1190 *
1191 * @return true, if successful
1192 * @throws SQLException the SQL exception
1193 * @see java.sql.ResultSet#next()
1194 */
1195 public boolean next() throws SQLException {
1196 return this.resultSet.next();
1197 }
1198
1199 /**
1200 * Previous.
1201 *
1202 * @return true, if successful
1203 * @throws SQLException the SQL exception
1204 * @see java.sql.ResultSet#previous()
1205 */
1206 public boolean previous() throws SQLException {
1207 return this.resultSet.previous();
1208 }
1209
1210 /**
1211 * Refresh row.
1212 *
1213 * @throws SQLException the SQL exception
1214 * @see java.sql.ResultSet#refreshRow()
1215 */
1216 public void refreshRow() throws SQLException {
1217 this.resultSet.refreshRow();
1218 }
1219
1220 /**
1221 * Relative.
1222 *
1223 * @param arg0 the arg0
1224 * @return true, if successful
1225 * @throws SQLException the SQL exception
1226 * @see java.sql.ResultSet#relative(int)
1227 */
1228 public boolean relative(final int arg0) throws SQLException {
1229 return this.resultSet.relative(arg0);
1230 }
1231
1232 /**
1233 * Row deleted.
1234 *
1235 * @return true, if successful
1236 * @throws SQLException the SQL exception
1237 * @see java.sql.ResultSet#rowDeleted()
1238 */
1239 public boolean rowDeleted() throws SQLException {
1240 return this.resultSet.rowDeleted();
1241 }
1242
1243 /**
1244 * Row inserted.
1245 *
1246 * @return true, if successful
1247 * @throws SQLException the SQL exception
1248 * @see java.sql.ResultSet#rowInserted()
1249 */
1250 public boolean rowInserted() throws SQLException {
1251 return this.resultSet.rowInserted();
1252 }
1253
1254 /**
1255 * Row updated.
1256 *
1257 * @return true, if successful
1258 * @throws SQLException the SQL exception
1259 * @see java.sql.ResultSet#rowUpdated()
1260 */
1261 public boolean rowUpdated() throws SQLException {
1262 return this.resultSet.rowUpdated();
1263 }
1264
1265 /**
1266 * Sets the fetch direction.
1267 *
1268 * @param arg0 the new fetch direction
1269 * @throws SQLException the SQL exception
1270 * @see java.sql.ResultSet#setFetchDirection(int)
1271 */
1272 public void setFetchDirection(final int arg0) throws SQLException {
1273 this.resultSet.setFetchDirection(arg0);
1274 }
1275
1276 /**
1277 * Sets the fetch size.
1278 *
1279 * @param arg0 the new fetch size
1280 * @throws SQLException the SQL exception
1281 * @see java.sql.ResultSet#setFetchSize(int)
1282 */
1283 public void setFetchSize(final int arg0) throws SQLException {
1284 this.resultSet.setFetchSize(arg0);
1285 }
1286
1287 /**
1288 * Unwrap.
1289 *
1290 * @param <T> the generic type
1291 * @param arg0 the arg0
1292 * @return the t
1293 * @throws SQLException the SQL exception
1294 * @see java.sql.Wrapper#unwrap(java.lang.Class)
1295 */
1296 public <T> T unwrap(final Class<T> arg0) throws SQLException {
1297 return this.resultSet.unwrap(arg0);
1298 }
1299
1300 /**
1301 * Update array.
1302 *
1303 * @param arg0 the arg0
1304 * @param arg1 the arg1
1305 * @throws SQLException the SQL exception
1306 * @see java.sql.ResultSet#updateArray(int, java.sql.Array)
1307 */
1308 public void updateArray(final int arg0, final Array arg1) throws SQLException {
1309 this.resultSet.updateArray(arg0, arg1);
1310 }
1311
1312 /**
1313 * Update array.
1314 *
1315 * @param arg0 the arg0
1316 * @param arg1 the arg1
1317 * @throws SQLException the SQL exception
1318 * @see java.sql.ResultSet#updateArray(java.lang.String, java.sql.Array)
1319 */
1320 public void updateArray(final String arg0, final Array arg1) throws SQLException {
1321 this.resultSet.updateArray(arg0, arg1);
1322 }
1323
1324 /**
1325 * Update ascii stream.
1326 *
1327 * @param arg0 the arg0
1328 * @param arg1 the arg1
1329 * @param arg2 the arg2
1330 * @throws SQLException the SQL exception
1331 * @see java.sql.ResultSet#updateAsciiStream(int, java.io.InputStream, int)
1332 */
1333 public void updateAsciiStream(final int arg0, final InputStream arg1, final int arg2) throws SQLException {
1334 this.resultSet.updateAsciiStream(arg0, arg1, arg2);
1335 }
1336
1337 /**
1338 * Update ascii stream.
1339 *
1340 * @param arg0 the arg0
1341 * @param arg1 the arg1
1342 * @param arg2 the arg2
1343 * @throws SQLException the SQL exception
1344 * @see java.sql.ResultSet#updateAsciiStream(int, java.io.InputStream, long)
1345 */
1346 public void updateAsciiStream(final int arg0, final InputStream arg1, final long arg2) throws SQLException {
1347 this.resultSet.updateAsciiStream(arg0, arg1, arg2);
1348 }
1349
1350 /**
1351 * Update ascii stream.
1352 *
1353 * @param arg0 the arg0
1354 * @param arg1 the arg1
1355 * @throws SQLException the SQL exception
1356 * @see java.sql.ResultSet#updateAsciiStream(int, java.io.InputStream)
1357 */
1358 public void updateAsciiStream(final int arg0, final InputStream arg1) throws SQLException {
1359 this.resultSet.updateAsciiStream(arg0, arg1);
1360 }
1361
1362 /**
1363 * Update ascii stream.
1364 *
1365 * @param arg0 the arg0
1366 * @param arg1 the arg1
1367 * @param arg2 the arg2
1368 * @throws SQLException the SQL exception
1369 * @see java.sql.ResultSet#updateAsciiStream(java.lang.String, java.io.InputStream, int)
1370 */
1371 public void updateAsciiStream(final String arg0, final InputStream arg1, final int arg2) throws SQLException {
1372 this.resultSet.updateAsciiStream(arg0, arg1, arg2);
1373 }
1374
1375 /**
1376 * Update ascii stream.
1377 *
1378 * @param arg0 the arg0
1379 * @param arg1 the arg1
1380 * @param arg2 the arg2
1381 * @throws SQLException the SQL exception
1382 * @see java.sql.ResultSet#updateAsciiStream(java.lang.String, java.io.InputStream, long)
1383 */
1384 public void updateAsciiStream(final String arg0, final InputStream arg1, final long arg2) throws SQLException {
1385 this.resultSet.updateAsciiStream(arg0, arg1, arg2);
1386 }
1387
1388 /**
1389 * Update ascii stream.
1390 *
1391 * @param arg0 the arg0
1392 * @param arg1 the arg1
1393 * @throws SQLException the SQL exception
1394 * @see java.sql.ResultSet#updateAsciiStream(java.lang.String, java.io.InputStream)
1395 */
1396 public void updateAsciiStream(final String arg0, final InputStream arg1) throws SQLException {
1397 this.resultSet.updateAsciiStream(arg0, arg1);
1398 }
1399
1400 /**
1401 * Update big decimal.
1402 *
1403 * @param arg0 the arg0
1404 * @param arg1 the arg1
1405 * @throws SQLException the SQL exception
1406 * @see java.sql.ResultSet#updateBigDecimal(int, java.math.BigDecimal)
1407 */
1408 public void updateBigDecimal(final int arg0, final BigDecimal arg1) throws SQLException {
1409 this.resultSet.updateBigDecimal(arg0, arg1);
1410 }
1411
1412 /**
1413 * Update big decimal.
1414 *
1415 * @param arg0 the arg0
1416 * @param arg1 the arg1
1417 * @throws SQLException the SQL exception
1418 * @see java.sql.ResultSet#updateBigDecimal(java.lang.String, java.math.BigDecimal)
1419 */
1420 public void updateBigDecimal(final String arg0, final BigDecimal arg1) throws SQLException {
1421 this.resultSet.updateBigDecimal(arg0, arg1);
1422 }
1423
1424 /**
1425 * Update binary stream.
1426 *
1427 * @param arg0 the arg0
1428 * @param arg1 the arg1
1429 * @param arg2 the arg2
1430 * @throws SQLException the SQL exception
1431 * @see java.sql.ResultSet#updateBinaryStream(int, java.io.InputStream, int)
1432 */
1433 public void updateBinaryStream(final int arg0, final InputStream arg1, final int arg2) throws SQLException {
1434 this.resultSet.updateBinaryStream(arg0, arg1, arg2);
1435 }
1436
1437 /**
1438 * Update binary stream.
1439 *
1440 * @param arg0 the arg0
1441 * @param arg1 the arg1
1442 * @param arg2 the arg2
1443 * @throws SQLException the SQL exception
1444 * @see java.sql.ResultSet#updateBinaryStream(int, java.io.InputStream, long)
1445 */
1446 public void updateBinaryStream(final int arg0, final InputStream arg1, final long arg2) throws SQLException {
1447 this.resultSet.updateBinaryStream(arg0, arg1, arg2);
1448 }
1449
1450 /**
1451 * Update binary stream.
1452 *
1453 * @param arg0 the arg0
1454 * @param arg1 the arg1
1455 * @throws SQLException the SQL exception
1456 * @see java.sql.ResultSet#updateBinaryStream(int, java.io.InputStream)
1457 */
1458 public void updateBinaryStream(final int arg0, final InputStream arg1) throws SQLException {
1459 this.resultSet.updateBinaryStream(arg0, arg1);
1460 }
1461
1462 /**
1463 * Update binary stream.
1464 *
1465 * @param arg0 the arg0
1466 * @param arg1 the arg1
1467 * @param arg2 the arg2
1468 * @throws SQLException the SQL exception
1469 * @see java.sql.ResultSet#updateBinaryStream(java.lang.String, java.io.InputStream, int)
1470 */
1471 public void updateBinaryStream(final String arg0, final InputStream arg1, final int arg2) throws SQLException {
1472 this.resultSet.updateBinaryStream(arg0, arg1, arg2);
1473 }
1474
1475 /**
1476 * Update binary stream.
1477 *
1478 * @param arg0 the arg0
1479 * @param arg1 the arg1
1480 * @param arg2 the arg2
1481 * @throws SQLException the SQL exception
1482 * @see java.sql.ResultSet#updateBinaryStream(java.lang.String, java.io.InputStream, long)
1483 */
1484 public void updateBinaryStream(final String arg0, final InputStream arg1, final long arg2) throws SQLException {
1485 this.resultSet.updateBinaryStream(arg0, arg1, arg2);
1486 }
1487
1488 /**
1489 * Update binary stream.
1490 *
1491 * @param arg0 the arg0
1492 * @param arg1 the arg1
1493 * @throws SQLException the SQL exception
1494 * @see java.sql.ResultSet#updateBinaryStream(java.lang.String, java.io.InputStream)
1495 */
1496 public void updateBinaryStream(final String arg0, final InputStream arg1) throws SQLException {
1497 this.resultSet.updateBinaryStream(arg0, arg1);
1498 }
1499
1500 /**
1501 * Update blob.
1502 *
1503 * @param arg0 the arg0
1504 * @param arg1 the arg1
1505 * @throws SQLException the SQL exception
1506 * @see java.sql.ResultSet#updateBlob(int, java.sql.Blob)
1507 */
1508 public void updateBlob(final int arg0, final Blob arg1) throws SQLException {
1509 this.resultSet.updateBlob(arg0, arg1);
1510 }
1511
1512 /**
1513 * Update blob.
1514 *
1515 * @param arg0 the arg0
1516 * @param arg1 the arg1
1517 * @param arg2 the arg2
1518 * @throws SQLException the SQL exception
1519 * @see java.sql.ResultSet#updateBlob(int, java.io.InputStream, long)
1520 */
1521 public void updateBlob(final int arg0, final InputStream arg1, final long arg2) throws SQLException {
1522 this.resultSet.updateBlob(arg0, arg1, arg2);
1523 }
1524
1525 /**
1526 * Update blob.
1527 *
1528 * @param arg0 the arg0
1529 * @param arg1 the arg1
1530 * @throws SQLException the SQL exception
1531 * @see java.sql.ResultSet#updateBlob(int, java.io.InputStream)
1532 */
1533 public void updateBlob(final int arg0, final InputStream arg1) throws SQLException {
1534 this.resultSet.updateBlob(arg0, arg1);
1535 }
1536
1537 /**
1538 * Update blob.
1539 *
1540 * @param arg0 the arg0
1541 * @param arg1 the arg1
1542 * @throws SQLException the SQL exception
1543 * @see java.sql.ResultSet#updateBlob(java.lang.String, java.sql.Blob)
1544 */
1545 public void updateBlob(final String arg0, final Blob arg1) throws SQLException {
1546 this.resultSet.updateBlob(arg0, arg1);
1547 }
1548
1549 /**
1550 * Update blob.
1551 *
1552 * @param arg0 the arg0
1553 * @param arg1 the arg1
1554 * @param arg2 the arg2
1555 * @throws SQLException the SQL exception
1556 * @see java.sql.ResultSet#updateBlob(java.lang.String, java.io.InputStream, long)
1557 */
1558 public void updateBlob(final String arg0, final InputStream arg1, final long arg2) throws SQLException {
1559 this.resultSet.updateBlob(arg0, arg1, arg2);
1560 }
1561
1562 /**
1563 * Update blob.
1564 *
1565 * @param arg0 the arg0
1566 * @param arg1 the arg1
1567 * @throws SQLException the SQL exception
1568 * @see java.sql.ResultSet#updateBlob(java.lang.String, java.io.InputStream)
1569 */
1570 public void updateBlob(final String arg0, final InputStream arg1) throws SQLException {
1571 this.resultSet.updateBlob(arg0, arg1);
1572 }
1573
1574 /**
1575 * Update boolean.
1576 *
1577 * @param arg0 the arg0
1578 * @param arg1 the arg1
1579 * @throws SQLException the SQL exception
1580 * @see java.sql.ResultSet#updateBoolean(int, boolean)
1581 */
1582 public void updateBoolean(final int arg0, final boolean arg1) throws SQLException {
1583 this.resultSet.updateBoolean(arg0, arg1);
1584 }
1585
1586 /**
1587 * Update boolean.
1588 *
1589 * @param arg0 the arg0
1590 * @param arg1 the arg1
1591 * @throws SQLException the SQL exception
1592 * @see java.sql.ResultSet#updateBoolean(java.lang.String, boolean)
1593 */
1594 public void updateBoolean(final String arg0, final boolean arg1) throws SQLException {
1595 this.resultSet.updateBoolean(arg0, arg1);
1596 }
1597
1598 /**
1599 * Update byte.
1600 *
1601 * @param arg0 the arg0
1602 * @param arg1 the arg1
1603 * @throws SQLException the SQL exception
1604 * @see java.sql.ResultSet#updateByte(int, byte)
1605 */
1606 public void updateByte(final int arg0, final byte arg1) throws SQLException {
1607 this.resultSet.updateByte(arg0, arg1);
1608 }
1609
1610 /**
1611 * Update byte.
1612 *
1613 * @param arg0 the arg0
1614 * @param arg1 the arg1
1615 * @throws SQLException the SQL exception
1616 * @see java.sql.ResultSet#updateByte(java.lang.String, byte)
1617 */
1618 public void updateByte(final String arg0, final byte arg1) throws SQLException {
1619 this.resultSet.updateByte(arg0, arg1);
1620 }
1621
1622 /**
1623 * Update bytes.
1624 *
1625 * @param arg0 the arg0
1626 * @param arg1 the arg1
1627 * @throws SQLException the SQL exception
1628 * @see java.sql.ResultSet#updateBytes(int, byte[])
1629 */
1630 public void updateBytes(final int arg0, final byte[] arg1) throws SQLException {
1631 this.resultSet.updateBytes(arg0, arg1);
1632 }
1633
1634 /**
1635 * Update bytes.
1636 *
1637 * @param arg0 the arg0
1638 * @param arg1 the arg1
1639 * @throws SQLException the SQL exception
1640 * @see java.sql.ResultSet#updateBytes(java.lang.String, byte[])
1641 */
1642 public void updateBytes(final String arg0, final byte[] arg1) throws SQLException {
1643 this.resultSet.updateBytes(arg0, arg1);
1644 }
1645
1646 /**
1647 * Update character stream.
1648 *
1649 * @param arg0 the arg0
1650 * @param arg1 the arg1
1651 * @param arg2 the arg2
1652 * @throws SQLException the SQL exception
1653 * @see java.sql.ResultSet#updateCharacterStream(int, java.io.Reader, int)
1654 */
1655 public void updateCharacterStream(final int arg0, final Reader arg1, final int arg2) throws SQLException {
1656 this.resultSet.updateCharacterStream(arg0, arg1, arg2);
1657 }
1658
1659 /**
1660 * Update character stream.
1661 *
1662 * @param arg0 the arg0
1663 * @param arg1 the arg1
1664 * @param arg2 the arg2
1665 * @throws SQLException the SQL exception
1666 * @see java.sql.ResultSet#updateCharacterStream(int, java.io.Reader, long)
1667 */
1668 public void updateCharacterStream(final int arg0, final Reader arg1, final long arg2) throws SQLException {
1669 this.resultSet.updateCharacterStream(arg0, arg1, arg2);
1670 }
1671
1672 /**
1673 * Update character stream.
1674 *
1675 * @param arg0 the arg0
1676 * @param arg1 the arg1
1677 * @throws SQLException the SQL exception
1678 * @see java.sql.ResultSet#updateCharacterStream(int, java.io.Reader)
1679 */
1680 public void updateCharacterStream(final int arg0, final Reader arg1) throws SQLException {
1681 this.resultSet.updateCharacterStream(arg0, arg1);
1682 }
1683
1684 /**
1685 * Update character stream.
1686 *
1687 * @param arg0 the arg0
1688 * @param arg1 the arg1
1689 * @param arg2 the arg2
1690 * @throws SQLException the SQL exception
1691 * @see java.sql.ResultSet#updateCharacterStream(java.lang.String, java.io.Reader, int)
1692 */
1693 public void updateCharacterStream(final String arg0, final Reader arg1, final int arg2) throws SQLException {
1694 this.resultSet.updateCharacterStream(arg0, arg1, arg2);
1695 }
1696
1697 /**
1698 * Update character stream.
1699 *
1700 * @param arg0 the arg0
1701 * @param arg1 the arg1
1702 * @param arg2 the arg2
1703 * @throws SQLException the SQL exception
1704 * @see java.sql.ResultSet#updateCharacterStream(java.lang.String, java.io.Reader, long)
1705 */
1706 public void updateCharacterStream(final String arg0, final Reader arg1, final long arg2) throws SQLException {
1707 this.resultSet.updateCharacterStream(arg0, arg1, arg2);
1708 }
1709
1710 /**
1711 * Update character stream.
1712 *
1713 * @param arg0 the arg0
1714 * @param arg1 the arg1
1715 * @throws SQLException the SQL exception
1716 * @see java.sql.ResultSet#updateCharacterStream(java.lang.String, java.io.Reader)
1717 */
1718 public void updateCharacterStream(final String arg0, final Reader arg1) throws SQLException {
1719 this.resultSet.updateCharacterStream(arg0, arg1);
1720 }
1721
1722 /**
1723 * Update clob.
1724 *
1725 * @param arg0 the arg0
1726 * @param arg1 the arg1
1727 * @throws SQLException the SQL exception
1728 * @see java.sql.ResultSet#updateClob(int, java.sql.Clob)
1729 */
1730 public void updateClob(final int arg0, final Clob arg1) throws SQLException {
1731 this.resultSet.updateClob(arg0, arg1);
1732 }
1733
1734 /**
1735 * Update clob.
1736 *
1737 * @param arg0 the arg0
1738 * @param arg1 the arg1
1739 * @param arg2 the arg2
1740 * @throws SQLException the SQL exception
1741 * @see java.sql.ResultSet#updateClob(int, java.io.Reader, long)
1742 */
1743 public void updateClob(final int arg0, final Reader arg1, final long arg2) throws SQLException {
1744 this.resultSet.updateClob(arg0, arg1, arg2);
1745 }
1746
1747 /**
1748 * Update clob.
1749 *
1750 * @param arg0 the arg0
1751 * @param arg1 the arg1
1752 * @throws SQLException the SQL exception
1753 * @see java.sql.ResultSet#updateClob(int, java.io.Reader)
1754 */
1755 public void updateClob(final int arg0, final Reader arg1) throws SQLException {
1756 this.resultSet.updateClob(arg0, arg1);
1757 }
1758
1759 /**
1760 * Update clob.
1761 *
1762 * @param arg0 the arg0
1763 * @param arg1 the arg1
1764 * @throws SQLException the SQL exception
1765 * @see java.sql.ResultSet#updateClob(java.lang.String, java.sql.Clob)
1766 */
1767 public void updateClob(final String arg0, final Clob arg1) throws SQLException {
1768 this.resultSet.updateClob(arg0, arg1);
1769 }
1770
1771 /**
1772 * Update clob.
1773 *
1774 * @param arg0 the arg0
1775 * @param arg1 the arg1
1776 * @param arg2 the arg2
1777 * @throws SQLException the SQL exception
1778 * @see java.sql.ResultSet#updateClob(java.lang.String, java.io.Reader, long)
1779 */
1780 public void updateClob(final String arg0, final Reader arg1, final long arg2) throws SQLException {
1781 this.resultSet.updateClob(arg0, arg1, arg2);
1782 }
1783
1784 /**
1785 * Update clob.
1786 *
1787 * @param arg0 the arg0
1788 * @param arg1 the arg1
1789 * @throws SQLException the SQL exception
1790 * @see java.sql.ResultSet#updateClob(java.lang.String, java.io.Reader)
1791 */
1792 public void updateClob(final String arg0, final Reader arg1) throws SQLException {
1793 this.resultSet.updateClob(arg0, arg1);
1794 }
1795
1796 /**
1797 * Update date.
1798 *
1799 * @param arg0 the arg0
1800 * @param arg1 the arg1
1801 * @throws SQLException the SQL exception
1802 * @see java.sql.ResultSet#updateDate(int, java.sql.Date)
1803 */
1804 public void updateDate(final int arg0, final Date arg1) throws SQLException {
1805 this.resultSet.updateDate(arg0, arg1);
1806 }
1807
1808 /**
1809 * Update date.
1810 *
1811 * @param arg0 the arg0
1812 * @param arg1 the arg1
1813 * @throws SQLException the SQL exception
1814 * @see java.sql.ResultSet#updateDate(java.lang.String, java.sql.Date)
1815 */
1816 public void updateDate(final String arg0, final Date arg1) throws SQLException {
1817 this.resultSet.updateDate(arg0, arg1);
1818 }
1819
1820 /**
1821 * Update double.
1822 *
1823 * @param arg0 the arg0
1824 * @param arg1 the arg1
1825 * @throws SQLException the SQL exception
1826 * @see java.sql.ResultSet#updateDouble(int, double)
1827 */
1828 public void updateDouble(final int arg0, final double arg1) throws SQLException {
1829 this.resultSet.updateDouble(arg0, arg1);
1830 }
1831
1832 /**
1833 * Update double.
1834 *
1835 * @param arg0 the arg0
1836 * @param arg1 the arg1
1837 * @throws SQLException the SQL exception
1838 * @see java.sql.ResultSet#updateDouble(java.lang.String, double)
1839 */
1840 public void updateDouble(final String arg0, final double arg1) throws SQLException {
1841 this.resultSet.updateDouble(arg0, arg1);
1842 }
1843
1844 /**
1845 * Update float.
1846 *
1847 * @param arg0 the arg0
1848 * @param arg1 the arg1
1849 * @throws SQLException the SQL exception
1850 * @see java.sql.ResultSet#updateFloat(int, float)
1851 */
1852 public void updateFloat(final int arg0, final float arg1) throws SQLException {
1853 this.resultSet.updateFloat(arg0, arg1);
1854 }
1855
1856 /**
1857 * Update float.
1858 *
1859 * @param arg0 the arg0
1860 * @param arg1 the arg1
1861 * @throws SQLException the SQL exception
1862 * @see java.sql.ResultSet#updateFloat(java.lang.String, float)
1863 */
1864 public void updateFloat(final String arg0, final float arg1) throws SQLException {
1865 this.resultSet.updateFloat(arg0, arg1);
1866 }
1867
1868 /**
1869 * Update int.
1870 *
1871 * @param arg0 the arg0
1872 * @param arg1 the arg1
1873 * @throws SQLException the SQL exception
1874 * @see java.sql.ResultSet#updateInt(int, int)
1875 */
1876 public void updateInt(final int arg0, final int arg1) throws SQLException {
1877 this.resultSet.updateInt(arg0, arg1);
1878 }
1879
1880 /**
1881 * Update int.
1882 *
1883 * @param arg0 the arg0
1884 * @param arg1 the arg1
1885 * @throws SQLException the SQL exception
1886 * @see java.sql.ResultSet#updateInt(java.lang.String, int)
1887 */
1888 public void updateInt(final String arg0, final int arg1) throws SQLException {
1889 this.resultSet.updateInt(arg0, arg1);
1890 }
1891
1892 /**
1893 * Update long.
1894 *
1895 * @param arg0 the arg0
1896 * @param arg1 the arg1
1897 * @throws SQLException the SQL exception
1898 * @see java.sql.ResultSet#updateLong(int, long)
1899 */
1900 public void updateLong(final int arg0, final long arg1) throws SQLException {
1901 this.resultSet.updateLong(arg0, arg1);
1902 }
1903
1904 /**
1905 * Update long.
1906 *
1907 * @param arg0 the arg0
1908 * @param arg1 the arg1
1909 * @throws SQLException the SQL exception
1910 * @see java.sql.ResultSet#updateLong(java.lang.String, long)
1911 */
1912 public void updateLong(final String arg0, final long arg1) throws SQLException {
1913 this.resultSet.updateLong(arg0, arg1);
1914 }
1915
1916 /**
1917 * Update n character stream.
1918 *
1919 * @param arg0 the arg0
1920 * @param arg1 the arg1
1921 * @param arg2 the arg2
1922 * @throws SQLException the SQL exception
1923 * @see java.sql.ResultSet#updateNCharacterStream(int, java.io.Reader, long)
1924 */
1925 public void updateNCharacterStream(final int arg0, final Reader arg1, final long arg2) throws SQLException {
1926 this.resultSet.updateNCharacterStream(arg0, arg1, arg2);
1927 }
1928
1929 /**
1930 * Update n character stream.
1931 *
1932 * @param arg0 the arg0
1933 * @param arg1 the arg1
1934 * @throws SQLException the SQL exception
1935 * @see java.sql.ResultSet#updateNCharacterStream(int, java.io.Reader)
1936 */
1937 public void updateNCharacterStream(final int arg0, final Reader arg1) throws SQLException {
1938 this.resultSet.updateNCharacterStream(arg0, arg1);
1939 }
1940
1941 /**
1942 * Update n character stream.
1943 *
1944 * @param arg0 the arg0
1945 * @param arg1 the arg1
1946 * @param arg2 the arg2
1947 * @throws SQLException the SQL exception
1948 * @see java.sql.ResultSet#updateNCharacterStream(java.lang.String, java.io.Reader, long)
1949 */
1950 public void updateNCharacterStream(final String arg0, final Reader arg1, final long arg2) throws SQLException {
1951 this.resultSet.updateNCharacterStream(arg0, arg1, arg2);
1952 }
1953
1954 /**
1955 * Update n character stream.
1956 *
1957 * @param arg0 the arg0
1958 * @param arg1 the arg1
1959 * @throws SQLException the SQL exception
1960 * @see java.sql.ResultSet#updateNCharacterStream(java.lang.String, java.io.Reader)
1961 */
1962 public void updateNCharacterStream(final String arg0, final Reader arg1) throws SQLException {
1963 this.resultSet.updateNCharacterStream(arg0, arg1);
1964 }
1965
1966 /**
1967 * Update n clob.
1968 *
1969 * @param arg0 the arg0
1970 * @param arg1 the arg1
1971 * @throws SQLException the SQL exception
1972 * @see java.sql.ResultSet#updateNClob(int, java.sql.NClob)
1973 */
1974 public void updateNClob(final int arg0, final NClob arg1) throws SQLException {
1975 this.resultSet.updateNClob(arg0, arg1);
1976 }
1977
1978 /**
1979 * Update n clob.
1980 *
1981 * @param arg0 the arg0
1982 * @param arg1 the arg1
1983 * @param arg2 the arg2
1984 * @throws SQLException the SQL exception
1985 * @see java.sql.ResultSet#updateNClob(int, java.io.Reader, long)
1986 */
1987 public void updateNClob(final int arg0, final Reader arg1, final long arg2) throws SQLException {
1988 this.resultSet.updateNClob(arg0, arg1, arg2);
1989 }
1990
1991 /**
1992 * Update n clob.
1993 *
1994 * @param arg0 the arg0
1995 * @param arg1 the arg1
1996 * @throws SQLException the SQL exception
1997 * @see java.sql.ResultSet#updateNClob(int, java.io.Reader)
1998 */
1999 public void updateNClob(final int arg0, final Reader arg1) throws SQLException {
2000 this.resultSet.updateNClob(arg0, arg1);
2001 }
2002
2003 /**
2004 * Update n clob.
2005 *
2006 * @param arg0 the arg0
2007 * @param arg1 the arg1
2008 * @throws SQLException the SQL exception
2009 * @see java.sql.ResultSet#updateNClob(java.lang.String, java.sql.NClob)
2010 */
2011 public void updateNClob(final String arg0, final NClob arg1) throws SQLException {
2012 this.resultSet.updateNClob(arg0, arg1);
2013 }
2014
2015 /**
2016 * Update n clob.
2017 *
2018 * @param arg0 the arg0
2019 * @param arg1 the arg1
2020 * @param arg2 the arg2
2021 * @throws SQLException the SQL exception
2022 * @see java.sql.ResultSet#updateNClob(java.lang.String, java.io.Reader, long)
2023 */
2024 public void updateNClob(final String arg0, final Reader arg1, final long arg2) throws SQLException {
2025 this.resultSet.updateNClob(arg0, arg1, arg2);
2026 }
2027
2028 /**
2029 * Update n clob.
2030 *
2031 * @param arg0 the arg0
2032 * @param arg1 the arg1
2033 * @throws SQLException the SQL exception
2034 * @see java.sql.ResultSet#updateNClob(java.lang.String, java.io.Reader)
2035 */
2036 public void updateNClob(final String arg0, final Reader arg1) throws SQLException {
2037 this.resultSet.updateNClob(arg0, arg1);
2038 }
2039
2040 /**
2041 * Update n string.
2042 *
2043 * @param arg0 the arg0
2044 * @param arg1 the arg1
2045 * @throws SQLException the SQL exception
2046 * @see java.sql.ResultSet#updateNString(int, java.lang.String)
2047 */
2048 public void updateNString(final int arg0, final String arg1) throws SQLException {
2049 this.resultSet.updateNString(arg0, arg1);
2050 }
2051
2052 /**
2053 * Update n string.
2054 *
2055 * @param arg0 the arg0
2056 * @param arg1 the arg1
2057 * @throws SQLException the SQL exception
2058 * @see java.sql.ResultSet#updateNString(java.lang.String, java.lang.String)
2059 */
2060 public void updateNString(final String arg0, final String arg1) throws SQLException {
2061 this.resultSet.updateNString(arg0, arg1);
2062 }
2063
2064 /**
2065 * Update null.
2066 *
2067 * @param arg0 the arg0
2068 * @throws SQLException the SQL exception
2069 * @see java.sql.ResultSet#updateNull(int)
2070 */
2071 public void updateNull(final int arg0) throws SQLException {
2072 this.resultSet.updateNull(arg0);
2073 }
2074
2075 /**
2076 * Update null.
2077 *
2078 * @param arg0 the arg0
2079 * @throws SQLException the SQL exception
2080 * @see java.sql.ResultSet#updateNull(java.lang.String)
2081 */
2082 public void updateNull(final String arg0) throws SQLException {
2083 this.resultSet.updateNull(arg0);
2084 }
2085
2086 /**
2087 * Update object.
2088 *
2089 * @param arg0 the arg0
2090 * @param arg1 the arg1
2091 * @param arg2 the arg2
2092 * @throws SQLException the SQL exception
2093 * @see java.sql.ResultSet#updateObject(int, java.lang.Object, int)
2094 */
2095 public void updateObject(final int arg0, final Object arg1, final int arg2) throws SQLException {
2096 this.resultSet.updateObject(arg0, arg1, arg2);
2097 }
2098
2099 /**
2100 * Update object.
2101 *
2102 * @param arg0 the arg0
2103 * @param arg1 the arg1
2104 * @throws SQLException the SQL exception
2105 * @see java.sql.ResultSet#updateObject(int, java.lang.Object)
2106 */
2107 public void updateObject(final int arg0, final Object arg1) throws SQLException {
2108 this.resultSet.updateObject(arg0, arg1);
2109 }
2110
2111 /**
2112 * Update object.
2113 *
2114 * @param arg0 the arg0
2115 * @param arg1 the arg1
2116 * @param arg2 the arg2
2117 * @throws SQLException the SQL exception
2118 * @see java.sql.ResultSet#updateObject(java.lang.String, java.lang.Object, int)
2119 */
2120 public void updateObject(final String arg0, final Object arg1, final int arg2) throws SQLException {
2121 this.resultSet.updateObject(arg0, arg1, arg2);
2122 }
2123
2124 /**
2125 * Update object.
2126 *
2127 * @param arg0 the arg0
2128 * @param arg1 the arg1
2129 * @throws SQLException the SQL exception
2130 * @see java.sql.ResultSet#updateObject(java.lang.String, java.lang.Object)
2131 */
2132 public void updateObject(final String arg0, final Object arg1) throws SQLException {
2133 this.resultSet.updateObject(arg0, arg1);
2134 }
2135
2136 /**
2137 * Update ref.
2138 *
2139 * @param arg0 the arg0
2140 * @param arg1 the arg1
2141 * @throws SQLException the SQL exception
2142 * @see java.sql.ResultSet#updateRef(int, java.sql.Ref)
2143 */
2144 public void updateRef(final int arg0, final Ref arg1) throws SQLException {
2145 this.resultSet.updateRef(arg0, arg1);
2146 }
2147
2148 /**
2149 * Update ref.
2150 *
2151 * @param arg0 the arg0
2152 * @param arg1 the arg1
2153 * @throws SQLException the SQL exception
2154 * @see java.sql.ResultSet#updateRef(java.lang.String, java.sql.Ref)
2155 */
2156 public void updateRef(final String arg0, final Ref arg1) throws SQLException {
2157 this.resultSet.updateRef(arg0, arg1);
2158 }
2159
2160 /**
2161 * Update row.
2162 *
2163 * @throws SQLException the SQL exception
2164 * @see java.sql.ResultSet#updateRow()
2165 */
2166 public void updateRow() throws SQLException {
2167 this.resultSet.updateRow();
2168 }
2169
2170 /**
2171 * Update row id.
2172 *
2173 * @param arg0 the arg0
2174 * @param arg1 the arg1
2175 * @throws SQLException the SQL exception
2176 * @see java.sql.ResultSet#updateRowId(int, java.sql.RowId)
2177 */
2178 public void updateRowId(final int arg0, final RowId arg1) throws SQLException {
2179 this.resultSet.updateRowId(arg0, arg1);
2180 }
2181
2182 /**
2183 * Update row id.
2184 *
2185 * @param arg0 the arg0
2186 * @param arg1 the arg1
2187 * @throws SQLException the SQL exception
2188 * @see java.sql.ResultSet#updateRowId(java.lang.String, java.sql.RowId)
2189 */
2190 public void updateRowId(final String arg0, final RowId arg1) throws SQLException {
2191 this.resultSet.updateRowId(arg0, arg1);
2192 }
2193
2194 /**
2195 * Update sqlxml.
2196 *
2197 * @param arg0 the arg0
2198 * @param arg1 the arg1
2199 * @throws SQLException the SQL exception
2200 * @see java.sql.ResultSet#updateSQLXML(int, java.sql.SQLXML)
2201 */
2202 public void updateSQLXML(final int arg0, final SQLXML arg1) throws SQLException {
2203 this.resultSet.updateSQLXML(arg0, arg1);
2204 }
2205
2206 /**
2207 * Update sqlxml.
2208 *
2209 * @param arg0 the arg0
2210 * @param arg1 the arg1
2211 * @throws SQLException the SQL exception
2212 * @see java.sql.ResultSet#updateSQLXML(java.lang.String, java.sql.SQLXML)
2213 */
2214 public void updateSQLXML(final String arg0, final SQLXML arg1) throws SQLException {
2215 this.resultSet.updateSQLXML(arg0, arg1);
2216 }
2217
2218 /**
2219 * Update short.
2220 *
2221 * @param arg0 the arg0
2222 * @param arg1 the arg1
2223 * @throws SQLException the SQL exception
2224 * @see java.sql.ResultSet#updateShort(int, short)
2225 */
2226 public void updateShort(final int arg0, final short arg1) throws SQLException {
2227 this.resultSet.updateShort(arg0, arg1);
2228 }
2229
2230 /**
2231 * Update short.
2232 *
2233 * @param arg0 the arg0
2234 * @param arg1 the arg1
2235 * @throws SQLException the SQL exception
2236 * @see java.sql.ResultSet#updateShort(java.lang.String, short)
2237 */
2238 public void updateShort(final String arg0, final short arg1) throws SQLException {
2239 this.resultSet.updateShort(arg0, arg1);
2240 }
2241
2242 /**
2243 * Update string.
2244 *
2245 * @param arg0 the arg0
2246 * @param arg1 the arg1
2247 * @throws SQLException the SQL exception
2248 * @see java.sql.ResultSet#updateString(int, java.lang.String)
2249 */
2250 public void updateString(final int arg0, final String arg1) throws SQLException {
2251 this.resultSet.updateString(arg0, arg1);
2252 }
2253
2254 /**
2255 * Update string.
2256 *
2257 * @param arg0 the arg0
2258 * @param arg1 the arg1
2259 * @throws SQLException the SQL exception
2260 * @see java.sql.ResultSet#updateString(java.lang.String, java.lang.String)
2261 */
2262 public void updateString(final String arg0, final String arg1) throws SQLException {
2263 this.resultSet.updateString(arg0, arg1);
2264 }
2265
2266 /**
2267 * Update time.
2268 *
2269 * @param arg0 the arg0
2270 * @param arg1 the arg1
2271 * @throws SQLException the SQL exception
2272 * @see java.sql.ResultSet#updateTime(int, java.sql.Time)
2273 */
2274 public void updateTime(final int arg0, final Time arg1) throws SQLException {
2275 this.resultSet.updateTime(arg0, arg1);
2276 }
2277
2278 /**
2279 * Update time.
2280 *
2281 * @param arg0 the arg0
2282 * @param arg1 the arg1
2283 * @throws SQLException the SQL exception
2284 * @see java.sql.ResultSet#updateTime(java.lang.String, java.sql.Time)
2285 */
2286 public void updateTime(final String arg0, final Time arg1) throws SQLException {
2287 this.resultSet.updateTime(arg0, arg1);
2288 }
2289
2290 /**
2291 * Update timestamp.
2292 *
2293 * @param arg0 the arg0
2294 * @param arg1 the arg1
2295 * @throws SQLException the SQL exception
2296 * @see java.sql.ResultSet#updateTimestamp(int, java.sql.Timestamp)
2297 */
2298 public void updateTimestamp(final int arg0, final Timestamp arg1) throws SQLException {
2299 this.resultSet.updateTimestamp(arg0, arg1);
2300 }
2301
2302 /**
2303 * Update timestamp.
2304 *
2305 * @param arg0 the arg0
2306 * @param arg1 the arg1
2307 * @throws SQLException the SQL exception
2308 * @see java.sql.ResultSet#updateTimestamp(java.lang.String, java.sql.Timestamp)
2309 */
2310 public void updateTimestamp(final String arg0, final Timestamp arg1) throws SQLException {
2311 this.resultSet.updateTimestamp(arg0, arg1);
2312 }
2313
2314 /**
2315 * Was null.
2316 *
2317 * @return true, if successful
2318 * @throws SQLException the SQL exception
2319 * @see java.sql.ResultSet#wasNull()
2320 */
2321 public boolean wasNull() throws SQLException {
2322 return this.resultSet.wasNull();
2323 }
2324
2325 /**
2326 * A toString implementation which supports and logging.
2327 *
2328 * @return the string
2329 * @see java.lang.Object#toString()
2330 */
2331 @Override
2332 public String toString() {
2333 try {
2334 if (!ObjectTester.hasToStringDefaultImpl(this.resultSet)) {
2335 return this.resultSet.toString();
2336 }
2337 StringBuffer buf = new StringBuffer(this.resultSet.isClosed() ? "" : "open ");
2338 buf.append(this.resultSet.getClass().getSimpleName());
2339 return buf.toString();
2340 } catch (SQLException ex) {
2341 log.trace("Cannot get SQL state.", ex);
2342 return this.resultSet.toString();
2343 } catch (Throwable t) {
2344 log.debug(this.resultSet.getClass().getName() + ".toString() failed.", t);
2345 return "strange ResultSet (" + t + ")";
2346 }
2347 }
2348
2349 }
2350