KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > h2 > jdbc > JdbcCallableStatement


1 /*
2  * Copyright 2004-2006 H2 Group. Licensed under the H2 License, Version 1.0 (http://h2database.com/html/license.html).
3  * Initial Developer: H2 Group
4  */

5 package org.h2.jdbc;
6
7 import java.io.InputStream JavaDoc;
8 import java.io.Reader JavaDoc;
9 import java.math.BigDecimal JavaDoc;
10 import java.net.URL JavaDoc;
11 import java.sql.*;
12 import java.util.Calendar JavaDoc;
13 import java.util.Map JavaDoc;
14
15 import org.h2.engine.SessionInterface;
16 import org.h2.message.Message;
17 import org.h2.message.TraceObject;
18
19 /**
20  * Represents a callable statement.
21  *
22  */

23 public class JdbcCallableStatement extends JdbcPreparedStatement implements CallableStatement {
24
25     /**
26      * THIS FEATURE IS NOT SUPPORTED.
27      *
28      * @throws SQLException Unsupported Feature (SQL State 0A000)
29      */

30     public void registerOutParameter(int parameterIndex, int sqlType) throws SQLException {
31         throw Message.getUnsupportedException();
32     }
33
34     /**
35      * THIS FEATURE IS NOT SUPPORTED.
36      *
37      * @throws SQLException Unsupported Feature (SQL State 0A000)
38      */

39     public void registerOutParameter(int parameterIndex, int sqlType, int scale) throws SQLException {
40         throw Message.getUnsupportedException();
41     }
42
43     /**
44      * THIS FEATURE IS NOT SUPPORTED.
45      *
46      * @throws SQLException Unsupported Feature (SQL State 0A000)
47      */

48     public boolean wasNull() throws SQLException {
49         throw Message.getUnsupportedException();
50     }
51
52     /**
53      * THIS FEATURE IS NOT SUPPORTED.
54      *
55      * @throws SQLException Unsupported Feature (SQL State 0A000)
56      */

57     public String JavaDoc getString(int parameterIndex) throws SQLException {
58         throw Message.getUnsupportedException();
59     }
60
61     /**
62      * THIS FEATURE IS NOT SUPPORTED.
63      *
64      * @throws SQLException Unsupported Feature (SQL State 0A000)
65      */

66     public boolean getBoolean(int parameterIndex) throws SQLException {
67         throw Message.getUnsupportedException();
68     }
69
70     /**
71      * THIS FEATURE IS NOT SUPPORTED.
72      *
73      * @throws SQLException Unsupported Feature (SQL State 0A000)
74      */

75     public byte getByte(int parameterIndex) throws SQLException {
76         throw Message.getUnsupportedException();
77     }
78
79     /**
80      * THIS FEATURE IS NOT SUPPORTED.
81      *
82      * @throws SQLException Unsupported Feature (SQL State 0A000)
83      */

84     public short getShort(int parameterIndex) throws SQLException {
85         throw Message.getUnsupportedException();
86     }
87
88     /**
89      * THIS FEATURE IS NOT SUPPORTED.
90      *
91      * @throws SQLException Unsupported Feature (SQL State 0A000)
92      */

93     public int getInt(int parameterIndex) throws SQLException {
94         throw Message.getUnsupportedException();
95     }
96
97     /**
98      * THIS FEATURE IS NOT SUPPORTED.
99      *
100      * @throws SQLException Unsupported Feature (SQL State 0A000)
101      */

102     public long getLong(int parameterIndex) throws SQLException {
103         throw Message.getUnsupportedException();
104     }
105
106     /**
107      * THIS FEATURE IS NOT SUPPORTED.
108      *
109      * @throws SQLException Unsupported Feature (SQL State 0A000)
110      */

111     public float getFloat(int parameterIndex) throws SQLException {
112         throw Message.getUnsupportedException();
113     }
114
115     /**
116      * THIS FEATURE IS NOT SUPPORTED.
117      *
118      * @throws SQLException Unsupported Feature (SQL State 0A000)
119      */

120     public double getDouble(int parameterIndex) throws SQLException {
121         throw Message.getUnsupportedException();
122     }
123
124     /**
125      * This feature is deprecated and not supported.
126      * @deprecated
127      *
128      * @throws SQLException Unsupported Feature (SQL State 0A000)
129      */

130     public BigDecimal JavaDoc getBigDecimal(int parameterIndex, int scale) throws SQLException {
131         throw Message.getUnsupportedException();
132     }
133
134     /**
135      * THIS FEATURE IS NOT SUPPORTED.
136      *
137      * @throws SQLException Unsupported Feature (SQL State 0A000)
138      */

139     public byte[] getBytes(int parameterIndex) throws SQLException {
140         throw Message.getUnsupportedException();
141     }
142
143     /**
144      * THIS FEATURE IS NOT SUPPORTED.
145      *
146      * @throws SQLException Unsupported Feature (SQL State 0A000)
147      */

148     public Date getDate(int parameterIndex) throws SQLException {
149         throw Message.getUnsupportedException();
150     }
151
152     /**
153      * THIS FEATURE IS NOT SUPPORTED.
154      *
155      * @throws SQLException Unsupported Feature (SQL State 0A000)
156      */

157     public Time getTime(int parameterIndex) throws SQLException {
158         throw Message.getUnsupportedException();
159     }
160
161     /**
162      * THIS FEATURE IS NOT SUPPORTED.
163      *
164      * @throws SQLException Unsupported Feature (SQL State 0A000)
165      */

166     public Timestamp getTimestamp(int parameterIndex) throws SQLException {
167         throw Message.getUnsupportedException();
168     }
169
170     /**
171      * THIS FEATURE IS NOT SUPPORTED.
172      *
173      * @throws SQLException Unsupported Feature (SQL State 0A000)
174      */

175     public Object JavaDoc getObject(int parameterIndex) throws SQLException {
176         throw Message.getUnsupportedException();
177     }
178
179     /**
180      * THIS FEATURE IS NOT SUPPORTED.
181      *
182      * @throws SQLException Unsupported Feature (SQL State 0A000)
183      */

184     public BigDecimal JavaDoc getBigDecimal(int parameterIndex) throws SQLException {
185         throw Message.getUnsupportedException();
186     }
187
188     /**
189      * THIS FEATURE IS NOT SUPPORTED.
190      *
191      * @throws SQLException Unsupported Feature (SQL State 0A000)
192      */

193     public Object JavaDoc getObject (int i, Map JavaDoc map) throws SQLException {
194         throw Message.getUnsupportedException();
195     }
196
197     /**
198      * THIS FEATURE IS NOT SUPPORTED.
199      *
200      * @throws SQLException Unsupported Feature (SQL State 0A000)
201      */

202     public Ref getRef (int i) throws SQLException {
203         throw Message.getUnsupportedException();
204     }
205
206     /**
207      * THIS FEATURE IS NOT SUPPORTED.
208      *
209      * @throws SQLException Unsupported Feature (SQL State 0A000)
210      */

211     public Blob getBlob (int i) throws SQLException {
212         throw Message.getUnsupportedException();
213     }
214
215     /**
216      * THIS FEATURE IS NOT SUPPORTED.
217      *
218      * @throws SQLException Unsupported Feature (SQL State 0A000)
219      */

220     public Clob getClob (int i) throws SQLException {
221         throw Message.getUnsupportedException();
222     }
223
224     /**
225      * THIS FEATURE IS NOT SUPPORTED.
226      *
227      * @throws SQLException Unsupported Feature (SQL State 0A000)
228      */

229     public Array getArray (int i) throws SQLException {
230         throw Message.getUnsupportedException();
231     }
232
233     /**
234      * THIS FEATURE IS NOT SUPPORTED.
235      *
236      * @throws SQLException Unsupported Feature (SQL State 0A000)
237      */

238     public Date getDate(int parameterIndex, Calendar JavaDoc cal) throws SQLException {
239         throw Message.getUnsupportedException();
240     }
241
242     /**
243      * THIS FEATURE IS NOT SUPPORTED.
244      *
245      * @throws SQLException Unsupported Feature (SQL State 0A000)
246      */

247     public Time getTime(int parameterIndex, Calendar JavaDoc cal) throws SQLException {
248         throw Message.getUnsupportedException();
249     }
250
251     /**
252      * THIS FEATURE IS NOT SUPPORTED.
253      *
254      * @throws SQLException Unsupported Feature (SQL State 0A000)
255      */

256     public Timestamp getTimestamp(int parameterIndex, Calendar JavaDoc cal) throws SQLException {
257         throw Message.getUnsupportedException();
258     }
259
260     /**
261      * THIS FEATURE IS NOT SUPPORTED.
262      *
263      * @throws SQLException Unsupported Feature (SQL State 0A000)
264      */

265     public void registerOutParameter (int paramIndex, int sqlType, String JavaDoc typeName) throws SQLException {
266         throw Message.getUnsupportedException();
267     }
268
269     /**
270      * THIS FEATURE IS NOT SUPPORTED.
271      *
272      * @throws SQLException Unsupported Feature (SQL State 0A000)
273      */

274     public URL JavaDoc getURL(String JavaDoc parameterName) throws SQLException {
275         throw Message.getUnsupportedException();
276     }
277
278     /**
279      * THIS FEATURE IS NOT SUPPORTED.
280      *
281      * @throws SQLException Unsupported Feature (SQL State 0A000)
282      */

283     public Timestamp getTimestamp(String JavaDoc parameterName, Calendar JavaDoc cal) throws SQLException {
284         throw Message.getUnsupportedException();
285     }
286
287     /**
288      * THIS FEATURE IS NOT SUPPORTED.
289      *
290      * @throws SQLException Unsupported Feature (SQL State 0A000)
291      */

292     public Time getTime(String JavaDoc parameterName, Calendar JavaDoc cal) throws SQLException {
293         throw Message.getUnsupportedException();
294     }
295
296     /**
297      * THIS FEATURE IS NOT SUPPORTED.
298      *
299      * @throws SQLException Unsupported Feature (SQL State 0A000)
300      */

301     public Date getDate(String JavaDoc parameterName, Calendar JavaDoc cal) throws SQLException {
302         throw Message.getUnsupportedException();
303     }
304
305     /**
306      * THIS FEATURE IS NOT SUPPORTED.
307      *
308      * @throws SQLException Unsupported Feature (SQL State 0A000)
309      */

310     public Array getArray(String JavaDoc parameterName) throws SQLException {
311         throw Message.getUnsupportedException();
312     }
313
314     /**
315      * THIS FEATURE IS NOT SUPPORTED.
316      *
317      * @throws SQLException Unsupported Feature (SQL State 0A000)
318      */

319     public Clob getClob(String JavaDoc parameterName) throws SQLException {
320         throw Message.getUnsupportedException();
321     }
322
323     /**
324      * THIS FEATURE IS NOT SUPPORTED.
325      *
326      * @throws SQLException Unsupported Feature (SQL State 0A000)
327      */

328     public Blob getBlob(String JavaDoc parameterName) throws SQLException {
329         throw Message.getUnsupportedException();
330     }
331
332     /**
333      * THIS FEATURE IS NOT SUPPORTED.
334      *
335      * @throws SQLException Unsupported Feature (SQL State 0A000)
336      */

337     public Ref getRef(String JavaDoc parameterName) throws SQLException {
338         throw Message.getUnsupportedException();
339     }
340
341     /**
342      * THIS FEATURE IS NOT SUPPORTED.
343      *
344      * @throws SQLException Unsupported Feature (SQL State 0A000)
345      */

346     public Object JavaDoc getObject(String JavaDoc parameterName, Map JavaDoc map) throws SQLException {
347         throw Message.getUnsupportedException();
348     }
349
350     /**
351      * THIS FEATURE IS NOT SUPPORTED.
352      *
353      * @throws SQLException Unsupported Feature (SQL State 0A000)
354      */

355     public BigDecimal JavaDoc getBigDecimal(String JavaDoc parameterName) throws SQLException {
356         throw Message.getUnsupportedException();
357     }
358
359     /**
360      * THIS FEATURE IS NOT SUPPORTED.
361      *
362      * @throws SQLException Unsupported Feature (SQL State 0A000)
363      */

364     public Object JavaDoc getObject(String JavaDoc parameterName) throws SQLException {
365         throw Message.getUnsupportedException();
366     }
367
368     /**
369      * THIS FEATURE IS NOT SUPPORTED.
370      *
371      * @throws SQLException Unsupported Feature (SQL State 0A000)
372      */

373     public Timestamp getTimestamp(String JavaDoc parameterName) throws SQLException {
374         throw Message.getUnsupportedException();
375     }
376
377     /**
378      * THIS FEATURE IS NOT SUPPORTED.
379      *
380      * @throws SQLException Unsupported Feature (SQL State 0A000)
381      */

382     public Time getTime(String JavaDoc parameterName) throws SQLException {
383         throw Message.getUnsupportedException();
384     }
385
386     /**
387      * THIS FEATURE IS NOT SUPPORTED.
388      *
389      * @throws SQLException Unsupported Feature (SQL State 0A000)
390      */

391     public Date getDate(String JavaDoc parameterName) throws SQLException {
392         throw Message.getUnsupportedException();
393     }
394
395     /**
396      * THIS FEATURE IS NOT SUPPORTED.
397      *
398      * @throws SQLException Unsupported Feature (SQL State 0A000)
399      */

400     public byte[] getBytes(String JavaDoc parameterName) throws SQLException {
401         throw Message.getUnsupportedException();
402     }
403
404     /**
405      * THIS FEATURE IS NOT SUPPORTED.
406      *
407      * @throws SQLException Unsupported Feature (SQL State 0A000)
408      */

409     public double getDouble(String JavaDoc parameterName) throws SQLException {
410         throw Message.getUnsupportedException();
411     }
412
413     /**
414      * THIS FEATURE IS NOT SUPPORTED.
415      *
416      * @throws SQLException Unsupported Feature (SQL State 0A000)
417      */

418     public float getFloat(String JavaDoc parameterName) throws SQLException {
419         throw Message.getUnsupportedException();
420     }
421
422     /**
423      * THIS FEATURE IS NOT SUPPORTED.
424      *
425      * @throws SQLException Unsupported Feature (SQL State 0A000)
426      */

427     public long getLong(String JavaDoc parameterName) throws SQLException {
428         throw Message.getUnsupportedException();
429     }
430
431     /**
432      * THIS FEATURE IS NOT SUPPORTED.
433      *
434      * @throws SQLException Unsupported Feature (SQL State 0A000)
435      */

436     public int getInt(String JavaDoc parameterName) throws SQLException {
437         throw Message.getUnsupportedException();
438     }
439
440     /**
441      * THIS FEATURE IS NOT SUPPORTED.
442      *
443      * @throws SQLException Unsupported Feature (SQL State 0A000)
444      */

445     public short getShort(String JavaDoc parameterName) throws SQLException {
446         throw Message.getUnsupportedException();
447     }
448
449     /**
450      * THIS FEATURE IS NOT SUPPORTED.
451      *
452      * @throws SQLException Unsupported Feature (SQL State 0A000)
453      */

454     public byte getByte(String JavaDoc parameterName) throws SQLException {
455         throw Message.getUnsupportedException();
456     }
457
458     /**
459      * THIS FEATURE IS NOT SUPPORTED.
460      *
461      * @throws SQLException Unsupported Feature (SQL State 0A000)
462      */

463     public boolean getBoolean(String JavaDoc parameterName) throws SQLException {
464         throw Message.getUnsupportedException();
465     }
466
467     /**
468      * THIS FEATURE IS NOT SUPPORTED.
469      *
470      * @throws SQLException Unsupported Feature (SQL State 0A000)
471      */

472     public String JavaDoc getString(String JavaDoc parameterName) throws SQLException {
473         throw Message.getUnsupportedException();
474     }
475
476     // --- setters --------------------------------------------------------------------------------------------------------------------
477

478     /**
479      * THIS FEATURE IS NOT SUPPORTED.
480      *
481      * @throws SQLException Unsupported Feature (SQL State 0A000)
482      */

483     public void setNull(String JavaDoc parameterName, int sqlType, String JavaDoc typeName) throws SQLException {
484         throw Message.getUnsupportedException();
485     }
486
487     /**
488      * THIS FEATURE IS NOT SUPPORTED.
489      *
490      * @throws SQLException Unsupported Feature (SQL State 0A000)
491      */

492     public void setTimestamp(String JavaDoc parameterName, Timestamp x, Calendar JavaDoc cal) throws SQLException {
493         throw Message.getUnsupportedException();
494     }
495
496     /**
497      * THIS FEATURE IS NOT SUPPORTED.
498      *
499      * @throws SQLException Unsupported Feature (SQL State 0A000)
500      */

501     public void setTime(String JavaDoc parameterName, Time x, Calendar JavaDoc cal) throws SQLException {
502         throw Message.getUnsupportedException();
503     }
504
505     /**
506      * THIS FEATURE IS NOT SUPPORTED.
507      *
508      * @throws SQLException Unsupported Feature (SQL State 0A000)
509      */

510     public void setDate(String JavaDoc parameterName, Date x, Calendar JavaDoc cal) throws SQLException {
511         throw Message.getUnsupportedException();
512     }
513
514     /**
515      * THIS FEATURE IS NOT SUPPORTED.
516      *
517      * @throws SQLException Unsupported Feature (SQL State 0A000)
518      */

519     public void setCharacterStream(String JavaDoc parameterName, Reader JavaDoc reader, int length) throws SQLException {
520         throw Message.getUnsupportedException();
521     }
522
523     /**
524      * THIS FEATURE IS NOT SUPPORTED.
525      *
526      * @throws SQLException Unsupported Feature (SQL State 0A000)
527      */

528     public void setObject(String JavaDoc parameterName, Object JavaDoc x) throws SQLException {
529         throw Message.getUnsupportedException();
530     }
531
532     /**
533      * THIS FEATURE IS NOT SUPPORTED.
534      *
535      * @throws SQLException Unsupported Feature (SQL State 0A000)
536      */

537     public void setObject(String JavaDoc parameterName, Object JavaDoc x, int targetSqlType) throws SQLException {
538         throw Message.getUnsupportedException();
539     }
540
541     /**
542      * THIS FEATURE IS NOT SUPPORTED.
543      *
544      * @throws SQLException Unsupported Feature (SQL State 0A000)
545      */

546     public void setObject(String JavaDoc parameterName, Object JavaDoc x, int targetSqlType, int scale) throws SQLException {
547         throw Message.getUnsupportedException();
548     }
549
550     /**
551      * THIS FEATURE IS NOT SUPPORTED.
552      *
553      * @throws SQLException Unsupported Feature (SQL State 0A000)
554      */

555     public void setBinaryStream(String JavaDoc parameterName, InputStream JavaDoc x, int length) throws SQLException {
556         throw Message.getUnsupportedException();
557     }
558
559     /**
560      * THIS FEATURE IS NOT SUPPORTED.
561      *
562      * @throws SQLException Unsupported Feature (SQL State 0A000)
563      */

564     public void setAsciiStream(String JavaDoc parameterName, InputStream JavaDoc x, long length) throws SQLException {
565         throw Message.getUnsupportedException();
566     }
567
568     /**
569      * THIS FEATURE IS NOT SUPPORTED.
570      *
571      * @throws SQLException Unsupported Feature (SQL State 0A000)
572      */

573     public void setTimestamp(String JavaDoc parameterName, Timestamp x) throws SQLException {
574         throw Message.getUnsupportedException();
575     }
576
577     /**
578      * THIS FEATURE IS NOT SUPPORTED.
579      *
580      * @throws SQLException Unsupported Feature (SQL State 0A000)
581      */

582     public void setTime(String JavaDoc parameterName, Time x) throws SQLException {
583         throw Message.getUnsupportedException();
584     }
585
586     /**
587      * THIS FEATURE IS NOT SUPPORTED.
588      *
589      * @throws SQLException Unsupported Feature (SQL State 0A000)
590      */

591     public void setDate(String JavaDoc parameterName, Date x) throws SQLException {
592         throw Message.getUnsupportedException();
593     }
594
595     /**
596      * THIS FEATURE IS NOT SUPPORTED.
597      *
598      * @throws SQLException Unsupported Feature (SQL State 0A000)
599      */

600     public void setBytes(String JavaDoc parameterName, byte[] x) throws SQLException {
601         throw Message.getUnsupportedException();
602     }
603
604     /**
605      * THIS FEATURE IS NOT SUPPORTED.
606      *
607      * @throws SQLException Unsupported Feature (SQL State 0A000)
608      */

609     public void setString(String JavaDoc parameterName, String JavaDoc x) throws SQLException {
610         throw Message.getUnsupportedException();
611     }
612
613     /**
614      * THIS FEATURE IS NOT SUPPORTED.
615      *
616      * @throws SQLException Unsupported Feature (SQL State 0A000)
617      */

618     public void setBigDecimal(String JavaDoc parameterName, BigDecimal JavaDoc x) throws SQLException {
619         throw Message.getUnsupportedException();
620     }
621
622     /**
623      * THIS FEATURE IS NOT SUPPORTED.
624      *
625      * @throws SQLException Unsupported Feature (SQL State 0A000)
626      */

627     public void setDouble(String JavaDoc parameterName, double x) throws SQLException {
628         throw Message.getUnsupportedException();
629     }
630
631     /**
632      * THIS FEATURE IS NOT SUPPORTED.
633      *
634      * @throws SQLException Unsupported Feature (SQL State 0A000)
635      */

636     public void setFloat(String JavaDoc parameterName, float x) throws SQLException {
637         throw Message.getUnsupportedException();
638     }
639
640     /**
641      * THIS FEATURE IS NOT SUPPORTED.
642      *
643      * @throws SQLException Unsupported Feature (SQL State 0A000)
644      */

645     public void setLong(String JavaDoc parameterName, long x) throws SQLException {
646         throw Message.getUnsupportedException();
647     }
648
649     /**
650      * THIS FEATURE IS NOT SUPPORTED.
651      *
652      * @throws SQLException Unsupported Feature (SQL State 0A000)
653      */

654     public void setInt(String JavaDoc parameterName, int x) throws SQLException {
655         throw Message.getUnsupportedException();
656     }
657
658     /**
659      * THIS FEATURE IS NOT SUPPORTED.
660      *
661      * @throws SQLException Unsupported Feature (SQL State 0A000)
662      */

663     public void setShort(String JavaDoc parameterName, short x) throws SQLException {
664         throw Message.getUnsupportedException();
665     }
666
667     /**
668      * THIS FEATURE IS NOT SUPPORTED.
669      *
670      * @throws SQLException Unsupported Feature (SQL State 0A000)
671      */

672     public void setByte(String JavaDoc parameterName, byte x) throws SQLException {
673         throw Message.getUnsupportedException();
674     }
675
676     /**
677      * THIS FEATURE IS NOT SUPPORTED.
678      *
679      * @throws SQLException Unsupported Feature (SQL State 0A000)
680      */

681     public void setBoolean(String JavaDoc parameterName, boolean x) throws SQLException {
682         throw Message.getUnsupportedException();
683     }
684
685     /**
686      * THIS FEATURE IS NOT SUPPORTED.
687      *
688      * @throws SQLException Unsupported Feature (SQL State 0A000)
689      */

690     public void setNull(String JavaDoc parameterName, int sqlType) throws SQLException {
691         throw Message.getUnsupportedException();
692     }
693
694     /**
695      * THIS FEATURE IS NOT SUPPORTED.
696      *
697      * @throws SQLException Unsupported Feature (SQL State 0A000)
698      */

699     public void setURL(String JavaDoc parameterName, URL JavaDoc val) throws SQLException {
700         throw Message.getUnsupportedException();
701     }
702
703     /**
704      * THIS FEATURE IS NOT SUPPORTED.
705      *
706      * @throws SQLException Unsupported Feature (SQL State 0A000)
707      */

708     public URL JavaDoc getURL(int parameterIndex) throws SQLException {
709         throw Message.getUnsupportedException();
710     }
711
712     // --- other methods -------------------------------------------------------------------------------------------------
713

714     /**
715      * THIS FEATURE IS NOT SUPPORTED.
716      *
717      * @throws SQLException Unsupported Feature (SQL State 0A000)
718      */

719     public void registerOutParameter(String JavaDoc parameterName, int sqlType, String JavaDoc typeName) throws SQLException {
720         throw Message.getUnsupportedException();
721     }
722
723     /**
724      * THIS FEATURE IS NOT SUPPORTED.
725      *
726      * @throws SQLException Unsupported Feature (SQL State 0A000)
727      */

728     public void registerOutParameter(String JavaDoc parameterName, int sqlType, int scale) throws SQLException {
729         throw Message.getUnsupportedException();
730     }
731
732     /**
733      * THIS FEATURE IS NOT SUPPORTED.
734      *
735      * @throws SQLException Unsupported Feature (SQL State 0A000)
736      */

737     public void registerOutParameter(String JavaDoc parameterName, int sqlType) throws SQLException {
738         throw Message.getUnsupportedException();
739     }
740
741 // =============================================================
742

743     JdbcCallableStatement(SessionInterface session, JdbcConnection conn, String JavaDoc sql, int resultSetType, int id) throws SQLException {
744         super(session, conn, sql, resultSetType, id, false);
745         setTrace(session.getTrace(), TraceObject.CALLABLE_STATEMENT, id);
746     }
747
748     /**
749      * THIS FEATURE IS NOT SUPPORTED.
750      * @throws SQLException Unsupported Feature (SQL State 0A000)
751      */

752     //#ifdef JDK16
753
/*
754     public RowId getRowId(int parameterIndex) throws SQLException {
755         throw Message.getUnsupportedException();
756     }
757 */

758     //#endif
759

760     /**
761      * THIS FEATURE IS NOT SUPPORTED.
762      * @throws SQLException Unsupported Feature (SQL State 0A000)
763      */

764     //#ifdef JDK16
765
/*
766     public RowId getRowId(String parameterName) throws SQLException {
767         throw Message.getUnsupportedException();
768     }
769 */

770     //#endif
771

772     /**
773      * THIS FEATURE IS NOT SUPPORTED.
774      * @throws SQLException Unsupported Feature (SQL State 0A000)
775      */

776     //#ifdef JDK16
777
/*
778     public void setRowId(String parameterName, RowId x) throws SQLException {
779         throw Message.getUnsupportedException();
780     }
781 */

782     //#endif
783

784     /**
785      * THIS FEATURE IS NOT SUPPORTED.
786      * @throws SQLException Unsupported Feature (SQL State 0A000)
787      */

788     public void setNString(String JavaDoc parameterName, String JavaDoc value) throws SQLException {
789         throw Message.getUnsupportedException();
790     }
791
792     /**
793      * THIS FEATURE IS NOT SUPPORTED.
794      * @throws SQLException Unsupported Feature (SQL State 0A000)
795      */

796     public void setNCharacterStream(String JavaDoc parameterName, Reader JavaDoc value, long length) throws SQLException {
797         throw Message.getUnsupportedException();
798     }
799
800     /**
801      * THIS FEATURE IS NOT SUPPORTED.
802      * @throws SQLException Unsupported Feature (SQL State 0A000)
803      */

804     //#ifdef JDK16
805
/*
806     public void setNClob(String parameterName, NClob value) throws SQLException {
807         throw Message.getUnsupportedException();
808     }
809 */

810     //#endif
811

812     /**
813      * THIS FEATURE IS NOT SUPPORTED.
814      * @throws SQLException Unsupported Feature (SQL State 0A000)
815      */

816     public void setClob(String JavaDoc parameterName, Reader JavaDoc reader, long length) throws SQLException {
817         throw Message.getUnsupportedException();
818     }
819
820     /**
821      * THIS FEATURE IS NOT SUPPORTED.
822      * @throws SQLException Unsupported Feature (SQL State 0A000)
823      */

824     public void setBlob(String JavaDoc parameterName, InputStream JavaDoc inputStream, long length) throws SQLException {
825         throw Message.getUnsupportedException();
826     }
827
828     /**
829      * THIS FEATURE IS NOT SUPPORTED.
830      * @throws SQLException Unsupported Feature (SQL State 0A000)
831      */

832     public void setNClob(String JavaDoc parameterName, Reader JavaDoc reader, long length) throws SQLException {
833         throw Message.getUnsupportedException();
834     }
835
836     /**
837      * THIS FEATURE IS NOT SUPPORTED.
838      * @throws SQLException Unsupported Feature (SQL State 0A000)
839      */

840     //#ifdef JDK16
841
/*
842     public NClob getNClob(int parameterIndex) throws SQLException {
843         throw Message.getUnsupportedException();
844     }
845 */

846     //#endif
847

848     /**
849      * THIS FEATURE IS NOT SUPPORTED.
850      * @throws SQLException Unsupported Feature (SQL State 0A000)
851      */

852     //#ifdef JDK16
853
/*
854     public NClob getNClob(String parameterName) throws SQLException {
855         throw Message.getUnsupportedException();
856     }
857 */

858     //#endif
859

860     /**
861      * THIS FEATURE IS NOT SUPPORTED.
862      * @throws SQLException Unsupported Feature (SQL State 0A000)
863      */

864     //#ifdef JDK16
865
/*
866     public void setSQLXML(String parameterName, SQLXML xmlObject) throws SQLException {
867         throw Message.getUnsupportedException();
868     }
869 */

870     //#endif
871

872     /**
873      * THIS FEATURE IS NOT SUPPORTED.
874      * @throws SQLException Unsupported Feature (SQL State 0A000)
875      */

876     //#ifdef JDK16
877
/*
878     public SQLXML getSQLXML(int parameterIndex) throws SQLException {
879         throw Message.getUnsupportedException();
880     }
881 */

882     //#endif
883

884     /**
885      * THIS FEATURE IS NOT SUPPORTED.
886      * @throws SQLException Unsupported Feature (SQL State 0A000)
887      */

888     //#ifdef JDK16
889
/*
890     public SQLXML getSQLXML(String parameterName) throws SQLException {
891         throw Message.getUnsupportedException();
892     }
893 */

894     //#endif
895

896     /**
897      * THIS FEATURE IS NOT SUPPORTED.
898      * @throws SQLException Unsupported Feature (SQL State 0A000)
899      */

900     public String JavaDoc getNString(int parameterIndex) throws SQLException {
901         throw Message.getUnsupportedException();
902     }
903
904     /**
905      * THIS FEATURE IS NOT SUPPORTED.
906      * @throws SQLException Unsupported Feature (SQL State 0A000)
907      */

908     public String JavaDoc getNString(String JavaDoc parameterName) throws SQLException {
909         throw Message.getUnsupportedException();
910     }
911
912     /**
913      * THIS FEATURE IS NOT SUPPORTED.
914      * @throws SQLException Unsupported Feature (SQL State 0A000)
915      */

916     public Reader JavaDoc getNCharacterStream(int parameterIndex) throws SQLException {
917         throw Message.getUnsupportedException();
918     }
919
920     /**
921      * THIS FEATURE IS NOT SUPPORTED.
922      * @throws SQLException Unsupported Feature (SQL State 0A000)
923      */

924     public Reader JavaDoc getNCharacterStream(String JavaDoc parameterName) throws SQLException {
925         throw Message.getUnsupportedException();
926     }
927
928     /**
929      * THIS FEATURE IS NOT SUPPORTED.
930      * @throws SQLException Unsupported Feature (SQL State 0A000)
931      */

932     public Reader JavaDoc getCharacterStream(int parameterIndex) throws SQLException {
933         throw Message.getUnsupportedException();
934     }
935
936     /**
937      * THIS FEATURE IS NOT SUPPORTED.
938      * @throws SQLException Unsupported Feature (SQL State 0A000)
939      */

940     public Reader JavaDoc getCharacterStream(String JavaDoc parameterName) throws SQLException {
941         throw Message.getUnsupportedException();
942     }
943
944     /**
945      * THIS FEATURE IS NOT SUPPORTED.
946      * @throws SQLException Unsupported Feature (SQL State 0A000)
947      */

948     public void setBlob(String JavaDoc parameterName, Blob x) throws SQLException {
949         throw Message.getUnsupportedException();
950     }
951
952     /**
953      * THIS FEATURE IS NOT SUPPORTED.
954      * @throws SQLException Unsupported Feature (SQL State 0A000)
955      */

956     public void setClob(String JavaDoc parameterName, Clob x) throws SQLException {
957         throw Message.getUnsupportedException();
958     }
959
960     /**
961      * THIS FEATURE IS NOT SUPPORTED.
962      * @throws SQLException Unsupported Feature (SQL State 0A000)
963      */

964     public void setAsciiStream(String JavaDoc parameterName, InputStream JavaDoc x) throws SQLException {
965         throw Message.getUnsupportedException();
966     }
967
968     /**
969      * THIS FEATURE IS NOT SUPPORTED.
970      * @throws SQLException Unsupported Feature (SQL State 0A000)
971      */

972     public void setAsciiStream(String JavaDoc parameterName, InputStream JavaDoc x, int length) throws SQLException {
973         throw Message.getUnsupportedException();
974     }
975
976     /**
977      * THIS FEATURE IS NOT SUPPORTED.
978      * @throws SQLException Unsupported Feature (SQL State 0A000)
979      */

980     public void setBinaryStream(String JavaDoc parameterName, InputStream JavaDoc x) throws SQLException {
981         throw Message.getUnsupportedException();
982     }
983
984     /**
985      * THIS FEATURE IS NOT SUPPORTED.
986      * @throws SQLException Unsupported Feature (SQL State 0A000)
987      */

988     public void setBinaryStream(String JavaDoc parameterName, InputStream JavaDoc x, long length) throws SQLException {
989         throw Message.getUnsupportedException();
990     }
991
992     /**
993      * THIS FEATURE IS NOT SUPPORTED.
994      * @throws SQLException Unsupported Feature (SQL State 0A000)
995      */

996     public void setBlob(String JavaDoc parameterName, InputStream JavaDoc x) throws SQLException {
997         throw Message.getUnsupportedException();
998     }
999
1000    /**
1001     * THIS FEATURE IS NOT SUPPORTED.
1002     * @throws SQLException Unsupported Feature (SQL State 0A000)
1003     */

1004    public void setCharacterStream(String JavaDoc parameterName, Reader JavaDoc x) throws SQLException {
1005        throw Message.getUnsupportedException();
1006    }
1007
1008    /**
1009     * THIS FEATURE IS NOT SUPPORTED.
1010     * @throws SQLException Unsupported Feature (SQL State 0A000)
1011     */

1012    public void setCharacterStream(String JavaDoc parameterName, Reader JavaDoc x, long length) throws SQLException {
1013        throw Message.getUnsupportedException();
1014    }
1015
1016    /**
1017     * THIS FEATURE IS NOT SUPPORTED.
1018     * @throws SQLException Unsupported Feature (SQL State 0A000)
1019     */

1020    public void setClob(String JavaDoc parameterName, Reader JavaDoc x) throws SQLException {
1021        throw Message.getUnsupportedException();
1022    }
1023
1024    /**
1025     * THIS FEATURE IS NOT SUPPORTED.
1026     * @throws SQLException Unsupported Feature (SQL State 0A000)
1027     */

1028    public void setNCharacterStream(String JavaDoc parameterName, Reader JavaDoc x) throws SQLException {
1029        throw Message.getUnsupportedException();
1030    }
1031
1032    /**
1033     * THIS FEATURE IS NOT SUPPORTED.
1034     * @throws SQLException Unsupported Feature (SQL State 0A000)
1035     */

1036    public void setNClob(String JavaDoc parameterName, Reader JavaDoc x) throws SQLException {
1037        throw Message.getUnsupportedException();
1038    }
1039
1040// public void finalize() {
1041
// if(!Database.RUN_FINALIZERS) {
1042
// return;
1043
// }
1044
// try {
1045
// close();
1046
// } catch (SQLException e) {
1047
// // TODO log exception
1048
// }
1049
// }
1050

1051}
1052
Popular Tags