OpenConcerto

Dépôt officiel du code source de l'ERP OpenConcerto
sonarqube

svn://code.openconcerto.org/openconcerto

Rev

Rev 65 | Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
17 ilm 1
/*
2
 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
3
 *
4
 * Copyright 2011 OpenConcerto, by ILM Informatique. All rights reserved.
5
 *
6
 * The contents of this file are subject to the terms of the GNU General Public License Version 3
7
 * only ("GPL"). You may not use this file except in compliance with the License. You can obtain a
8
 * copy of the License at http://www.gnu.org/licenses/gpl-3.0.html See the License for the specific
9
 * language governing permissions and limitations under the License.
10
 *
11
 * When distributing the software, include this License Header Notice in each file.
12
 */
13
 
14
 package org.openconcerto.sql.model;
15
 
16
import java.io.InputStream;
17
import java.io.Reader;
18
import java.math.BigDecimal;
19
import java.net.URL;
20
import java.sql.Array;
21
import java.sql.Blob;
22
import java.sql.Clob;
23
import java.sql.Date;
24
import java.sql.NClob;
25
import java.sql.Ref;
26
import java.sql.ResultSet;
27
import java.sql.ResultSetMetaData;
28
import java.sql.RowId;
29
import java.sql.SQLException;
30
import java.sql.SQLWarning;
31
import java.sql.SQLXML;
32
import java.sql.Statement;
33
import java.sql.Time;
34
import java.sql.Timestamp;
35
import java.util.Calendar;
36
import java.util.HashMap;
37
import java.util.Map;
38
 
39
import org.apache.commons.collections.Transformer;
40
import org.apache.commons.collections.map.LazyMap;
41
 
42
/**
43
 * A resultSet that wraps onto another one, caching name to index translation, and using a
44
 * ResultSetFullnameHelper.
45
 *
46
 * @author Sylvain
47
 */
