View Javadoc

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