KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > commons > beanutils > TestResultSet


1 /*
2  * Copyright 2001-2004 The Apache Software Foundation.
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
17
18 package org.apache.commons.beanutils;
19
20
21 import java.io.InputStream JavaDoc;
22 import java.io.Reader JavaDoc;
23 import java.math.BigDecimal JavaDoc;
24 import java.net.URL JavaDoc;
25 import java.sql.Array JavaDoc;
26 import java.sql.Blob JavaDoc;
27 import java.sql.Clob JavaDoc;
28 import java.sql.Date JavaDoc;
29 import java.sql.Ref JavaDoc;
30 import java.sql.ResultSet JavaDoc;
31 import java.sql.ResultSetMetaData JavaDoc;
32 import java.sql.SQLException JavaDoc;
33 import java.sql.SQLWarning JavaDoc;
34 import java.sql.Statement JavaDoc;
35 import java.sql.Time JavaDoc;
36 import java.sql.Timestamp JavaDoc;
37 import java.util.Calendar JavaDoc;
38 import java.util.Map JavaDoc;
39
40
41 /**
42  * <p>Mock object that implements enough of <code>java.sql.ResultSet</code>
43  * to exercise the {@link ResultSetDyaClass} functionality.</p>
44  *
45  * @author Craig R. McClanahan
46  * @version $Revision: 1.5 $ $Date: 2004/02/28 13:18:36 $
47  */