48
public class SQLResultSet implements ResultSet {
49
    private final ResultSet delegate;
50
    private final ResultSetFullnameHelper helper;
51
    private final Map indexes;
52
 
53
    public SQLResultSet(ResultSet delegate) {
54
        this.delegate = delegate;
55
        this.helper = new ResultSetFullnameHelper(this);
56
        this.indexes = LazyMap.decorate(new HashMap(), new Transformer() {
57
            public Object transform(Object input) {
58
                final String colName = (String) input;
59
                try {
60
                    return new Integer(doFindColumn(colName));
61
                } catch (SQLException e) {
62
                    return e;
63
                }
64
            }
65
        });
66
    }
67
 
68
    private ResultSet getDelegate() {
69
        return this.delegate;
70
    }
71
 
72
    public boolean absolute(int row) throws SQLException {
73
        return getDelegate().absolute(row);
74
    }
75
 
76
    public void afterLast() throws SQLException {
77
        getDelegate().afterLast();
78
    }
79
 
80
    public void beforeFirst() throws SQLException {
81
        getDelegate().beforeFirst();
82
    }
83
 
84
    public void cancelRowUpdates() throws SQLException {
85
        getDelegate().cancelRowUpdates();
86
    }
87
 
88
    public void clearWarnings() throws SQLException {
89
        getDelegate().clearWarnings();
90
    }
91
 
92
    public void close() throws SQLException {
93
        getDelegate().close();
94
    }
95
 
96
    public void deleteRow() throws SQLException {
97
        getDelegate().deleteRow();
98
    }
99
 
100
    public int findColumn(String columnName) throws SQLException {
101
        final Object res = this.indexes.get(columnName);
102
        if (res instanceof SQLException)
103
            throw (SQLException) res;
104
        else {
105
            final int index = ((Number) res).intValue();
106
            if (index < 1)
107
                throw new SQLException(columnName + " not found");
108
            else
109
                return index;
110
        }
111
    }
112
 
113
    private int doFindColumn(String columnName) throws SQLException {
114
        try {
115
            return getDelegate().findColumn(columnName);
116
        } catch (SQLException e) {
117
            if (SQLField.isFullname(columnName))
118
                return this.helper.getIndex(columnName);
119
            else
120
                throw e;
121
        }
122
    }
123
 
124
    public boolean first() throws SQLException {
125
        return getDelegate().first();
126
    }
127
 
128
    public Array getArray(int i) throws SQLException {
129
        return getDelegate().getArray(i);
130
    }
131
 
132
    public Array getArray(String colName) throws SQLException {
133
        return getDelegate().getArray(colName);
134
    }
135
 
136
    public InputStream getAsciiStream(int columnIndex) throws SQLException {
137
        return getDelegate().getAsciiStream(columnIndex);
138
    }
139
 
140
    public InputStream getAsciiStream(String columnName) throws SQLException {
141
        return getDelegate().getAsciiStream(this.findColumn(columnName));
142
    }
143
 
144
    public BigDecimal getBigDecimal(int columnIndex, int scale) throws SQLException {
145
        return getDelegate().getBigDecimal(columnIndex, scale);
146
    }
147
 
148
    public BigDecimal getBigDecimal(int columnIndex) throws SQLException {
149
        return getDelegate().getBigDecimal(columnIndex);
150
    }
151
 
152
    public BigDecimal getBigDecimal(String columnName, int scale) throws SQLException {
153
        return getDelegate().getBigDecimal(columnName, scale);
154
    }
155
 
156
    public BigDecimal getBigDecimal(String columnName) throws SQLException {
157
        return getDelegate().getBigDecimal(this.findColumn(columnName));
158
    }
159
 
160
    public InputStream getBinaryStream(int columnIndex) throws SQLException {
161
        return getDelegate().getBinaryStream(columnIndex);
162
    }
163
 
164
    public InputStream getBinaryStream(String columnName) throws SQLException {
165
        return getDelegate().getBinaryStream(this.findColumn(columnName));
166
    }
167
 
168
    public Blob getBlob(int i) throws SQLException {
169
        return getDelegate().getBlob(i);
170
    }
171
 
172
    public Blob getBlob(String colName) throws SQLException {
173
        return getDelegate().getBlob(colName);
174
    }
175
 
176
    public boolean getBoolean(int columnIndex) throws SQLException {
177
        return getDelegate().getBoolean(columnIndex);
178
    }
179
 
180
    public boolean getBoolean(String columnName) throws SQLException {
181
        return getDelegate().getBoolean(this.findColumn(columnName));
182
    }
183
 
184
    public byte getByte(int columnIndex) throws SQLException {
185
        return getDelegate().getByte(columnIndex);
186
    }
187
 
188
    public byte getByte(String columnName) throws SQLException {
189
        return getDelegate().getByte(this.findColumn(columnName));
190
    }
191
 
192
    public byte[] getBytes(int columnIndex) throws SQLException {
193
        return getDelegate().getBytes(columnIndex);
194
    }
195
 
196
    public byte[] getBytes(String columnName) throws SQLException {
197
        return getDelegate().getBytes(this.findColumn(columnName));
198
    }
199
 
200
    public Reader getCharacterStream(int columnIndex) throws SQLException {
201
        return getDelegate().getCharacterStream(columnIndex);
202
    }
203
 
204
    public Reader getCharacterStream(String columnName) throws SQLException {
205
        return getDelegate().getCharacterStream(this.findColumn(columnName));
206
    }
207
 
208
    public Clob getClob(int i) throws SQLException {
209
        return getDelegate().getClob(i);
210
    }
211
 
212
    public Clob getClob(String colName) throws SQLException {
213
        return getDelegate().getClob(colName);
214
    }
215
 
216
    public int getConcurrency() throws SQLException {
217
        return getDelegate().getConcurrency();
218
    }
219
 
220
    public String getCursorName() throws SQLException {
221
        return getDelegate().getCursorName();
222
    }
223
 
224
    public Date getDate(int columnIndex, Calendar cal) throws SQLException {
225
        return getDelegate().getDate(columnIndex, cal);
226
    }
227
 
228
    public Date getDate(int columnIndex) throws SQLException {
229
        return getDelegate().getDate(columnIndex);
230
    }
231
 
232
    public Date getDate(String columnName, Calendar cal) throws SQLException {
233
        return getDelegate().getDate(columnName, cal);
234
    }
235
 
236
    public Date getDate(String columnName) throws SQLException {
237
        return getDelegate().getDate(this.findColumn(columnName));
238
    }
239
 
240
    public double getDouble(int columnIndex) throws SQLException {
241
        return getDelegate().getDouble(columnIndex);
242
    }
243
 
244
    public double getDouble(String columnName) throws SQLException {
245
        return getDelegate().getDouble(this.findColumn(columnName));
246
    }
247
 
248
    public int getFetchDirection() throws SQLException {
249
        return getDelegate().getFetchDirection();
250
    }
251
 
252
    public int getFetchSize() throws SQLException {
253
        return getDelegate().getFetchSize();
254
    }
255
 
256
    public float getFloat(int columnIndex) throws SQLException {
257
        return getDelegate().getFloat(columnIndex);
258
    }
259
 
260
    public float getFloat(String columnName) throws SQLException {
261
        return getDelegate().getFloat(this.findColumn(columnName));
262
    }
263
 
264
    public int getInt(int columnIndex) throws SQLException {
265
        return getDelegate().getInt(columnIndex);
266
    }
267
 
268
    public int getInt(String columnName) throws SQLException {
269
        return getDelegate().getInt(this.findColumn(columnName));
270
    }
271
 
272
    public long getLong(int columnIndex) throws SQLException {
273
        return getDelegate().getLong(columnIndex);
274
    }
275
 
276
    public long getLong(String columnName) throws SQLException {
277
        return getDelegate().getLong(this.findColumn(columnName));
278
    }
279
 
280
    public ResultSetMetaData getMetaData() throws SQLException {
281
        return new SQLResultSetMetadata(getDelegate().getMetaData());
282
    }
283
 
284
    public Object getObject(int arg0, Map arg1) throws SQLException {
285
        return getDelegate().getObject(arg0, arg1);
286
    }
287
 
288
    public Object getObject(int columnIndex) throws SQLException {
289
        return getDelegate().getObject(columnIndex);
290
    }
291
 
292
    public Object getObject(String arg0, Map arg1) throws SQLException {
293
        return getDelegate().getObject(arg0, arg1);
294
    }
295
 
296
    public Object getObject(String columnName) throws SQLException {
297
        return getDelegate().getObject(this.findColumn(columnName));
298
    }
299
 
300
    public Ref getRef(int i) throws SQLException {
301
        return getDelegate().getRef(i);
302
    }
303
 
304
    public Ref getRef(String colName) throws SQLException {
305
        return getDelegate().getRef(colName);
306
    }
307
 
308
    public int getRow() throws SQLException {
309
        return getDelegate().getRow();
310
    }
311
 
312
    public short getShort(int columnIndex) throws SQLException {
313
        return getDelegate().getShort(columnIndex);
314
    }
315
 
316
    public short getShort(String columnName) throws SQLException {
317
        return getDelegate().getShort(this.findColumn(columnName));
318
    }
319
 
320
    public Statement getStatement() throws SQLException {
321
        return getDelegate().getStatement();
322
    }
323
 
324
    public String getString(int columnIndex) throws SQLException {
325
        return getDelegate().getString(columnIndex);
326
    }
327
 
328
    public String getString(String columnName) throws SQLException {
329
        return getDelegate().getString(this.findColumn(columnName));
330
    }
331
 
332
    public Time getTime(int columnIndex, Calendar cal) throws SQLException {
333
        return getDelegate().getTime(columnIndex, cal);
334
    }
335
 
336
    public Time getTime(int columnIndex) throws SQLException {
337
        return getDelegate().getTime(columnIndex);
338
    }
339
 
340
    public Time getTime(String columnName, Calendar cal) throws SQLException {
341
        return getDelegate().getTime(columnName, cal);
342
    }
343
 
344
    public Time getTime(String columnName) throws SQLException {
345
        return getDelegate().getTime(this.findColumn(columnName));
346
    }
347
 
348
    public Timestamp getTimestamp(int columnIndex, Calendar cal) throws SQLException {
349
        return getDelegate().getTimestamp(columnIndex, cal);
350
    }
351
 
352
    public Timestamp getTimestamp(int columnIndex) throws SQLException {
353
        return getDelegate().getTimestamp(columnIndex);
354
    }
355
 
356
    public Timestamp getTimestamp(String columnName, Calendar cal) throws SQLException {
357
        return getDelegate().getTimestamp(columnName, cal);
358
    }
359
 
360
    public Timestamp getTimestamp(String columnName) throws SQLException {
361
        return getDelegate().getTimestamp(this.findColumn(columnName));
362
    }
363
 
364
    public int getType() throws SQLException {
365
        return getDelegate().getType();
366
    }
367
 
368
    public InputStream getUnicodeStream(int columnIndex) throws SQLException {
369
        return getDelegate().getUnicodeStream(columnIndex);
370
    }
371
 
372
    public InputStream getUnicodeStream(String columnName) throws SQLException {
373
        return getDelegate().getUnicodeStream(this.findColumn(columnName));
374
    }
375
 
376
    public URL getURL(int columnIndex) throws SQLException {
377
        return getDelegate().getURL(columnIndex);
378
    }
379
 
380
    public URL getURL(String columnName) throws SQLException {
381
        return getDelegate().getURL(this.findColumn(columnName));
382
    }
383
 
384
    // **
385
 
386
    public SQLWarning getWarnings() throws SQLException {
387
        return getDelegate().getWarnings();
388
    }
389
 
390
    public void insertRow() throws SQLException {
391
        getDelegate().insertRow();
392
    }
393
 
394
    public boolean isAfterLast() throws SQLException {
395
        return getDelegate().isAfterLast();
396
    }
397
 
398
    public boolean isBeforeFirst() throws SQLException {
399
        return getDelegate().isBeforeFirst();
400
    }
401
 
402
    public boolean isFirst() throws SQLException {
403
        return getDelegate().isFirst();
404
    }
405
 
406
    public boolean isLast() throws SQLException {
407
        return getDelegate().isLast();
408
    }
409
 
410
    public boolean last() throws SQLException {
411
        return getDelegate().last();
412
    }
413
 
414
    public void moveToCurrentRow() throws SQLException {
415
        getDelegate().moveToCurrentRow();
416
    }
417
 
418
    public void moveToInsertRow() throws SQLException {
419
        getDelegate().moveToInsertRow();
420
    }
421
 
422
    public boolean next() throws SQLException {
423
        return getDelegate().next();
424
    }
425
 
426
    public boolean previous() throws SQLException {
427
        return getDelegate().previous();
428
    }
429
 
430
    public void refreshRow() throws SQLException {
431
        getDelegate().refreshRow();
432
    }
433
 
434
    public boolean relative(int rows) throws SQLException {
435
        return getDelegate().relative(rows);
436
    }
437
 
438
    public boolean rowDeleted() throws SQLException {
439
        return getDelegate().rowDeleted();
440
    }
441
 
442
    public boolean rowInserted() throws SQLException {
443
        return getDelegate().rowInserted();
444
    }
445
 
446
    public boolean rowUpdated() throws SQLException {
447
        return getDelegate().rowUpdated();
448
    }
449
 
450
    public void setFetchDirection(int direction) throws SQLException {
451
        getDelegate().setFetchDirection(direction);
452
    }
453
 
454
    public void setFetchSize(int rows) throws SQLException {
455
        getDelegate().setFetchSize(rows);
456
    }
457
 
458
    // update*
459
 
460
    public void updateArray(int columnIndex, Array x) throws SQLException {
461
        getDelegate().updateArray(columnIndex, x);
462
    }
463
 
464
    public void updateArray(String columnName, Array x) throws SQLException {
465
        getDelegate().updateArray(columnName, x);
466
    }
467
 
468
    public void updateAsciiStream(int columnIndex, InputStream x, int length) throws SQLException {
469
        getDelegate().updateAsciiStream(columnIndex, x, length);
470
    }
471
 
472
    public void updateAsciiStream(String columnName, InputStream x, int length) throws SQLException {
473
        getDelegate().updateAsciiStream(columnName, x, length);
474
    }
475
 
476
    public void updateBigDecimal(int columnIndex, BigDecimal x) throws SQLException {
477
        getDelegate().updateBigDecimal(columnIndex, x);
478
    }
479
 
480
    public void updateBigDecimal(String columnName, BigDecimal x) throws SQLException {
481
        getDelegate().updateBigDecimal(columnName, x);
482
    }
483
 
484
    public void updateBinaryStream(int columnIndex, InputStream x, int length) throws SQLException {
485
        getDelegate().updateBinaryStream(columnIndex, x, length);
486
    }
487
 
488
    public void updateBinaryStream(String columnName, InputStream x, int length) throws SQLException {
489
        getDelegate().updateBinaryStream(columnName, x, length);
490
    }
491
 
492
    public void updateBlob(int columnIndex, Blob x) throws SQLException {
493
        getDelegate().updateBlob(columnIndex, x);
494
    }
495
 
496
    public void updateBlob(String columnName, Blob x) throws SQLException {
497
        getDelegate().updateBlob(columnName, x);
498
    }
499
 
500
    public void updateBoolean(int columnIndex, boolean x) throws SQLException {
501
        getDelegate().updateBoolean(columnIndex, x);
502
    }
503
 
504
    public void updateBoolean(String columnName, boolean x) throws SQLException {
505
        getDelegate().updateBoolean(columnName, x);
506
    }
507
 
508
    public void updateByte(int columnIndex, byte x) throws SQLException {
509
        getDelegate().updateByte(columnIndex, x);
510
    }
511
 
512
    public void updateByte(String columnName, byte x) throws SQLException {
513
        getDelegate().updateByte(columnName, x);
514
    }
515
 
516
    public void updateBytes(int columnIndex, byte[] x) throws SQLException {
517
        getDelegate().updateBytes(columnIndex, x);
518
    }
519
 
520
    public void updateBytes(String columnName, byte[] x) throws SQLException {
521
        getDelegate().updateBytes(columnName, x);
522
    }
523
 
524
    public void updateCharacterStream(int columnIndex, Reader x, int length) throws SQLException {
525
        getDelegate().updateCharacterStream(columnIndex, x, length);
526
    }
527
 
528
    public void updateCharacterStream(String columnName, Reader reader, int length) throws SQLException {
529
        getDelegate().updateCharacterStream(columnName, reader, length);
530
    }
531
 
532
    public void updateClob(int columnIndex, Clob x) throws SQLException {
533
        getDelegate().updateClob(columnIndex, x);
534
    }
535
 
536
    public void updateClob(String columnName, Clob x) throws SQLException {
537
        getDelegate().updateClob(columnName, x);
538
    }
539
 
540
    public void updateDate(int columnIndex, Date x) throws SQLException {
541
        getDelegate().updateDate(columnIndex, x);
542
    }
543
 
544
    public void updateDate(String columnName, Date x) throws SQLException {
545
        getDelegate().updateDate(columnName, x);
546
    }
547
 
548
    public void updateDouble(int columnIndex, double x) throws SQLException {
549
        getDelegate().updateDouble(columnIndex, x);
550
    }
551
 
552
    public void updateDouble(String columnName, double x) throws SQLException {
553
        getDelegate().updateDouble(columnName, x);
554
    }
555
 
556
    public void updateFloat(int columnIndex, float x) throws SQLException {
557
        getDelegate().updateFloat(columnIndex, x);
558
    }
559
 
560
    public void updateFloat(String columnName, float x) throws SQLException {
561
        getDelegate().updateFloat(columnName, x);
562
    }
563
 
564
    public void updateInt(int columnIndex, int x) throws SQLException {
565
        getDelegate().updateInt(columnIndex, x);
566
    }
567
 
568
    public void updateInt(String columnName, int x) throws SQLException {
569
        getDelegate().updateInt(columnName, x);
570
    }
571
 
572
    public void updateLong(int columnIndex, long x) throws SQLException {
573
        getDelegate().updateLong(columnIndex, x);
574
    }
575
 
576
    public void updateLong(String columnName, long x) throws SQLException {
577
        getDelegate().updateLong(columnName, x);
578
    }
579
 
580
    public void updateNull(int columnIndex) throws SQLException {
581
        getDelegate().updateNull(columnIndex);
582
    }
583
 
584
    public void updateNull(String columnName) throws SQLException {
585
        getDelegate().updateNull(columnName);
586
    }
587
 
588
    public void updateObject(int columnIndex, Object x, int scale) throws SQLException {
589
        getDelegate().updateObject(columnIndex, x, scale);
590
    }
591
 
592
    public void updateObject(int columnIndex, Object x) throws SQLException {
593
        getDelegate().updateObject(columnIndex, x);
594
    }
595
 
596
    public void updateObject(String columnName, Object x, int scale) throws SQLException {
597
        getDelegate().updateObject(columnName, x, scale);
598
    }
599
 
600
    public void updateObject(String columnName, Object x) throws SQLException {
601
        getDelegate().updateObject(columnName, x);
602
    }
603
 
604
    public void updateRef(int columnIndex, Ref x) throws SQLException {
605
        getDelegate().updateRef(columnIndex, x);
606
    }
607
 
608
    public void updateRef(String columnName, Ref x) throws SQLException {
609
        getDelegate().updateRef(columnName, x);
610
    }
611
 
612
    public void updateRow() throws SQLException {
613
        getDelegate().updateRow();
614
    }
615
 
616
    public void updateShort(int columnIndex, short x) throws SQLException {
617
        getDelegate().updateShort(columnIndex, x);
618
    }
619
 
620
    public void updateShort(String columnName, short x) throws SQLException {
621
        getDelegate().updateShort(columnName, x);
622
    }
623
 
624
    public void updateString(int columnIndex, String x) throws SQLException {
625
        getDelegate().updateString(columnIndex, x);
626
    }
627
 
628
    public void updateString(String columnName, String x) throws SQLException {
629
        getDelegate().updateString(columnName, x);
630
    }
631
 
632
    public void updateTime(int columnIndex, Time x) throws SQLException {
633
        getDelegate().updateTime(columnIndex, x);
634
    }
635
 
636
    public void updateTime(String columnName, Time x) throws SQLException {
637
        getDelegate().updateTime(columnName, x);
638
    }
639
 
640
    public void updateTimestamp(int columnIndex, Timestamp x) throws SQLException {
641
        getDelegate().updateTimestamp(columnIndex, x);
642
    }
643
 
644
    public void updateTimestamp(String columnName, Timestamp x) throws SQLException {
645
        getDelegate().updateTimestamp(columnName, x);
646
    }
647
 
648
    public boolean wasNull() throws SQLException {
649
        return getDelegate().wasNull();
650
    }
651
 
652
    public int getHoldability() throws SQLException {
653
        return getDelegate().getHoldability();
654
    }
655
 
656
    public Reader getNCharacterStream(int columnIndex) throws SQLException {
657
        return getDelegate().getNCharacterStream(columnIndex);
658
    }
659
 
660
    public Reader getNCharacterStream(String columnLabel) throws SQLException {
661
        return getDelegate().getNCharacterStream(columnLabel);
662
    }
663
 
664
    public NClob getNClob(int columnIndex) throws SQLException {
665
        return getDelegate().getNClob(columnIndex);
666
    }
667
 
668
    public NClob getNClob(String columnLabel) throws SQLException {
669
        return getDelegate().getNClob(columnLabel);
670
    }
671
 
672
    public String getNString(int columnIndex) throws SQLException {
673
        return getDelegate().getNString(columnIndex);
674
    }
675
 
676
    public String getNString(String columnLabel) throws SQLException {
677
        return getDelegate().getNString(columnLabel);
678
    }
679
 
680
    public RowId getRowId(int columnIndex) throws SQLException {
681
        return getDelegate().getRowId(columnIndex);
682
    }
683
 
684
    public RowId getRowId(String columnLabel) throws SQLException {
685
        return getDelegate().getRowId(columnLabel);
686
    }
687
 
688
    public SQLXML getSQLXML(int columnIndex) throws SQLException {
689
        return getDelegate().getSQLXML(columnIndex);
690
    }
691
 
692
    public SQLXML getSQLXML(String columnLabel) throws SQLException {
693
        return getDelegate().getSQLXML(columnLabel);
694
    }
695
 
696
    public boolean isClosed() throws SQLException {
697
        return getDelegate().isClosed();
698
    }
699
 
700
    public boolean isWrapperFor(Class<?> iface) throws SQLException {
701
        return getDelegate().isWrapperFor(iface);
702
    }
703
 
704
    public <T> T unwrap(Class<T> iface) throws SQLException {
705
        return getDelegate().unwrap(iface);
706
    }
707
 
708
    public void updateAsciiStream(int columnIndex, InputStream x, long length) throws SQLException {
709
        getDelegate().updateAsciiStream(columnIndex, x, length);
710
    }
711
 
712
    public void updateAsciiStream(int columnIndex, InputStream x) throws SQLException {
713
        getDelegate().updateAsciiStream(columnIndex, x);
714
    }
715
 
716
    public void updateAsciiStream(String columnLabel, InputStream x, long length) throws SQLException {
717
        getDelegate().updateAsciiStream(columnLabel, x, length);
718
    }
719
 
720
    public void updateAsciiStream(String columnLabel, InputStream x) throws SQLException {
721
        getDelegate().updateAsciiStream(columnLabel, x);
722
    }
723
 
724
    public void updateBinaryStream(int columnIndex, InputStream x, long length) throws SQLException {
725
        getDelegate().updateBinaryStream(columnIndex, x, length);
726
    }
727
 
728
    public void updateBinaryStream(int columnIndex, InputStream x) throws SQLException {
729
        getDelegate().updateBinaryStream(columnIndex, x);
730
    }
731
 
732
    public void updateBinaryStream(String columnLabel, InputStream x, long length) throws SQLException {
733
        getDelegate().updateBinaryStream(columnLabel, x, length);
734
    }
735
 
736
    public void updateBinaryStream(String columnLabel, InputStream x) throws SQLException {
737
        getDelegate().updateBinaryStream(columnLabel, x);
738
    }
739
 
740
    public void updateBlob(int columnIndex, InputStream inputStream, long length) throws SQLException {
741
        getDelegate().updateBlob(columnIndex, inputStream, length);
742
    }
743
 
744
    public void updateBlob(int columnIndex, InputStream inputStream) throws SQLException {
745
        getDelegate().updateBlob(columnIndex, inputStream);
746
    }
747
 
748
    public void updateBlob(String columnLabel, InputStream inputStream, long length) throws SQLException {
749
        getDelegate().updateBlob(columnLabel, inputStream, length);
750
    }
751
 
752
    public void updateBlob(String columnLabel, InputStream inputStream) throws SQLException {
753
        getDelegate().updateBlob(columnLabel, inputStream);
754
    }
755
 
756
    public void updateCharacterStream(int columnIndex, Reader x, long length) throws SQLException {
757
        getDelegate().updateCharacterStream(columnIndex, x, length);
758
    }
759
 
760
    public void updateCharacterStream(int columnIndex, Reader x) throws SQLException {
761
        getDelegate().updateCharacterStream(columnIndex, x);
762
    }
763
 
764
    public void updateCharacterStream(String columnLabel, Reader reader, long length) throws SQLException {
765
        getDelegate().updateCharacterStream(columnLabel, reader, length);
766
    }
767
 
768
    public void updateCharacterStream(String columnLabel, Reader reader) throws SQLException {
769
        getDelegate().updateCharacterStream(columnLabel, reader);
770
    }
771
 
772
    public void updateClob(int columnIndex, Reader reader, long length) throws SQLException {
773
        getDelegate().updateClob(columnIndex, reader, length);
774
    }
775
 
776
    public void updateClob(int columnIndex, Reader reader) throws SQLException {
777
        getDelegate().updateClob(columnIndex, reader);
778
    }
779
 
780
    public void updateClob(String columnLabel, Reader reader, long length) throws SQLException {
781
        getDelegate().updateClob(columnLabel, reader, length);
782
    }
783
 
784
    public void updateClob(String columnLabel, Reader reader) throws SQLException {
785
        getDelegate().updateClob(columnLabel, reader);
786
    }
787
 
788
    public void updateNCharacterStream(int columnIndex, Reader x, long length) throws SQLException {
789
        getDelegate().updateNCharacterStream(columnIndex, x, length);
790
    }
791
 
792
    public void updateNCharacterStream(int columnIndex, Reader x) throws SQLException {
793
        getDelegate().updateNCharacterStream(columnIndex, x);
794
    }
795
 
796
    public void updateNCharacterStream(String columnLabel, Reader reader, long length) throws SQLException {
797
        getDelegate().updateNCharacterStream(columnLabel, reader, length);
798
    }
799
 
800
    public void updateNCharacterStream(String columnLabel, Reader reader) throws SQLException {
801
        getDelegate().updateNCharacterStream(columnLabel, reader);
802
    }
803
 
804
    public void updateNClob(int columnIndex, NClob clob) throws SQLException {
805
        getDelegate().updateNClob(columnIndex, clob);
806
    }
807
 
808
    public void updateNClob(int columnIndex, Reader reader, long length) throws SQLException {
809
        getDelegate().updateNClob(columnIndex, reader, length);
810
    }
811
 
812
    public void updateNClob(int columnIndex, Reader reader) throws SQLException {
813
        getDelegate().updateNClob(columnIndex, reader);
814
    }
815
 
816
    public void updateNClob(String columnLabel, NClob clob) throws SQLException {
817
        getDelegate().updateNClob(columnLabel, clob);
818
    }
819
 
820
    public void updateNClob(String columnLabel, Reader reader, long length) throws SQLException {
821
        getDelegate().updateNClob(columnLabel, reader, length);
822
    }
823
 
824
    public void updateNClob(String columnLabel, Reader reader) throws SQLException {
825
        getDelegate().updateNClob(columnLabel, reader);
826
    }
827
 
828
    public void updateNString(int columnIndex, String string) throws SQLException {
829
        getDelegate().updateNString(columnIndex, string);
830
    }
831
 
832
    public void updateNString(String columnLabel, String string) throws SQLException {
833
        getDelegate().updateNString(columnLabel, string);
834
    }
835
 
836
    public void updateRowId(int columnIndex, RowId x) throws SQLException {
837
        getDelegate().updateRowId(columnIndex, x);
838
    }
839
 
840
    public void updateRowId(String columnLabel, RowId x) throws SQLException {
841
        getDelegate().updateRowId(columnLabel, x);
842
    }
843
 
844
    public void updateSQLXML(int columnIndex, SQLXML xmlObject) throws SQLException {
845
        getDelegate().updateSQLXML(columnIndex, xmlObject);
846
    }
847
 
848
    public void updateSQLXML(String columnLabel, SQLXML xmlObject) throws SQLException {
849
        getDelegate().updateSQLXML(columnLabel, xmlObject);
850
    }
851
}