KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > nilostep > xlsql > jdbc > xlResultSet


1 /*
2  * x l S Q L
3  * (c) Jim Caprioli, NiLOSTEP.com
4  * See xlSQL-license.txt for license details
5  *
6  */

7 package com.nilostep.xlsql.jdbc;
8
9 import java.io.*;
10
11 import java.math.BigDecimal JavaDoc;
12
13 import java.net.URL JavaDoc;
14
15 import java.sql.*;
16
17 import java.util.*;
18
19 public class xlResultSet implements java.sql.ResultSet JavaDoc {
20
21     xlStatement xlStm;
22     ResultSet dbRs;
23     
24     //~ Constructors ···························································
25
/**
26     * Constructs a new ResultSetImpl object.
27     *
28     */

29     protected xlResultSet(xlStatement stm, ResultSet rs) {
30         xlStm = stm;
31         dbRs = rs;
32     }
33
34     //~ Methods ································································
35

36                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         /**
37     * Implements method in interface java.sql.ResultSet
38     * @see java.sql.ResultSet#absolute
39     */

40     public boolean absolute(int row) throws SQLException {
41         return dbRs.absolute(row);
42     }
43
44     /**
45     * Implements method in interface java.sql.ResultSet
46     * @see java.sql.ResultSet#afterLast
47     */

48     public void afterLast() throws SQLException {
49         dbRs.afterLast();
50     }
51
52     /**
53     * Implements method in interface java.sql.ResultSet
54     * @see java.sql.ResultSet#beforeFirst
55     */

56     public void beforeFirst() throws SQLException {
57         dbRs.beforeFirst();
58     }
59
60     /**
61     * Implements method in interface java.sql.ResultSet
62     * @see java.sql.ResultSet#cancelRowUpdates
63     */

64     public void cancelRowUpdates() throws SQLException {
65         dbRs.cancelRowUpdates();
66     }
67
68     /**
69     * Implements method in interface java.sql.ResultSet
70     * @see java.sql.ResultSet#clearWarnings
71     */

72     public void clearWarnings() throws SQLException {
73         dbRs.clearWarnings();
74     }
75
76     /**
77     * Implements method in interface java.sql.ResultSet
78     * @see java.sql.ResultSet#close
79     */

80     public void close() throws SQLException {
81         dbRs.close();
82     }
83
84     /**
85     * Implements method in interface java.sql.ResultSet
86     * @see java.sql.ResultSet#deleteRow
87     */

88     public void deleteRow() throws SQLException {
89         dbRs.deleteRow();
90     }
91
92     /**
93     * Implements method in interface java.sql.ResultSet
94     * @see java.sql.ResultSet#findColumn
95     */

96     public int findColumn(String JavaDoc columnName) throws SQLException {
97         return dbRs.findColumn(columnName);
98     }
99
100     /**
101     * Implements method in interface java.sql.ResultSet
102     * @see java.sql.ResultSet#first
103     */

104     public boolean first() throws SQLException {
105         return dbRs.first();
106     }
107
108     /**
109     * Implements method in interface java.sql.ResultSet
110     * @see java.sql.ResultSet#getArray
111     */

112     public Array getArray(int i) throws SQLException {
113         return dbRs.getArray(i);
114     }
115
116     /**
117     * Implements method in interface java.sql.ResultSet
118     * @see java.sql.ResultSet#getArray
119     */

120     public Array getArray(String JavaDoc colName) throws SQLException {
121         return dbRs.getArray(colName);
122     }
123
124     /**
125     * Implements method in interface java.sql.ResultSet
126     * @see java.sql.ResultSet#getAsciiStream
127     */

128     public java.io.InputStream JavaDoc getAsciiStream(int columnIndex)
129                                        throws SQLException {
130         return dbRs.getAsciiStream(columnIndex);
131     }
132
133     /**
134     * Implements method in interface java.sql.ResultSet
135     * @see java.sql.ResultSet#getAsciiStream
136     */

137     public java.io.InputStream JavaDoc getAsciiStream(String JavaDoc columnName)
138                                        throws SQLException {
139         return dbRs.getAsciiStream(columnName);
140     }
141
142     /**
143     * Implements method in interface java.sql.ResultSet
144     * @see java.sql.ResultSet#getBigDecimal
145     */

146     public BigDecimal JavaDoc getBigDecimal(int columnIndex) throws SQLException {
147         return dbRs.getBigDecimal(columnIndex);
148     }
149
150     /**
151     * Implements method in interface java.sql.ResultSet
152     * @see java.sql.ResultSet#getBigDecimal
153     */

154     public BigDecimal JavaDoc getBigDecimal(int columnIndex, int scale)
155                            throws SQLException {
156         return dbRs.getBigDecimal(columnIndex, scale);
157     }
158     
159     /**
160     * Implements method in interface java.sql.ResultSet
161     * @see java.sql.ResultSet#getBigDecimal
162     */

163     public BigDecimal JavaDoc getBigDecimal(String JavaDoc columnName)
164                              throws SQLException {
165         return dbRs.getBigDecimal(columnName);
166     }
167
168     /**
169     * Implements method in interface java.sql.ResultSet
170     * @see java.sql.ResultSet#getBigDecimal
171     */

172     public BigDecimal JavaDoc getBigDecimal(String JavaDoc columnName, int scale)
173                              throws SQLException {
174         return dbRs.getBigDecimal(columnName, scale);
175     }
176
177     /**
178     * Implements method in interface java.sql.ResultSet
179     * @see java.sql.ResultSet#getBinaryStream
180     */

181     public InputStream getBinaryStream(int columnIndex)
182                                         throws SQLException {
183         return dbRs.getBinaryStream(columnIndex);
184     }
185
186     /**
187     * Implements method in interface java.sql.ResultSet
188     * @see java.sql.ResultSet#getBinaryStream
189     */

190     public InputStream getBinaryStream(String JavaDoc columnName)
191                                         throws SQLException {
192         return dbRs.getBinaryStream(columnName);
193     }
194
195     /**
196     * Implements method in interface java.sql.ResultSet
197     * @see java.sql.ResultSet#getBlob
198     */

199     public Blob getBlob(int i) throws SQLException {
200         return dbRs.getBlob(i);
201     }
202
203     /**
204     * Implements method in interface java.sql.ResultSet
205     * @see java.sql.ResultSet#getBlob
206     */

207     public Blob getBlob(String JavaDoc colName) throws SQLException {
208         return dbRs.getBlob(colName);
209     }
210
211     /**
212     * Implements method in interface java.sql.ResultSet
213     * @see java.sql.ResultSet#getBoolean
214     */

215     public boolean getBoolean(int columnIndex) throws SQLException {
216         return dbRs.getBoolean(columnIndex);
217     }
218
219     /**
220     * Implements method in interface java.sql.ResultSet
221     * @see java.sql.ResultSet#getBoolean
222     */

223     public boolean getBoolean(String JavaDoc columnName) throws SQLException {
224         return dbRs.getBoolean(columnName);
225     }
226
227     /**
228     * Implements method in interface java.sql.ResultSet
229     * @see java.sql.ResultSet#getByte
230     */

231     public byte getByte(int columnIndex) throws SQLException {
232         return dbRs.getByte(columnIndex);
233     }
234
235     /**
236     * Implements method in interface java.sql.ResultSet
237     * @see java.sql.ResultSet#getByte
238     */

239     public byte getByte(String JavaDoc columnName) throws SQLException {
240         return dbRs.getByte(columnName);
241     }
242
243     /**
244     * Implements method in interface java.sql.ResultSet
245     * @see java.sql.ResultSet#getBytes
246     */

247     public byte[] getBytes(int columnIndex) throws SQLException {
248         return dbRs.getBytes(columnIndex);
249     }
250
251     /**
252     * Implements method in interface java.sql.ResultSet
253     * @see java.sql.ResultSet#getBytes
254     */

255     public byte[] getBytes(String JavaDoc columnName) throws SQLException {
256         return dbRs.getBytes(columnName);
257     }
258
259     /**
260     * Implements method in interface java.sql.ResultSet
261     * @see java.sql.ResultSet#getCharacterStream
262     */

263     public Reader getCharacterStream(int columnIndex)
264                                       throws SQLException {
265         return dbRs.getCharacterStream(columnIndex);
266     }
267
268     /**
269     * Implements method in interface java.sql.ResultSet
270     * @see java.sql.ResultSet#getCharacterStream
271     */

272     public Reader getCharacterStream(String JavaDoc columnName)
273                                       throws SQLException {
274         return dbRs.getCharacterStream(columnName);
275     }
276
277     /**
278     * Implements method in interface java.sql.ResultSet
279     * @see java.sql.ResultSet#getClob
280     */

281     public Clob getClob(int i) throws SQLException {
282         return dbRs.getClob(i);
283     }
284
285     /**
286     * Implements method in interface java.sql.ResultSet
287     * @see java.sql.ResultSet#getClob
288     */

289     public Clob getClob(String JavaDoc colName) throws SQLException {
290         return dbRs.getClob(colName);
291     }
292
293     /**
294     * Implements method in interface java.sql.ResultSet
295     * @see java.sql.ResultSet#getConcurrency
296     */

297     public int getConcurrency() throws SQLException {
298         return dbRs.getConcurrency();
299     }
300
301     /**
302     * Implements method in interface java.sql.ResultSet
303     * @see java.sql.ResultSet#getCursorName
304     */

305     public String JavaDoc getCursorName() throws SQLException {
306         return dbRs.getCursorName();
307     }
308     
309     /**
310     * Implements method in interface java.sql.ResultSet
311     * @see java.sql.ResultSet#getDate
312     */

313     public java.sql.Date JavaDoc getDate(int columnIndex) throws SQLException {
314         return dbRs.getDate(columnIndex);
315     }
316
317     /**
318     * Implements method in interface java.sql.ResultSet
319     * @see java.sql.ResultSet#getDate
320     */

321     public java.sql.Date JavaDoc getDate(int columnIndex, java.util.Calendar JavaDoc cal)
322                           throws SQLException {
323         return dbRs.getDate(columnIndex, cal);
324     }
325
326     /**
327     * Implements method in interface java.sql.ResultSet
328     * @see java.sql.ResultSet#getDate
329     */

330     public java.sql.Date JavaDoc getDate(String JavaDoc columnName) throws SQLException {
331         return dbRs.getDate(columnName);
332     }
333
334     /**
335     * Implements method in interface java.sql.ResultSet
336     * @see java.sql.ResultSet#getDate
337     */

338     public java.sql.Date JavaDoc getDate(String JavaDoc columnName, java.util.Calendar JavaDoc cal)
339                           throws SQLException {
340         return dbRs.getDate(columnName, cal);
341     }
342
343     /**
344     * Implements method in interface java.sql.ResultSet
345     * @see java.sql.ResultSet#getDouble
346     */

347     public double getDouble(int columnIndex) throws SQLException {
348         return dbRs.getDouble(columnIndex);
349     }
350     
351     /**
352     * Implements method in interface java.sql.ResultSet
353     * @see java.sql.ResultSet#getDouble
354     */

355     public double getDouble(String JavaDoc columnName) throws SQLException {
356         return dbRs.getDouble(columnName);
357     }
358     
359     /**
360     * Implements method in interface java.sql.ResultSet
361     * @see java.sql.ResultSet#getFetchDirection
362     */

363     public int getFetchDirection() throws SQLException {
364         return dbRs.getFetchDirection();
365     }
366
367     /**
368     * Implements method in interface java.sql.ResultSet
369     * @see java.sql.ResultSet#getFetchSize
370     */

371     public int getFetchSize() throws SQLException {
372         return dbRs.getFetchSize();
373     }
374
375     /**
376     * Implements method in interface java.sql.ResultSet
377     * @see java.sql.ResultSet#getFloat
378     */

379     public float getFloat(int columnIndex) throws SQLException {
380         return dbRs.getFloat(columnIndex);
381     }
382
383     /**
384     * Implements method in interface java.sql.ResultSet
385     * @see java.sql.ResultSet#getFloat
386     */

387     public float getFloat(String JavaDoc columnName) throws SQLException {
388         return dbRs.getFloat(columnName);
389     }
390
391     /**
392     * Implements method in interface java.sql.ResultSet
393     * @see java.sql.ResultSet#getInt
394     */

395     public int getInt(int columnIndex) throws SQLException {
396         return dbRs.getInt(columnIndex);
397     }
398
399     /**
400     * Implements method in interface java.sql.ResultSet
401     * @see java.sql.ResultSet#getInt
402     */

403     public int getInt(String JavaDoc columnName) throws SQLException {
404         return dbRs.getInt(columnName);
405     }
406
407     /**
408     * Implements method in interface java.sql.ResultSet
409     * @see java.sql.ResultSet#getLong
410     */

411     public long getLong(int columnIndex) throws SQLException {
412         return dbRs.getLong(columnIndex);
413     }
414
415     /**
416     * Implements method in interface java.sql.ResultSet
417     * @see java.sql.ResultSet#getLong
418     */

419     public long getLong(String JavaDoc columnName) throws SQLException {
420         return dbRs.getLong(columnName);
421     }
422
423     /**
424     * Implements method in interface java.sql.ResultSet
425     * @see java.sql.ResultSet#getMetaData
426     */

427     public ResultSetMetaData getMetaData() throws SQLException {
428         ResultSetMetaData dbRsMeta = dbRs.getMetaData();
429         ResultSetMetaData rsMeta = new xlResultSetMetaData(this, dbRsMeta);
430         return rsMeta;
431     }
432
433     /**
434     * Implements method in interface java.sql.ResultSet
435     * @see java.sql.ResultSet#getObject
436     */

437     public Object JavaDoc getObject(int columnIndex) throws SQLException {
438         return dbRs.getObject(columnIndex);
439     }
440
441     /**
442     * Implements method in interface java.sql.ResultSet
443     * @see java.sql.ResultSet#getObject
444     */

445     public Object JavaDoc getObject(int i, Map map) throws SQLException {
446         return dbRs.getObject(i, map);
447     }
448
449     /**
450     * Implements method in interface java.sql.ResultSet
451     * @see java.sql.ResultSet#getObject
452     */

453     public Object JavaDoc getObject(String JavaDoc columnName) throws SQLException {
454         return dbRs.getObject(columnName);
455     }
456
457     /**
458     * Implements method in interface java.sql.ResultSet
459     * @see java.sql.ResultSet#getObject
460     */

461     public Object JavaDoc getObject(String JavaDoc colName, Map map)
462                      throws SQLException {
463         return dbRs.getObject(colName, map);
464     }
465
466     /**
467     * Implements method in interface java.sql.ResultSet
468     * @see java.sql.ResultSet#getRef
469     */

470     public Ref getRef(int i) throws SQLException {
471         return dbRs.getRef(i);
472     }
473
474     /**
475     * Implements method in interface java.sql.ResultSet
476     * @see java.sql.ResultSet#getRef
477     */

478     public Ref getRef(String JavaDoc colName) throws SQLException {
479         return dbRs.getRef(colName);
480     }
481
482     /**
483     * Implements method in interface java.sql.ResultSet
484     * @see java.sql.ResultSet#getRow
485     */

486     public int getRow() throws SQLException {
487         return dbRs.getRow();
488     }
489
490     /**
491     * Implements method in interface java.sql.ResultSet
492     * @see java.sql.ResultSet#getShort
493     */

494     public short getShort(int columnIndex) throws SQLException {
495         return dbRs.getShort(columnIndex);
496     }
497
498     /**
499     * Implements method in interface java.sql.ResultSet
500     * @see java.sql.ResultSet#getShort
501     */

502     public short getShort(String JavaDoc columnName) throws SQLException {
503         return dbRs.getShort(columnName);
504     }
505
506     /**
507     * Implements method in interface java.sql.ResultSet
508     * @see java.sql.ResultSet#getStatement
509     */

510     public Statement getStatement() throws SQLException {
511         return xlStm;
512     }
513
514     /**
515     * Implements method in interface java.sql.ResultSet
516     * @see java.sql.ResultSet#getString
517     */

518     public String JavaDoc getString(int columnIndex) throws SQLException {
519         return dbRs.getString(columnIndex);
520     }
521
522     /**
523     * Implements method in interface java.sql.ResultSet
524     * @see java.sql.ResultSet#getString
525     */

526     public String JavaDoc getString(String JavaDoc columnName) throws SQLException {
527         return dbRs.getString(columnName);
528     }
529
530     /**
531     * Implements method in interface java.sql.ResultSet
532     * @see java.sql.ResultSet#getTime
533     */

534     public Time getTime(int columnIndex) throws SQLException {
535         return dbRs.getTime(columnIndex);
536     }
537
538     /**
539     * Implements method in interface java.sql.ResultSet
540     * @see java.sql.ResultSet#getTime
541     */

542     public Time getTime(int columnIndex, java.util.Calendar JavaDoc cal)
543                  throws SQLException {
544         return dbRs.getTime(columnIndex, cal);
545     }
546
547     /**
548     * Implements method in interface java.sql.ResultSet
549     * @see java.sql.ResultSet#getTime
550     */

551     public Time getTime(String JavaDoc columnName) throws SQLException {
552         return dbRs.getTime(columnName);
553     }
554
555     /**
556     * Implements method in interface java.sql.ResultSet
557     * @see java.sql.ResultSet#getTime
558     */

559     public Time getTime(String JavaDoc columnName, java.util.Calendar JavaDoc cal)
560                  throws SQLException {
561         return dbRs.getTime(columnName, cal);
562     }
563
564     /**
565     * Implements method in interface java.sql.ResultSet
566     * @see java.sql.ResultSet#getTimestamp
567     */

568     public Timestamp getTimestamp(int columnIndex) throws SQLException {
569         return dbRs.getTimestamp(columnIndex);
570     }
571
572     /**
573     * Implements method in interface java.sql.ResultSet
574     * @see java.sql.ResultSet#getTimestamp
575     */

576     public Timestamp getTimestamp(int columnIndex, java.util.Calendar JavaDoc cal)
577                            throws SQLException {
578         return dbRs.getTimestamp(columnIndex, cal);
579     }
580
581     /**
582     * Implements method in interface java.sql.ResultSet
583     * @see java.sql.ResultSet#getTimestamp
584     */

585     public Timestamp getTimestamp(String JavaDoc columnName) throws SQLException {
586         return dbRs.getTimestamp(columnName);
587     }
588
589     /**
590     * Implements method in interface java.sql.ResultSet
591     * @see java.sql.ResultSet#getTimestamp
592     */

593     public Timestamp getTimestamp(String JavaDoc columnName, java.util.Calendar JavaDoc cal)
594                            throws SQLException {
595         return dbRs.getTimestamp(columnName, cal);
596     }
597
598     /**
599     * Implements method in interface java.sql.ResultSet
600     * @see java.sql.ResultSet#getType
601     */

602     public int getType() throws SQLException {
603         return dbRs.getType();
604     }
605
606     /**
607     * Implements method in interface java.sql.ResultSet
608     * @see java.sql.ResultSet#getUnicodeStream
609     */

610     public InputStream getUnicodeStream(int columnIndex)
611                                  throws SQLException {
612         return dbRs.getUnicodeStream(columnIndex);
613     }
614
615     /**
616     * Implements method in interface java.sql.ResultSet
617     * @see java.sql.ResultSet#getUnicodeStream
618     */

619     public InputStream getUnicodeStream(String JavaDoc columnName)
620                                  throws SQLException {
621         return dbRs.getUnicodeStream(columnName);
622     }
623
624     /**
625     * Implements method in interface java.sql.ResultSet
626     * @see java.sql.ResultSet#getURL
627     */

628     public URL JavaDoc getURL(int columnIndex) throws SQLException {
629         return dbRs.getURL(columnIndex);
630     }
631
632     /**
633     * Implements method in interface java.sql.ResultSet
634     * @see java.sql.ResultSet#getURL
635     */

636     public URL JavaDoc getURL(String JavaDoc columnName) throws SQLException {
637         return dbRs.getURL(columnName);
638     }
639
640     /**
641     * Implements method in interface java.sql.ResultSet
642     * @see java.sql.ResultSet#getWarnings
643     */

644     public SQLWarning getWarnings() throws SQLException {
645         return dbRs.getWarnings();
646     }
647
648     /**
649     * Implements method in interface java.sql.ResultSet
650     * @see java.sql.ResultSet#insertRow
651     */

652     public void insertRow() throws SQLException {
653         dbRs.insertRow();
654     }
655
656     /**
657     * Implements method in interface java.sql.ResultSet
658     * @see java.sql.ResultSet#isAfterLast
659     */

660     public boolean isAfterLast() throws SQLException {
661         return dbRs.isAfterLast();
662     }
663
664     /**
665     * Implements method in interface java.sql.ResultSet
666     * @see java.sql.ResultSet#isBeforeFirst
667     */

668     public boolean isBeforeFirst() throws SQLException {
669         return dbRs.isBeforeFirst();
670     }
671
672     /**
673     * Implements method in interface java.sql.ResultSet
674     * @see java.sql.ResultSet#isFirst
675     */

676     public boolean isFirst() throws SQLException {
677         return dbRs.isFirst();
678     }
679
680     /**
681     * Implements method in interface java.sql.ResultSet
682     * @see java.sql.ResultSet#isLast
683     */

684     public boolean isLast() throws SQLException {
685         return dbRs.isLast();
686     }
687
688     /**
689     * Implements method in interface java.sql.ResultSet
690     * @see java.sql.ResultSet#last
691     */

692     public boolean last() throws SQLException {
693         return dbRs.last();
694     }
695
696     /**
697     * Implements method in interface java.sql.ResultSet
698     * @see java.sql.ResultSet#moveToCurrentRow
699     */

700     public void moveToCurrentRow() throws SQLException {
701         dbRs.moveToCurrentRow();
702     }
703
704     /**
705     * Implements method in interface java.sql.ResultSet
706     * @see java.sql.ResultSet#moveToInsertRow
707     */

708     public void moveToInsertRow() throws SQLException {
709         dbRs.moveToInsertRow();
710     }
711
712     /**
713     * Implements method in interface java.sql.ResultSet
714     * @see java.sql.ResultSet#next
715     */

716     public boolean next() throws SQLException {
717         return dbRs.next();
718     }
719
720     /**
721     * Implements method in interface java.sql.ResultSet
722     * @see java.sql.ResultSet#previous
723     */

724     public boolean previous() throws SQLException {
725         return dbRs.previous();
726     }
727
728     /**
729     * Implements method in interface java.sql.ResultSet
730     * @see java.sql.ResultSet#refreshRow
731     */

732     public void refreshRow() throws SQLException {
733         dbRs.refreshRow();
734     }
735
736     /**
737     * Implements method in interface java.sql.ResultSet
738     * @see java.sql.ResultSet#relative
739     */

740     public boolean relative(int rows) throws SQLException {
741         return dbRs.relative(rows);
742     }
743
744     /**
745     * Implements method in interface java.sql.ResultSet
746     * @see java.sql.ResultSet#rowDeleted
747     */

748     public boolean rowDeleted() throws SQLException {
749         return dbRs.rowDeleted();
750     }
751
752     /**
753     * Implements method in interface java.sql.ResultSet
754     * @see java.sql.ResultSet#rowInserted
755     */

756     public boolean rowInserted() throws SQLException {
757         return dbRs.rowInserted();
758     }
759
760     /**
761     * Implements method in interface java.sql.ResultSet
762     * @see java.sql.ResultSet#rowUpdated
763     */

764     public boolean rowUpdated() throws SQLException {
765         return dbRs.rowUpdated();
766     }
767
768     /**
769     * Implements method in interface java.sql.ResultSet
770     * @see java.sql.ResultSet#setFetchDirection
771     */

772     public void setFetchDirection(int direction) throws SQLException {
773         dbRs.setFetchDirection(direction);
774     }
775
776     /**
777     * Implements method in interface java.sql.ResultSet
778     * @see java.sql.ResultSet#setFetchSize
779     */

780     public void setFetchSize(int rows) throws SQLException {
781         dbRs.setFetchSize(rows);
782     }
783
784     /**
785     * Implements method in interface java.sql.ResultSet
786     * @see java.sql.ResultSet#updateArray
787     */

788     public void updateArray(int columnIndex, Array x) throws SQLException {
789         dbRs.updateArray(columnIndex, x);
790     }
791
792     /**
793     * Implements method in interface java.sql.ResultSet
794     * @see java.sql.ResultSet#updateArray
795     */

796     public void updateArray(String JavaDoc columnName, Array x)
797                      throws SQLException {
798         dbRs.updateArray(columnName, x);
799     }
800
801     /**
802     * Implements method in interface java.sql.ResultSet
803     * @see java.sql.ResultSet#updateAsciiStream
804     */

805     public void updateAsciiStream(int columnIndex, InputStream x, int length)
806                            throws SQLException {
807         dbRs.updateAsciiStream(columnIndex, x, length);
808     }
809
810     /**
811     * Implements method in interface java.sql.ResultSet
812     * @see java.sql.ResultSet#updateAsciiStream
813     */

814     public void updateAsciiStream(String JavaDoc columnName, InputStream x,
815                                   int length) throws SQLException {
816         dbRs.updateAsciiStream(columnName, x, length);
817     }
818
819     /**
820     * Implements method in interface java.sql.ResultSet
821     * @see java.sql.ResultSet#updateBigDecimal
822     */

823     public void updateBigDecimal(int columnIndex, BigDecimal JavaDoc x)
824                           throws SQLException {
825         dbRs.updateBigDecimal(columnIndex, x);
826     }
827
828     /**
829     * Implements method in interface java.sql.ResultSet
830     * @see java.sql.ResultSet#updateBigDecimal
831     */

832     public void updateBigDecimal(String JavaDoc columnName, BigDecimal JavaDoc x)
833                           throws SQLException {
834         dbRs.updateBigDecimal(columnName, x);
835     }
836
837     /**
838     * Implements method in interface java.sql.ResultSet
839     * @see java.sql.ResultSet#updateBinaryStream
840     */

841     public void updateBinaryStream(int columnIndex, InputStream x, int length)
842                             throws SQLException {
843 dbRs.updateBinaryStream(columnIndex ,x, length);
844     }
845
846     /**
847     * Implements method in interface java.sql.ResultSet
848     * @see java.sql.ResultSet#updateBinaryStream
849     */

850     public void updateBinaryStream(String JavaDoc columnName, InputStream x,
851                                    int length) throws SQLException {
852         dbRs.updateBinaryStream(columnName, x, length);
853     }
854
855     /**
856     * Implements method in interface java.sql.ResultSet
857     * @see java.sql.ResultSet#updateBlob
858     */

859     public void updateBlob(int columnIndex, Blob x) throws SQLException {
860         dbRs.updateBlob(columnIndex, x);
861     }
862
863     /**
864     * Implements method in interface java.sql.ResultSet
865     * @see java.sql.ResultSet#updateBlob
866     */

867     public void updateBlob(String JavaDoc columnName, Blob x) throws SQLException {
868         dbRs.updateBlob(columnName, x);
869     }
870
871     /**
872     * Implements method in interface java.sql.ResultSet
873     * @see java.sql.ResultSet#updateBoolean
874     */

875     public void updateBoolean(int columnIndex, boolean x)
876                        throws SQLException {
877         dbRs.updateBoolean(columnIndex, x);
878     }
879
880     /**
881     * Implements method in interface java.sql.ResultSet
882     * @see java.sql.ResultSet#updateBoolean
883     */

884     public void updateBoolean(String JavaDoc columnName, boolean x)
885                        throws SQLException {
886         dbRs.updateBoolean(columnName, x);
887     }
888
889     /**
890     * Implements method in interface java.sql.ResultSet
891     * @see java.sql.ResultSet#updateByte
892     */

893     public void updateByte(int columnIndex, byte x) throws SQLException {
894         dbRs.updateByte(columnIndex, x);
895     }
896
897     /**
898     * Implements method in interface java.sql.ResultSet
899     * @see java.sql.ResultSet#updateByte
900     */

901     public void updateByte(String JavaDoc columnName, byte x) throws SQLException {
902         dbRs.updateByte(columnName, x);
903     }
904
905     /**
906     * Implements method in interface java.sql.ResultSet
907     * @see java.sql.ResultSet#updateBytes
908     */

909     public void updateBytes(int columnIndex, byte[] x) throws SQLException {
910         dbRs.updateBytes(columnIndex, x);
911     }
912
913     /**
914     * Implements method in interface java.sql.ResultSet
915     * @see java.sql.ResultSet#updateBytes
916     */

917     public void updateBytes(String JavaDoc columnName, byte[] x)
918                      throws SQLException {
919         dbRs.updateBytes(columnName, x);
920     }
921
922     /**
923     * Implements method in interface java.sql.ResultSet
924     * @see java.sql.ResultSet#updateCharacterStream
925     */

926     public void updateCharacterStream(int columnIndex, Reader x, int length)
927                                throws SQLException {
928         dbRs.updateCharacterStream(columnIndex, x, length);
929     }
930
931     /**
932     * Implements method in interface java.sql.ResultSet
933     * @see java.sql.ResultSet#updateCharacterStream
934     */

935     public void updateCharacterStream(String JavaDoc columnNameIndex, Reader x, int length)
936                                throws SQLException {
937         dbRs.updateCharacterStream(columnNameIndex, x, length);
938     }
939
940     /**
941     * Implements method in interface java.sql.ResultSet
942     * @see java.sql.ResultSet#updateClob
943     */

944     public void updateClob(int columnIndex, Clob x) throws SQLException {
945         dbRs.updateClob(columnIndex, x);
946     }
947
948     /**
949     * Implements method in interface java.sql.ResultSet
950     * @see java.sql.ResultSet#updateClob
951     */

952     public void updateClob(String JavaDoc columnName, Clob x) throws SQLException {
953         dbRs.updateClob(columnName, x);
954     }
955
956     /**
957     * Implements method in interface java.sql.ResultSet
958     * @see java.sql.ResultSet#updateDate
959     */

960     public void updateDate(int columnIndex, java.sql.Date JavaDoc x)
961                     throws SQLException {
962         dbRs.updateDate(columnIndex, x);
963     }
964
965     /**
966     * Implements method in interface java.sql.ResultSet
967     * @see java.sql.ResultSet#updateDate
968     */

969     public void updateDate(String JavaDoc columnName, java.sql.Date JavaDoc x)
970                     throws SQLException {
971         dbRs.updateDate(columnName, x);
972     }
973
974     /**
975     * Implements method in interface java.sql.ResultSet
976     * @see java.sql.ResultSet#updateDouble
977     */

978     public void updateDouble(int columnIndex, double x) throws SQLException {
979         dbRs.updateDouble(columnIndex, x);
980     }
981
982     /**
983     * Implements method in interface java.sql.ResultSet
984     * @see java.sql.ResultSet#updateDouble
985     */

986     public void updateDouble(String JavaDoc columnName, double x)
987                       throws SQLException {
988         dbRs.updateDouble(columnName, x);
989     }
990
991     /**
992     * Implements method in interface java.sql.ResultSet
993     * @see java.sql.ResultSet#updateFloat
994     */

995     public void updateFloat(int columnIndex, float x) throws SQLException {
996         dbRs.updateFloat(columnIndex, x);
997     }
998     
999     /**
1000    * Implements method in interface java.sql.ResultSet
1001    * @see java.sql.ResultSet#updateFloat
1002    */

1003    public void updateFloat(String JavaDoc columnName, float x) throws SQLException {
1004        dbRs.updateFloat(columnName, x);
1005    }
1006
1007    /**
1008    * Implements method in interface java.sql.ResultSet
1009    * @see java.sql.ResultSet#updateInt
1010    */

1011    public void updateInt(int columnIndex, int x) throws SQLException {
1012        dbRs.updateInt(columnIndex, x);
1013    }
1014    /**
1015    * Implements method in interface java.sql.ResultSet
1016    * @see java.sql.ResultSet#updateInt
1017    */

1018    public void updateInt(String JavaDoc columnName, int x) throws SQLException {
1019        dbRs.updateInt(columnName, x);
1020    }
1021
1022    /**
1023    * Implements method in interface java.sql.ResultSet
1024    * @see java.sql.ResultSet#updateLong
1025    */

1026    public void updateLong(int columnIndex, long x) throws SQLException {
1027        dbRs.updateLong(columnIndex, x);
1028    }
1029
1030    /**
1031    * Implements method in interface java.sql.ResultSet
1032    * @see java.sql.ResultSet#updateLong
1033    */

1034    public void updateLong(String JavaDoc columnName, long x) throws SQLException {
1035        dbRs.updateLong(columnName, x);
1036    }
1037
1038    /**
1039    * Implements method in interface java.sql.ResultSet
1040    * @see java.sql.ResultSet#updateNull
1041    */

1042    public void updateNull(int columnIndex) throws SQLException {
1043        dbRs.updateNull(columnIndex);
1044    }
1045
1046    /**
1047    * Implements method in interface java.sql.ResultSet
1048    * @see java.sql.ResultSet#updateNull
1049    */

1050    public void updateNull(String JavaDoc columnName) throws SQLException {
1051        dbRs.updateNull(columnName);
1052    }
1053
1054    /**
1055    * Implements method in interface java.sql.ResultSet
1056    * @see java.sql.ResultSet#updateObject
1057    */

1058    public void updateObject(int columnIndex, Object JavaDoc x)
1059                      throws SQLException {
1060        dbRs.updateObject(columnIndex, x);
1061    }
1062
1063    /**
1064    * Implements method in interface java.sql.ResultSet
1065    * @see java.sql.ResultSet#updateObject
1066    */

1067    public void updateObject(int columnIndex, Object JavaDoc x, int scale)
1068                      throws SQLException {
1069        dbRs.updateObject(columnIndex, x, scale);
1070    }
1071
1072    /**
1073    * Implements method in interface java.sql.ResultSet
1074    * @see java.sql.ResultSet#updateObject
1075    */

1076    public void updateObject(String JavaDoc columnName, Object JavaDoc x)
1077                      throws SQLException {
1078        dbRs.updateObject(columnName, x);
1079    }
1080
1081    /**
1082    * Implements method in interface java.sql.ResultSet
1083    * @see java.sql.ResultSet#updateObject
1084    */

1085    public void updateObject(String JavaDoc columnName, Object JavaDoc x, int scale)
1086                      throws SQLException {
1087        dbRs.updateObject(columnName, x, scale);
1088    }
1089
1090    /**
1091    * Implements method in interface java.sql.ResultSet
1092    * @see java.sql.ResultSet#updateRef
1093    */

1094    public void updateRef(int columnIndex, Ref x) throws SQLException {
1095        dbRs.updateRef(columnIndex, x);
1096    }
1097
1098    /**
1099    * Implements method in interface java.sql.ResultSet
1100    * @see java.sql.ResultSet#updateRef
1101    */

1102    public void updateRef(String JavaDoc columnName, Ref x) throws SQLException {
1103        dbRs.updateRef(columnName, x);
1104    }
1105
1106    /**
1107    * Implements method in interface java.sql.ResultSet
1108    * @see java.sql.ResultSet#updateRow
1109    */

1110    public void updateRow() throws SQLException {
1111        dbRs.updateRow();
1112    }
1113
1114    /**
1115    * Implements method in interface java.sql.ResultSet
1116    * @see java.sql.ResultSet#updateShort
1117    */

1118    public void updateShort(int columnIndex, short x) throws SQLException {
1119        dbRs.updateShort(columnIndex, x);
1120    }
1121
1122    /**
1123    * Implements method in interface java.sql.ResultSet
1124    * @see java.sql.ResultSet#updateShort
1125    */

1126    public void updateShort(String JavaDoc columnName, short x) throws SQLException {
1127        dbRs.updateShort(columnName, x);
1128    }
1129
1130    /**
1131    * Implements method in interface java.sql.ResultSet
1132    * @see java.sql.ResultSet#updateString
1133    */

1134    public void updateString(int columnIndex, String JavaDoc x) throws SQLException {
1135        dbRs.updateString(columnIndex, x);
1136    }
1137
1138    /**
1139    * Implements method in interface java.sql.ResultSet
1140    * @see java.sql.ResultSet#updateString
1141    */

1142    public void updateString(String JavaDoc columnName, String JavaDoc x)
1143                      throws SQLException {
1144        dbRs.updateString(columnName, x);
1145    }
1146
1147    /**
1148    * Implements method in interface java.sql.ResultSet
1149    * @see java.sql.ResultSet#updateTime
1150    */

1151    public void updateTime(String JavaDoc columnName, java.sql.Time JavaDoc x)
1152                    throws SQLException {
1153        dbRs.updateTime(columnName, x);
1154    }
1155
1156    /**
1157    * Implements method in interface java.sql.ResultSet
1158    * @see java.sql.ResultSet#updateTime
1159    */

1160    public void updateTime(int columnIndex, java.sql.Time JavaDoc x)
1161                    throws SQLException {
1162        dbRs.updateTime(columnIndex, x);
1163    }
1164
1165    /**
1166    * Implements method in interface java.sql.ResultSet
1167    * @see java.sql.ResultSet#updateTimestamp
1168    */

1169    public void updateTimestamp(int columnIndex, java.sql.Timestamp JavaDoc x)
1170                         throws SQLException {
1171        dbRs.updateTimestamp(columnIndex, x);
1172    }
1173
1174    /**
1175    * Implements method in interface java.sql.ResultSet
1176    * @see java.sql.ResultSet#updateTimestamp
1177    */

1178    public void updateTimestamp(String JavaDoc columnName, java.sql.Timestamp JavaDoc x)
1179                         throws SQLException {
1180        dbRs.updateTimestamp(columnName, x);
1181    }
1182
1183    /**
1184    * Implements method in interface java.sql.ResultSet
1185    * @see java.sql.ResultSet#wasNull
1186    */

1187    public boolean wasNull() throws SQLException {
1188        return dbRs.wasNull();
1189    }
1190}
Popular Tags