48
49 public class TestResultSet implements ResultSet JavaDoc {
50
51
52     // ----------------------------------------------------- Instance Variables
53

54
55     /**
56      * Current row number (0 means "before the first one").
57      */

58     protected int row = 0;
59
60
61     /**
62      * The constant (per run) value used to initialize date/time/timestamp.
63      */

64     protected long timestamp = System.currentTimeMillis();
65
66
67     // ---------------------------------------------------- Implemented Methods
68

69
70     public void close() throws SQLException JavaDoc {
71         ; // No action required
72
}
73
74
75     public ResultSetMetaData JavaDoc getMetaData() throws SQLException JavaDoc {
76         return (new TestResultSetMetaData());
77     }
78
79
80     public Object JavaDoc getObject(String JavaDoc columnName) throws SQLException JavaDoc {
81         if (row > 5) {
82             throw new SQLException JavaDoc("No current row");
83         }
84         if ("bigdecimalproperty".equals(columnName)) {
85             return (new BigDecimal JavaDoc(123.45));
86         } else if ("booleanproperty".equals(columnName)) {
87             if ((row % 2) == 0) {
88                 return (Boolean.TRUE);
89             } else {
90                 return (Boolean.FALSE);
91             }
92         } else if ("byteproperty".equals(columnName)) {
93             return (new Byte JavaDoc((byte) row));
94         } else if ("dateproperty".equals(columnName)) {
95             return (new Date JavaDoc(timestamp));
96         } else if ("doubleproperty".equals(columnName)) {
97             return (new Double JavaDoc(321.0));
98         } else if ("floatproperty".equals(columnName)) {
99             return (new Float JavaDoc((float) 123.0));
100         } else if ("intproperty".equals(columnName)) {
101             return (new Integer JavaDoc(100 + row));
102         } else if ("longproperty".equals(columnName)) {
103             return (new Long JavaDoc(200 + row));
104         } else if ("nullproperty".equals(columnName)) {
105             return (null);
106         } else if ("shortproperty".equals(columnName)) {
107             return (new Short JavaDoc((short) (300 + row)));
108         } else if ("stringproperty".equals(columnName)) {
109             return ("This is a string");
110         } else if ("timeproperty".equals(columnName)) {
111             return (new Time JavaDoc(timestamp));
112         } else if ("timestampproperty".equals(columnName)) {
113             return (new Timestamp JavaDoc(timestamp));
114         } else {
115             throw new SQLException JavaDoc("Unknown column name " + columnName);
116         }
117     }
118
119
120     public boolean next() throws SQLException JavaDoc {
121         if (row++ < 5) {
122             return (true);
123         } else {
124             return (false);
125         }
126     }
127
128
129     public void updateObject(String JavaDoc columnName, Object JavaDoc x)
130         throws SQLException JavaDoc {
131         if (row > 5) {
132             throw new SQLException JavaDoc("No current row");
133         }
134         ; // FIXME - updateObject()
135
}
136
137
138     // -------------------------------------------------- Unimplemented Methods
139

140
141     public boolean absolute(int row) throws SQLException JavaDoc {
142         throw new UnsupportedOperationException JavaDoc();
143     }
144
145
146     public void afterLast() throws SQLException JavaDoc {
147         throw new UnsupportedOperationException JavaDoc();
148     }
149
150
151     public void beforeFirst() throws SQLException JavaDoc {
152         throw new UnsupportedOperationException JavaDoc();
153     }
154
155
156     public void cancelRowUpdates() throws SQLException JavaDoc {
157         throw new UnsupportedOperationException JavaDoc();
158     }
159
160
161     public void clearWarnings() throws SQLException JavaDoc {
162         throw new UnsupportedOperationException JavaDoc();
163     }
164
165
166     public void deleteRow() throws SQLException JavaDoc {
167         throw new UnsupportedOperationException JavaDoc();
168     }
169
170
171     public int findColumn(String JavaDoc columnName) throws SQLException JavaDoc {
172         throw new UnsupportedOperationException JavaDoc();
173     }
174
175
176     public boolean first() throws SQLException JavaDoc {
177         throw new UnsupportedOperationException JavaDoc();
178     }
179
180
181     public Array JavaDoc getArray(int columnIndex) throws SQLException JavaDoc {
182         throw new UnsupportedOperationException JavaDoc();
183     }
184
185
186     public Array JavaDoc getArray(String JavaDoc columnName) throws SQLException JavaDoc {
187         throw new UnsupportedOperationException JavaDoc();
188     }
189
190
191     public InputStream JavaDoc getAsciiStream(int columnIndex) throws SQLException JavaDoc {
192         throw new UnsupportedOperationException JavaDoc();
193     }
194
195
196     public InputStream JavaDoc getAsciiStream(String JavaDoc columnName) throws SQLException JavaDoc {
197         throw new UnsupportedOperationException JavaDoc();
198     }
199
200
201     public BigDecimal JavaDoc getBigDecimal(int columnIndex) throws SQLException JavaDoc {
202         throw new UnsupportedOperationException JavaDoc();
203     }
204
205     /** @deprecated */
206     public BigDecimal JavaDoc getBigDecimal(int columnIndex, int scale)
207         throws SQLException JavaDoc {
208         throw new UnsupportedOperationException JavaDoc();
209     }
210
211
212     public BigDecimal JavaDoc getBigDecimal(String JavaDoc columnName) throws SQLException JavaDoc {
213         throw new UnsupportedOperationException JavaDoc();
214     }
215
216
217     /** @deprecated */
218     public BigDecimal JavaDoc getBigDecimal(String JavaDoc columnName, int scale)
219         throws SQLException JavaDoc {
220         throw new UnsupportedOperationException JavaDoc();
221     }
222
223
224     public InputStream JavaDoc getBinaryStream(int columnIndex) throws SQLException JavaDoc {
225         throw new UnsupportedOperationException JavaDoc();
226     }
227
228
229     public InputStream JavaDoc getBinaryStream(String JavaDoc columnName) throws SQLException JavaDoc {
230         throw new UnsupportedOperationException JavaDoc();
231     }
232
233
234     public Blob JavaDoc getBlob(int columnIndex) throws SQLException JavaDoc {
235         throw new UnsupportedOperationException JavaDoc();
236     }
237
238
239     public Blob JavaDoc getBlob(String JavaDoc columnName) throws SQLException JavaDoc {
240         throw new UnsupportedOperationException JavaDoc();
241     }
242
243
244     public boolean getBoolean(int columnIndex) throws SQLException JavaDoc {
245         throw new UnsupportedOperationException JavaDoc();
246     }
247
248
249     public boolean getBoolean(String JavaDoc columnName) throws SQLException JavaDoc {
250         throw new UnsupportedOperationException JavaDoc();
251     }
252
253
254     public byte getByte(int columnIndex) throws SQLException JavaDoc {
255         throw new UnsupportedOperationException JavaDoc();
256     }
257
258
259     public byte getByte(String JavaDoc columnName) throws SQLException JavaDoc {
260         throw new UnsupportedOperationException JavaDoc();
261     }
262
263
264     public byte[] getBytes(int columnIndex) throws SQLException JavaDoc {
265         throw new UnsupportedOperationException JavaDoc();
266     }
267
268
269     public byte[] getBytes(String JavaDoc columnName) throws SQLException JavaDoc {
270         throw new UnsupportedOperationException JavaDoc();
271     }
272
273
274     public Reader JavaDoc getCharacterStream(int columnIndex)
275         throws SQLException JavaDoc {
276         throw new UnsupportedOperationException JavaDoc();
277     }
278
279
280     public Reader JavaDoc getCharacterStream(String JavaDoc columnName) throws SQLException JavaDoc {
281         throw new UnsupportedOperationException JavaDoc();
282     }
283
284
285     public Clob JavaDoc getClob(int columnIndex) throws SQLException JavaDoc {
286         throw new UnsupportedOperationException JavaDoc();
287     }
288
289
290     public Clob JavaDoc getClob(String JavaDoc columnName) throws SQLException JavaDoc {
291         throw new UnsupportedOperationException JavaDoc();
292     }
293
294
295     public int getConcurrency() throws SQLException JavaDoc {
296         throw new UnsupportedOperationException JavaDoc();
297     }
298
299
300     public String JavaDoc getCursorName() throws SQLException JavaDoc {
301         throw new UnsupportedOperationException JavaDoc();
302     }
303
304
305     public Date JavaDoc getDate(int columnIndex) throws SQLException JavaDoc {
306         throw new UnsupportedOperationException JavaDoc();
307     }
308
309
310     public Date JavaDoc getDate(int columnIndex, Calendar JavaDoc cal) throws SQLException JavaDoc {
311         throw new UnsupportedOperationException JavaDoc();
312     }
313
314
315     public Date JavaDoc getDate(String JavaDoc columnName) throws SQLException JavaDoc {
316         throw new UnsupportedOperationException JavaDoc();
317     }
318
319
320     public Date JavaDoc getDate(String JavaDoc columnName, Calendar JavaDoc cal) throws SQLException JavaDoc {
321         throw new UnsupportedOperationException JavaDoc();
322     }
323
324
325     public double getDouble(int columnIndex) throws SQLException JavaDoc {
326         throw new UnsupportedOperationException JavaDoc();
327     }
328
329
330     public double getDouble(String JavaDoc columnName) throws SQLException JavaDoc {
331         throw new UnsupportedOperationException JavaDoc();
332     }
333
334
335     public int getFetchDirection() throws SQLException JavaDoc {
336         throw new UnsupportedOperationException JavaDoc();
337     }
338
339
340     public int getFetchSize() throws SQLException JavaDoc {
341         throw new UnsupportedOperationException JavaDoc();
342     }
343
344
345     public float getFloat(int columnIndex) throws SQLException JavaDoc {
346         throw new UnsupportedOperationException JavaDoc();
347     }
348
349
350     public float getFloat(String JavaDoc columnName) throws SQLException JavaDoc {
351         throw new UnsupportedOperationException JavaDoc();
352     }
353
354
355     public int getInt(int columnIndex) throws SQLException JavaDoc {
356         throw new UnsupportedOperationException JavaDoc();
357     }
358
359
360     public int getInt(String JavaDoc columnName) throws SQLException JavaDoc {
361         throw new UnsupportedOperationException JavaDoc();
362     }
363
364
365     public long getLong(int columnIndex) throws SQLException JavaDoc {
366         throw new UnsupportedOperationException JavaDoc();
367     }
368
369
370     public long getLong(String JavaDoc columnName) throws SQLException JavaDoc {
371         throw new UnsupportedOperationException JavaDoc();
372     }
373
374
375     public Object JavaDoc getObject(int columnIndex) throws SQLException JavaDoc {
376         throw new UnsupportedOperationException JavaDoc();
377     }
378
379
380     public Object JavaDoc getObject(int columnIndex, Map JavaDoc map) throws SQLException JavaDoc {
381         throw new UnsupportedOperationException JavaDoc();
382     }
383
384
385     public Object JavaDoc getObject(String JavaDoc columnName, Map JavaDoc map) throws SQLException JavaDoc {
386         throw new UnsupportedOperationException JavaDoc();
387     }
388
389
390     public Ref JavaDoc getRef(int columnIndex) throws SQLException JavaDoc {
391         throw new UnsupportedOperationException JavaDoc();
392     }
393
394
395     public Ref JavaDoc getRef(String JavaDoc columnName) throws SQLException JavaDoc {
396         throw new UnsupportedOperationException JavaDoc();
397     }
398
399
400     public int getRow() throws SQLException JavaDoc {
401         throw new UnsupportedOperationException JavaDoc();
402     }
403
404
405     public short getShort(int columnIndex) throws SQLException JavaDoc {
406         throw new UnsupportedOperationException JavaDoc();
407     }
408
409
410     public short getShort(String JavaDoc columnName) throws SQLException JavaDoc {
411         throw new UnsupportedOperationException JavaDoc();
412     }
413
414
415     public Statement JavaDoc getStatement() throws SQLException JavaDoc {
416         throw new UnsupportedOperationException JavaDoc();
417     }
418
419
420     public String JavaDoc getString(int columnIndex) throws SQLException JavaDoc {
421         throw new UnsupportedOperationException JavaDoc();
422     }
423
424
425     public String JavaDoc getString(String JavaDoc columnName) throws SQLException JavaDoc {
426         throw new UnsupportedOperationException JavaDoc();
427     }
428
429
430     public Time JavaDoc getTime(int columnIndex) throws SQLException JavaDoc {
431         throw new UnsupportedOperationException JavaDoc();
432     }
433
434
435     public Time JavaDoc getTime(int columnIndex, Calendar JavaDoc cal) throws SQLException JavaDoc {
436         throw new UnsupportedOperationException JavaDoc();
437     }
438
439
440     public Time JavaDoc getTime(String JavaDoc columnName) throws SQLException JavaDoc {
441         throw new UnsupportedOperationException JavaDoc();
442     }
443
444
445     public Time JavaDoc getTime(String JavaDoc columnName, Calendar JavaDoc cal) throws SQLException JavaDoc {
446         throw new UnsupportedOperationException JavaDoc();
447     }
448
449
450     public Timestamp JavaDoc getTimestamp(int columnIndex) throws SQLException JavaDoc {
451         throw new UnsupportedOperationException JavaDoc();
452     }
453
454
455     public Timestamp JavaDoc getTimestamp(int columnIndex, Calendar JavaDoc cal)
456         throws SQLException JavaDoc {
457         throw new UnsupportedOperationException JavaDoc();
458     }
459
460
461     public Timestamp JavaDoc getTimestamp(String JavaDoc columnName) throws SQLException JavaDoc {
462         throw new UnsupportedOperationException JavaDoc();
463     }
464
465
466     public Timestamp JavaDoc getTimestamp(String JavaDoc columnName, Calendar JavaDoc cal)
467         throws SQLException JavaDoc {
468         throw new UnsupportedOperationException JavaDoc();
469     }
470
471
472     public int getType() throws SQLException JavaDoc {
473         throw new UnsupportedOperationException JavaDoc();
474     }
475
476
477     /** @deprecated */
478     public InputStream JavaDoc getUnicodeStream(int columnIndex) throws SQLException JavaDoc {
479         throw new UnsupportedOperationException JavaDoc();
480     }
481
482
483     /** @deprecated */
484     public InputStream JavaDoc getUnicodeStream(String JavaDoc columnName) throws SQLException JavaDoc {
485         throw new UnsupportedOperationException JavaDoc();
486     }
487
488
489     public URL JavaDoc getURL(int columnIndex) throws SQLException JavaDoc {
490         throw new UnsupportedOperationException JavaDoc();
491     }
492
493
494     public URL JavaDoc getURL(String JavaDoc columnName) throws SQLException JavaDoc {
495         throw new UnsupportedOperationException JavaDoc();
496     }
497
498
499     public SQLWarning JavaDoc getWarnings() throws SQLException JavaDoc {
500         throw new UnsupportedOperationException JavaDoc();
501     }
502
503
504     public void insertRow() throws SQLException JavaDoc {
505         throw new UnsupportedOperationException JavaDoc();
506     }
507
508
509     public boolean isAfterLast() throws SQLException JavaDoc {
510         throw new UnsupportedOperationException JavaDoc();
511     }
512
513
514     public boolean isBeforeFirst() throws SQLException JavaDoc {
515         throw new UnsupportedOperationException JavaDoc();
516     }
517
518
519     public boolean isFirst() throws SQLException JavaDoc {
520         throw new UnsupportedOperationException JavaDoc();
521     }
522
523
524     public boolean isLast() throws SQLException JavaDoc {
525         throw new UnsupportedOperationException JavaDoc();
526     }
527
528
529     public boolean last() throws SQLException JavaDoc {
530         throw new UnsupportedOperationException JavaDoc();
531     }
532
533
534     public void moveToCurrentRow() throws SQLException JavaDoc {
535         throw new UnsupportedOperationException JavaDoc();
536     }
537
538
539     public void moveToInsertRow() throws SQLException JavaDoc {
540         throw new UnsupportedOperationException JavaDoc();
541     }
542
543
544     public boolean previous() throws SQLException JavaDoc {
545         throw new UnsupportedOperationException JavaDoc();
546     }
547
548
549     public void refreshRow() throws SQLException JavaDoc {
550         throw new UnsupportedOperationException JavaDoc();
551     }
552
553
554     public boolean relative(int rows) throws SQLException JavaDoc {
555         throw new UnsupportedOperationException JavaDoc();
556     }
557
558
559     public boolean rowDeleted() throws SQLException JavaDoc {
560         throw new UnsupportedOperationException JavaDoc();
561     }
562
563
564     public boolean rowInserted() throws SQLException JavaDoc {
565         throw new UnsupportedOperationException JavaDoc();
566     }
567
568
569     public boolean rowUpdated() throws SQLException JavaDoc {
570         throw new UnsupportedOperationException JavaDoc();
571     }
572
573
574     public void setFetchDirection(int direction) throws SQLException JavaDoc {
575         throw new UnsupportedOperationException JavaDoc();
576     }
577
578
579     public void setFetchSize(int size) throws SQLException JavaDoc {
580         throw new UnsupportedOperationException JavaDoc();
581     }
582
583
584     public void updateArray(int columnPosition, Array JavaDoc x)
585         throws SQLException JavaDoc {
586         throw new UnsupportedOperationException JavaDoc();
587     }
588
589
590     public void updateArray(String JavaDoc columnName, Array JavaDoc x)
591         throws SQLException JavaDoc {
592         throw new UnsupportedOperationException JavaDoc();
593     }
594
595
596     public void updateAsciiStream(int columnPosition, InputStream JavaDoc x, int len)
597         throws SQLException JavaDoc {
598         throw new UnsupportedOperationException JavaDoc();
599     }
600
601
602     public void updateAsciiStream(String JavaDoc columnName, InputStream JavaDoc x, int len)
603         throws SQLException JavaDoc {
604         throw new UnsupportedOperationException JavaDoc();
605     }
606
607
608     public void updateBigDecimal(int columnPosition, BigDecimal JavaDoc x)
609         throws SQLException JavaDoc {
610         throw new UnsupportedOperationException JavaDoc();
611     }
612
613
614     public void updateBigDecimal(String JavaDoc columnName, BigDecimal JavaDoc x)
615         throws SQLException JavaDoc {
616         throw new UnsupportedOperationException JavaDoc();
617     }
618
619
620     public void updateBinaryStream(int columnPosition, InputStream JavaDoc x, int len)
621         throws SQLException JavaDoc {
622         throw new UnsupportedOperationException JavaDoc();
623     }
624
625
626     public void updateBinaryStream(String JavaDoc columnName, InputStream JavaDoc x, int len)
627         throws SQLException JavaDoc {
628         throw new UnsupportedOperationException JavaDoc();
629     }
630
631
632     public void updateBlob(int columnPosition, Blob JavaDoc x)
633         throws SQLException JavaDoc {
634         throw new UnsupportedOperationException JavaDoc();
635     }
636
637
638     public void updateBlob(String JavaDoc columnName, Blob JavaDoc x)
639         throws SQLException JavaDoc {
640         throw new UnsupportedOperationException JavaDoc();
641     }
642
643
644     public void updateBoolean(int columnPosition, boolean x)
645         throws SQLException JavaDoc {
646         throw new UnsupportedOperationException JavaDoc();
647     }
648
649
650     public void updateBoolean(String JavaDoc columnName, boolean x)
651         throws SQLException JavaDoc {
652         throw new UnsupportedOperationException JavaDoc();
653     }
654
655
656     public void updateByte(int columnPosition, byte x)
657         throws SQLException JavaDoc {
658         throw new UnsupportedOperationException JavaDoc();
659     }
660
661
662     public void updateByte(String JavaDoc columnName, byte x)
663         throws SQLException JavaDoc {
664         throw new UnsupportedOperationException JavaDoc();
665     }
666
667
668     public void updateBytes(int columnPosition, byte x[])
669         throws SQLException JavaDoc {
670         throw new UnsupportedOperationException JavaDoc();
671     }
672
673
674     public void updateBytes(String JavaDoc columnName, byte x[])
675         throws SQLException JavaDoc {
676         throw new UnsupportedOperationException JavaDoc();
677     }
678
679
680     public void updateCharacterStream(int columnPosition, Reader JavaDoc x, int len)
681         throws SQLException JavaDoc {
682         throw new UnsupportedOperationException JavaDoc();
683     }
684
685
686     public void updateCharacterStream(String JavaDoc columnName, Reader JavaDoc x, int len)
687         throws SQLException JavaDoc {
688         throw new UnsupportedOperationException JavaDoc();
689     }
690
691
692     public void updateClob(int columnPosition, Clob JavaDoc x)
693         throws SQLException JavaDoc {
694         throw new UnsupportedOperationException JavaDoc();
695     }
696
697
698     public void updateClob(String JavaDoc columnName, Clob JavaDoc x)
699         throws SQLException JavaDoc {
700         throw new UnsupportedOperationException JavaDoc();
701     }
702
703
704     public void updateDate(int columnPosition, Date JavaDoc x)
705         throws SQLException JavaDoc {
706         throw new UnsupportedOperationException JavaDoc();
707     }
708
709
710     public void updateDate(String JavaDoc columnName, Date JavaDoc x)
711         throws SQLException JavaDoc {
712         throw new UnsupportedOperationException JavaDoc();
713     }
714
715
716     public void updateDouble(int columnPosition, double x)
717         throws SQLException JavaDoc {
718         throw new UnsupportedOperationException JavaDoc();
719     }
720
721
722     public void updateDouble(String JavaDoc columnName, double x)
723         throws SQLException JavaDoc {
724         throw new UnsupportedOperationException JavaDoc();
725     }
726
727
728     public void updateFloat(int columnPosition, float x)
729         throws SQLException JavaDoc {
730         throw new UnsupportedOperationException JavaDoc();
731     }
732
733
734     public void updateFloat(String JavaDoc columnName, float x)
735         throws SQLException JavaDoc {
736         throw new UnsupportedOperationException JavaDoc();
737     }
738
739
740     public void updateInt(int columnPosition, int x)
741         throws SQLException JavaDoc {
742         throw new UnsupportedOperationException JavaDoc();
743     }
744
745
746     public void updateInt(String JavaDoc columnName, int x)
747         throws SQLException JavaDoc {
748         throw new UnsupportedOperationException JavaDoc();
749     }
750
751
752     public void updateLong(int columnPosition, long x)
753         throws SQLException JavaDoc {
754         throw new UnsupportedOperationException JavaDoc();
755     }
756
757
758     public void updateLong(String JavaDoc columnName, long x)
759         throws SQLException JavaDoc {
760         throw new UnsupportedOperationException JavaDoc();
761     }
762
763
764     public void updateNull(int columnPosition)
765         throws SQLException JavaDoc {
766         throw new UnsupportedOperationException JavaDoc();
767     }
768
769
770     public void updateNull(String JavaDoc columnName)
771         throws SQLException JavaDoc {
772         throw new UnsupportedOperationException JavaDoc();
773     }
774
775
776     public void updateObject(int columnPosition, Object JavaDoc x)
777         throws SQLException JavaDoc {
778         throw new UnsupportedOperationException JavaDoc();
779     }
780
781
782     public void updateObject(int columnPosition, Object JavaDoc x, int scale)
783         throws SQLException JavaDoc {
784         throw new UnsupportedOperationException JavaDoc();
785     }
786
787
788     public void updateObject(String JavaDoc columnName, Object JavaDoc x, int scale)
789         throws SQLException JavaDoc {
790         throw new UnsupportedOperationException JavaDoc();
791     }
792
793
794     public void updateRef(int columnPosition, Ref JavaDoc x)
795         throws SQLException JavaDoc {
796         throw new UnsupportedOperationException JavaDoc();
797     }
798
799
800     public void updateRef(String JavaDoc columnName, Ref JavaDoc x)
801         throws SQLException JavaDoc {
802         throw new UnsupportedOperationException JavaDoc();
803     }
804
805
806     public void updateRow() throws SQLException JavaDoc {
807         throw new UnsupportedOperationException JavaDoc();
808     }
809
810
811     public void updateShort(int columnPosition, short x)
812         throws SQLException JavaDoc {
813         throw new UnsupportedOperationException JavaDoc();
814     }
815
816
817     public void updateShort(String JavaDoc columnName, short x)
818         throws SQLException JavaDoc {
819         throw new UnsupportedOperationException JavaDoc();
820     }
821
822
823     public void updateString(int columnPosition, String JavaDoc x)
824         throws SQLException JavaDoc {
825         throw new UnsupportedOperationException JavaDoc();
826     }
827
828
829     public void updateString(String JavaDoc columnName, String JavaDoc x)
830         throws SQLException JavaDoc {
831         throw new UnsupportedOperationException JavaDoc();
832     }
833
834
835     public void updateTime(int columnPosition, Time JavaDoc x)
836         throws SQLException JavaDoc {
837         throw new UnsupportedOperationException JavaDoc();
838     }
839
840
841     public void updateTime(String JavaDoc columnName, Time JavaDoc x)
842         throws SQLException JavaDoc {
843         throw new UnsupportedOperationException JavaDoc();
844     }
845
846
847     public void updateTimestamp(int columnPosition, Timestamp JavaDoc x)
848         throws SQLException JavaDoc {
849         throw new UnsupportedOperationException JavaDoc();
850     }
851
852
853     public void updateTimestamp(String JavaDoc columnName, Timestamp JavaDoc x)
854         throws SQLException JavaDoc {
855         throw new UnsupportedOperationException JavaDoc();
856     }
857
858
859     public boolean wasNull() throws SQLException JavaDoc {
860         throw new UnsupportedOperationException JavaDoc();
861     }
862
863
864 }
865
Popular Tags