OSDN Git Service

i
[luz/luz.git] / luz2 / src / com / lavans / luz2 / sql / pool / PooledCallableStatement.java
1 /* $Id: PooledCallableStatement.java 94 2008-12-18 11:07:17Z dobashi $\r
2  * created: 2005/06/17\r
3  *\r
4  */\r
5 package com.lavans.luz2.sql.pool;\r
6 \r
7 import java.io.InputStream;\r
8 import java.io.Reader;\r
9 import java.math.BigDecimal;\r
10 import java.net.URL;\r
11 import java.sql.Array;\r
12 import java.sql.Blob;\r
13 import java.sql.CallableStatement;\r
14 import java.sql.Clob;\r
15 import java.sql.Date;\r
16 import java.sql.NClob;\r
17 import java.sql.Ref;\r
18 import java.sql.RowId;\r
19 import java.sql.SQLException;\r
20 import java.sql.SQLXML;\r
21 import java.sql.Time;\r
22 import java.sql.Timestamp;\r
23 import java.util.Calendar;\r
24 import java.util.Map;\r
25 \r
26 /**\r
27  * @author dobashi\r
28  *\r
29  */\r
30 public class PooledCallableStatement extends PooledPreparedStatement implements\r
31                 CallableStatement {\r
32         private CallableStatement st = null;\r
33 \r
34         public PooledCallableStatement(PooledConnection con, CallableStatement st){\r
35                 super(con, st);\r
36                 this.st = st;\r
37         }\r
38 \r
39         /**\r
40          * @param arg0\r
41          * @return\r
42          * @throws java.sql.SQLException\r
43          */\r
44         public Timestamp getTimestamp(int arg0) throws SQLException {\r
45                 return st.getTimestamp(arg0);\r
46         }\r
47         /**\r
48          * @param arg0\r
49          * @return\r
50          * @throws java.sql.SQLException\r
51          */\r
52         public String getString(String arg0) throws SQLException {\r
53                 return st.getString(arg0);\r
54         }\r
55         /**\r
56          * @param arg0\r
57          * @return\r
58          * @throws java.sql.SQLException\r
59          */\r
60         public boolean getBoolean(String arg0) throws SQLException {\r
61                 return st.getBoolean(arg0);\r
62         }\r
63         /**\r
64          * @param arg0\r
65          * @return\r
66          * @throws java.sql.SQLException\r
67          */\r
68         public Object getObject(int arg0) throws SQLException {\r
69                 return st.getObject(arg0);\r
70         }\r
71         /**\r
72          * @param arg0\r
73          * @param arg1\r
74          * @return\r
75          * @throws java.sql.SQLException\r
76          */\r
77         public Object getObject(String arg0, Map<String, Class<?>> arg1) throws SQLException {\r
78                 return st.getObject(arg0, arg1);\r
79         }\r
80         /**\r
81          * @param arg0\r
82          * @return\r
83          * @throws java.sql.SQLException\r
84          */\r
85         public Time getTime(int arg0) throws SQLException {\r
86                 return st.getTime(arg0);\r
87         }\r
88         /**\r
89          * @param arg0\r
90          * @return\r
91          * @throws java.sql.SQLException\r
92          */\r
93         public URL getURL(int arg0) throws SQLException {\r
94                 return st.getURL(arg0);\r
95         }\r
96         /**\r
97          * @param arg0\r
98          * @param arg1\r
99          * @return\r
100          * @throws java.sql.SQLException\r
101          */\r
102         public Timestamp getTimestamp(int arg0, Calendar arg1) throws SQLException {\r
103                 return st.getTimestamp(arg0, arg1);\r
104         }\r
105         /**\r
106          * @param arg0\r
107          * @return\r
108          * @throws java.sql.SQLException\r
109          */\r
110         public Blob getBlob(String arg0) throws SQLException {\r
111                 return st.getBlob(arg0);\r
112         }\r
113         /**\r
114          * @param arg0\r
115          * @return\r
116          * @throws java.sql.SQLException\r
117          */\r
118         public byte[] getBytes(int arg0) throws SQLException {\r
119                 return st.getBytes(arg0);\r
120         }\r
121         /**\r
122          * @param arg0\r
123          * @param arg1\r
124          * @throws java.sql.SQLException\r
125          */\r
126         public void setString(String arg0, String arg1) throws SQLException {\r
127                 st.setString(arg0, arg1);\r
128         }\r
129         /**\r
130          * @param arg0\r
131          * @return\r
132          * @throws java.sql.SQLException\r
133          */\r
134         public Clob getClob(int arg0) throws SQLException {\r
135                 return st.getClob(arg0);\r
136         }\r
137         /**\r
138          * @param arg0\r
139          * @param arg1\r
140          * @return\r
141          * @throws java.sql.SQLException\r
142          */\r
143         public Date getDate(int arg0, Calendar arg1) throws SQLException {\r
144                 return st.getDate(arg0, arg1);\r
145         }\r
146         /**\r
147          * @param arg0\r
148          * @param arg1\r
149          * @param arg2\r
150          * @throws java.sql.SQLException\r
151          */\r
152         public void setAsciiStream(String arg0, InputStream arg1, int arg2)\r
153                         throws SQLException {\r
154                 st.setAsciiStream(arg0, arg1, arg2);\r
155         }\r
156         /**\r
157          * @param arg0\r
158          * @return\r
159          * @throws java.sql.SQLException\r
160          */\r
161         public byte[] getBytes(String arg0) throws SQLException {\r
162                 return st.getBytes(arg0);\r
163         }\r
164         /**\r
165          * @param arg0\r
166          * @param arg1\r
167          * @throws java.sql.SQLException\r
168          */\r
169         public void setURL(String arg0, URL arg1) throws SQLException {\r
170                 st.setURL(arg0, arg1);\r
171         }\r
172         /**\r
173          * @param arg0\r
174          * @param arg1\r
175          * @param arg2\r
176          * @param arg3\r
177          * @throws java.sql.SQLException\r
178          */\r
179         public void setObject(String arg0, Object arg1, int arg2, int arg3)\r
180                         throws SQLException {\r
181                 st.setObject(arg0, arg1, arg2, arg3);\r
182         }\r
183         /**\r
184          * @param arg0\r
185          * @return\r
186          * @throws java.sql.SQLException\r
187          */\r
188         public String getString(int arg0) throws SQLException {\r
189                 return st.getString(arg0);\r
190         }\r
191         /**\r
192          * @param arg0\r
193          * @return\r
194          * @throws java.sql.SQLException\r
195          */\r
196         public Blob getBlob(int arg0) throws SQLException {\r
197                 return st.getBlob(arg0);\r
198         }\r
199         /**\r
200          * @param arg0\r
201          * @param arg1\r
202          * @return\r
203          * @throws java.sql.SQLException\r
204          */\r
205         public Timestamp getTimestamp(String arg0, Calendar arg1)\r
206                         throws SQLException {\r
207                 return st.getTimestamp(arg0, arg1);\r
208         }\r
209         /**\r
210          * @param arg0\r
211          * @param arg1\r
212          * @return\r
213          * @throws java.sql.SQLException\r
214          */\r
215         public Time getTime(int arg0, Calendar arg1) throws SQLException {\r
216                 return st.getTime(arg0, arg1);\r
217         }\r
218         /**\r
219          * @param arg0\r
220          * @return\r
221          * @throws java.sql.SQLException\r
222          */\r
223         public long getLong(String arg0) throws SQLException {\r
224                 return st.getLong(arg0);\r
225         }\r
226         /**\r
227          * @param arg0\r
228          * @param arg1\r
229          * @throws java.sql.SQLException\r
230          */\r
231         public void setFloat(String arg0, float arg1) throws SQLException {\r
232                 st.setFloat(arg0, arg1);\r
233         }\r
234         /**\r
235          * @param arg0\r
236          * @param arg1\r
237          * @return\r
238          * @throws java.sql.SQLException\r
239          * @deprecated\r
240          */\r
241         public BigDecimal getBigDecimal(int arg0, int arg1) throws SQLException {\r
242                 return st.getBigDecimal(arg0, arg1);\r
243         }\r
244         /**\r
245          * @param arg0\r
246          * @return\r
247          * @throws java.sql.SQLException\r
248          */\r
249         public float getFloat(int arg0) throws SQLException {\r
250                 return st.getFloat(arg0);\r
251         }\r
252         /**\r
253          * @param arg0\r
254          * @param arg1\r
255          * @param arg2\r
256          * @throws java.sql.SQLException\r
257          */\r
258         public void registerOutParameter(int arg0, int arg1, int arg2)\r
259                         throws SQLException {\r
260                 st.registerOutParameter(arg0, arg1, arg2);\r
261         }\r
262         /**\r
263          * @param arg0\r
264          * @return\r
265          * @throws java.sql.SQLException\r
266          */\r
267         public Timestamp getTimestamp(String arg0) throws SQLException {\r
268                 return st.getTimestamp(arg0);\r
269         }\r
270         /**\r
271          * @param arg0\r
272          * @return\r
273          * @throws java.sql.SQLException\r
274          */\r
275         public Ref getRef(String arg0) throws SQLException {\r
276                 return st.getRef(arg0);\r
277         }\r
278         /**\r
279          * @param arg0\r
280          * @return\r
281          * @throws java.sql.SQLException\r
282          */\r
283         public double getDouble(String arg0) throws SQLException {\r
284                 return st.getDouble(arg0);\r
285         }\r
286         /**\r
287          * @param arg0\r
288          * @return\r
289          * @throws java.sql.SQLException\r
290          */\r
291         public int getInt(String arg0) throws SQLException {\r
292                 return st.getInt(arg0);\r
293         }\r
294         /**\r
295          * @param arg0\r
296          * @return\r
297          * @throws java.sql.SQLException\r
298          */\r
299         public Array getArray(String arg0) throws SQLException {\r
300                 return st.getArray(arg0);\r
301         }\r
302         /**\r
303          * @param arg0\r
304          * @return\r
305          * @throws java.sql.SQLException\r
306          */\r
307         public Date getDate(String arg0) throws SQLException {\r
308                 return st.getDate(arg0);\r
309         }\r
310         /**\r
311          * @param arg0\r
312          * @return\r
313          * @throws java.sql.SQLException\r
314          */\r
315         public Time getTime(String arg0) throws SQLException {\r
316                 return st.getTime(arg0);\r
317         }\r
318         /**\r
319          * @param arg0\r
320          * @return\r
321          * @throws java.sql.SQLException\r
322          */\r
323         public URL getURL(String arg0) throws SQLException {\r
324                 return st.getURL(arg0);\r
325         }\r
326         /**\r
327          * @param arg0\r
328          * @return\r
329          * @throws java.sql.SQLException\r
330          */\r
331         public short getShort(String arg0) throws SQLException {\r
332                 return st.getShort(arg0);\r
333         }\r
334         /**\r
335          * @param arg0\r
336          * @param arg1\r
337          * @param arg2\r
338          * @throws java.sql.SQLException\r
339          */\r
340         public void setObject(String arg0, Object arg1, int arg2)\r
341                         throws SQLException {\r
342                 st.setObject(arg0, arg1, arg2);\r
343         }\r
344         /**\r
345          * @param arg0\r
346          * @param arg1\r
347          * @param arg2\r
348          * @throws java.sql.SQLException\r
349          */\r
350         public void setNull(String arg0, int arg1, String arg2) throws SQLException {\r
351                 st.setNull(arg0, arg1, arg2);\r
352         }\r
353         /**\r
354          * @param arg0\r
355          * @param arg1\r
356          * @throws java.sql.SQLException\r
357          */\r
358         public void setNull(String arg0, int arg1) throws SQLException {\r
359                 st.setNull(arg0, arg1);\r
360         }\r
361         /**\r
362          * @param arg0\r
363          * @param arg1\r
364          * @throws java.sql.SQLException\r
365          */\r
366         public void setLong(String arg0, long arg1) throws SQLException {\r
367                 st.setLong(arg0, arg1);\r
368         }\r
369         /**\r
370          * @param arg0\r
371          * @param arg1\r
372          * @throws java.sql.SQLException\r
373          */\r
374         public void setBoolean(String arg0, boolean arg1) throws SQLException {\r
375                 st.setBoolean(arg0, arg1);\r
376         }\r
377         /**\r
378          * @return\r
379          * @throws java.sql.SQLException\r
380          */\r
381         public boolean wasNull() throws SQLException {\r
382                 return st.wasNull();\r
383         }\r
384         /**\r
385          * @param arg0\r
386          * @param arg1\r
387          * @throws java.sql.SQLException\r
388          */\r
389         public void setObject(String arg0, Object arg1) throws SQLException {\r
390                 st.setObject(arg0, arg1);\r
391         }\r
392         /**\r
393          * @param arg0\r
394          * @return\r
395          * @throws java.sql.SQLException\r
396          */\r
397         public BigDecimal getBigDecimal(String arg0) throws SQLException {\r
398                 return st.getBigDecimal(arg0);\r
399         }\r
400         /**\r
401          * @param arg0\r
402          * @param arg1\r
403          * @throws java.sql.SQLException\r
404          */\r
405         public void setDouble(String arg0, double arg1) throws SQLException {\r
406                 st.setDouble(arg0, arg1);\r
407         }\r
408         /**\r
409          * @param arg0\r
410          * @param arg1\r
411          * @throws java.sql.SQLException\r
412          */\r
413         public void setTime(String arg0, Time arg1) throws SQLException {\r
414                 st.setTime(arg0, arg1);\r
415         }\r
416         /**\r
417          * @param arg0\r
418          * @param arg1\r
419          * @return\r
420          * @throws java.sql.SQLException\r
421          */\r
422         public Object getObject(int arg0, Map<String, Class<?>> arg1) throws SQLException {\r
423                 return st.getObject(arg0, arg1);\r
424         }\r
425         /**\r
426          * @param arg0\r
427          * @param arg1\r
428          * @throws java.sql.SQLException\r
429          */\r
430         public void setBytes(String arg0, byte[] arg1) throws SQLException {\r
431                 st.setBytes(arg0, arg1);\r
432         }\r
433         /**\r
434          * @param arg0\r
435          * @param arg1\r
436          * @throws java.sql.SQLException\r
437          */\r
438         public void registerOutParameter(String arg0, int arg1) throws SQLException {\r
439                 st.registerOutParameter(arg0, arg1);\r
440         }\r
441         /**\r
442          * @param arg0\r
443          * @param arg1\r
444          * @param arg2\r
445          * @throws java.sql.SQLException\r
446          */\r
447         public void setTime(String arg0, Time arg1, Calendar arg2)\r
448                         throws SQLException {\r
449                 st.setTime(arg0, arg1, arg2);\r
450         }\r
451         /**\r
452          * @param arg0\r
453          * @param arg1\r
454          * @throws java.sql.SQLException\r
455          */\r
456         public void setShort(String arg0, short arg1) throws SQLException {\r
457                 st.setShort(arg0, arg1);\r
458         }\r
459         /**\r
460          * @param arg0\r
461          * @param arg1\r
462          * @param arg2\r
463          * @throws java.sql.SQLException\r
464          */\r
465         public void setBinaryStream(String arg0, InputStream arg1, int arg2)\r
466                         throws SQLException {\r
467                 st.setBinaryStream(arg0, arg1, arg2);\r
468         }\r
469         /**\r
470          * @param arg0\r
471          * @param arg1\r
472          * @param arg2\r
473          * @throws java.sql.SQLException\r
474          */\r
475         public void setDate(String arg0, Date arg1, Calendar arg2)\r
476                         throws SQLException {\r
477                 st.setDate(arg0, arg1, arg2);\r
478         }\r
479         /**\r
480          * @param arg0\r
481          * @return\r
482          * @throws java.sql.SQLException\r
483          */\r
484         public Date getDate(int arg0) throws SQLException {\r
485                 return st.getDate(arg0);\r
486         }\r
487         /**\r
488          * @param arg0\r
489          * @param arg1\r
490          * @throws java.sql.SQLException\r
491          */\r
492         public void setBigDecimal(String arg0, BigDecimal arg1) throws SQLException {\r
493                 st.setBigDecimal(arg0, arg1);\r
494         }\r
495         /**\r
496          * @param arg0\r
497          * @param arg1\r
498          * @param arg2\r
499          * @throws java.sql.SQLException\r
500          */\r
501         public void registerOutParameter(int arg0, int arg1, String arg2)\r
502                         throws SQLException {\r
503                 st.registerOutParameter(arg0, arg1, arg2);\r
504         }\r
505         /**\r
506          * @param arg0\r
507          * @return\r
508          * @throws java.sql.SQLException\r
509          */\r
510         public Array getArray(int arg0) throws SQLException {\r
511                 return st.getArray(arg0);\r
512         }\r
513         /**\r
514          * @param arg0\r
515          * @return\r
516          * @throws java.sql.SQLException\r
517          */\r
518         public Ref getRef(int arg0) throws SQLException {\r
519                 return st.getRef(arg0);\r
520         }\r
521         /**\r
522          * @param arg0\r
523          * @param arg1\r
524          * @param arg2\r
525          * @throws java.sql.SQLException\r
526          */\r
527         public void registerOutParameter(String arg0, int arg1, String arg2)\r
528                         throws SQLException {\r
529                 st.registerOutParameter(arg0, arg1, arg2);\r
530         }\r
531         /**\r
532          * @param arg0\r
533          * @return\r
534          * @throws java.sql.SQLException\r
535          */\r
536         public long getLong(int arg0) throws SQLException {\r
537                 return st.getLong(arg0);\r
538         }\r
539         /**\r
540          * @param arg0\r
541          * @param arg1\r
542          * @throws java.sql.SQLException\r
543          */\r
544         public void setInt(String arg0, int arg1) throws SQLException {\r
545                 st.setInt(arg0, arg1);\r
546         }\r
547         /**\r
548          * @param arg0\r
549          * @return\r
550          * @throws java.sql.SQLException\r
551          */\r
552         public byte getByte(int arg0) throws SQLException {\r
553                 return st.getByte(arg0);\r
554         }\r
555         /**\r
556          * @param arg0\r
557          * @param arg1\r
558          * @throws java.sql.SQLException\r
559          */\r
560         public void registerOutParameter(int arg0, int arg1) throws SQLException {\r
561                 st.registerOutParameter(arg0, arg1);\r
562         }\r
563         /**\r
564          * @param arg0\r
565          * @param arg1\r
566          * @param arg2\r
567          * @throws java.sql.SQLException\r
568          */\r
569         public void registerOutParameter(String arg0, int arg1, int arg2)\r
570                         throws SQLException {\r
571                 st.registerOutParameter(arg0, arg1, arg2);\r
572         }\r
573         /**\r
574          * @param arg0\r
575          * @return\r
576          * @throws java.sql.SQLException\r
577          */\r
578         public Object getObject(String arg0) throws SQLException {\r
579                 return st.getObject(arg0);\r
580         }\r
581         /**\r
582          * @param arg0\r
583          * @return\r
584          * @throws java.sql.SQLException\r
585          */\r
586         public int getInt(int arg0) throws SQLException {\r
587                 return st.getInt(arg0);\r
588         }\r
589         /**\r
590          * @param arg0\r
591          * @param arg1\r
592          * @return\r
593          * @throws java.sql.SQLException\r
594          */\r
595         public Time getTime(String arg0, Calendar arg1) throws SQLException {\r
596                 return st.getTime(arg0, arg1);\r
597         }\r
598         /**\r
599          * @param arg0\r
600          * @return\r
601          * @throws java.sql.SQLException\r
602          */\r
603         public short getShort(int arg0) throws SQLException {\r
604                 return st.getShort(arg0);\r
605         }\r
606         /**\r
607          * @param arg0\r
608          * @return\r
609          * @throws java.sql.SQLException\r
610          */\r
611         public BigDecimal getBigDecimal(int arg0) throws SQLException {\r
612                 return st.getBigDecimal(arg0);\r
613         }\r
614         /**\r
615          * @param arg0\r
616          * @return\r
617          * @throws java.sql.SQLException\r
618          */\r
619         public boolean getBoolean(int arg0) throws SQLException {\r
620                 return st.getBoolean(arg0);\r
621         }\r
622         /**\r
623          * @param arg0\r
624          * @param arg1\r
625          * @throws java.sql.SQLException\r
626          */\r
627         public void setByte(String arg0, byte arg1) throws SQLException {\r
628                 st.setByte(arg0, arg1);\r
629         }\r
630         /**\r
631          * @param arg0\r
632          * @return\r
633          * @throws java.sql.SQLException\r
634          */\r
635         public float getFloat(String arg0) throws SQLException {\r
636                 return st.getFloat(arg0);\r
637         }\r
638         /**\r
639          * @param arg0\r
640          * @param arg1\r
641          * @return\r
642          * @throws java.sql.SQLException\r
643          */\r
644         public Date getDate(String arg0, Calendar arg1) throws SQLException {\r
645                 return st.getDate(arg0, arg1);\r
646         }\r
647         /**\r
648          * @param arg0\r
649          * @param arg1\r
650          * @param arg2\r
651          * @throws java.sql.SQLException\r
652          */\r
653         public void setCharacterStream(String arg0, Reader arg1, int arg2)\r
654                         throws SQLException {\r
655                 st.setCharacterStream(arg0, arg1, arg2);\r
656         }\r
657         /**\r
658          * @param arg0\r
659          * @param arg1\r
660          * @throws java.sql.SQLException\r
661          */\r
662         public void setTimestamp(String arg0, Timestamp arg1) throws SQLException {\r
663                 st.setTimestamp(arg0, arg1);\r
664         }\r
665         /**\r
666          * @param arg0\r
667          * @return\r
668          * @throws java.sql.SQLException\r
669          */\r
670         public Clob getClob(String arg0) throws SQLException {\r
671                 return st.getClob(arg0);\r
672         }\r
673         /**\r
674          * @param arg0\r
675          * @return\r
676          * @throws java.sql.SQLException\r
677          */\r
678         public double getDouble(int arg0) throws SQLException {\r
679                 return st.getDouble(arg0);\r
680         }\r
681         /**\r
682          * @param arg0\r
683          * @param arg1\r
684          * @param arg2\r
685          * @throws java.sql.SQLException\r
686          */\r
687         public void setTimestamp(String arg0, Timestamp arg1, Calendar arg2)\r
688                         throws SQLException {\r
689                 st.setTimestamp(arg0, arg1, arg2);\r
690         }\r
691         /**\r
692          * @param arg0\r
693          * @return\r
694          * @throws java.sql.SQLException\r
695          */\r
696         public byte getByte(String arg0) throws SQLException {\r
697                 return st.getByte(arg0);\r
698         }\r
699         /**\r
700          * @param arg0\r
701          * @param arg1\r
702          * @throws java.sql.SQLException\r
703          */\r
704         public void setDate(String arg0, Date arg1) throws SQLException {\r
705                 st.setDate(arg0, arg1);\r
706         }\r
707 \r
708         /**\r
709          * @param iface\r
710          * @return\r
711          * @throws SQLException\r
712          * @see java.sql.Wrapper#isWrapperFor(java.lang.Class)\r
713          */\r
714         @Override\r
715         public boolean isWrapperFor(Class<?> iface) throws SQLException {\r
716                 return st.isWrapperFor(iface);\r
717         }\r
718 \r
719 \r
720         /**\r
721          * @param <T>\r
722          * @param iface\r
723          * @return\r
724          * @throws SQLException\r
725          * @see java.sql.Wrapper#unwrap(java.lang.Class)\r
726          */\r
727         @Override\r
728         @SuppressWarnings("unchecked")\r
729         public <T> T unwrap(Class<T> iface) throws SQLException {\r
730                 return (T)this;\r
731         }\r
732 \r
733         /**\r
734          * @param parameterIndex\r
735          * @return\r
736          * @throws SQLException\r
737          * @see java.sql.CallableStatement#getCharacterStream(int)\r
738          */\r
739         public Reader getCharacterStream(int parameterIndex) throws SQLException {\r
740                 return st.getCharacterStream(parameterIndex);\r
741         }\r
742 \r
743         /**\r
744          * @param parameterName\r
745          * @return\r
746          * @throws SQLException\r
747          * @see java.sql.CallableStatement#getCharacterStream(java.lang.String)\r
748          */\r
749         public Reader getCharacterStream(String parameterName) throws SQLException {\r
750                 return st.getCharacterStream(parameterName);\r
751         }\r
752 \r
753         /**\r
754          * @param parameterIndex\r
755          * @return\r
756          * @throws SQLException\r
757          * @see java.sql.CallableStatement#getNCharacterStream(int)\r
758          */\r
759         public Reader getNCharacterStream(int parameterIndex) throws SQLException {\r
760                 return st.getNCharacterStream(parameterIndex);\r
761         }\r
762 \r
763         /**\r
764          * @param parameterName\r
765          * @return\r
766          * @throws SQLException\r
767          * @see java.sql.CallableStatement#getNCharacterStream(java.lang.String)\r
768          */\r
769         public Reader getNCharacterStream(String parameterName) throws SQLException {\r
770                 return st.getNCharacterStream(parameterName);\r
771         }\r
772 \r
773         /**\r
774          * @param parameterIndex\r
775          * @return\r
776          * @throws SQLException\r
777          * @see java.sql.CallableStatement#getNClob(int)\r
778          */\r
779         public NClob getNClob(int parameterIndex) throws SQLException {\r
780                 return st.getNClob(parameterIndex);\r
781         }\r
782 \r
783         /**\r
784          * @param parameterName\r
785          * @return\r
786          * @throws SQLException\r
787          * @see java.sql.CallableStatement#getNClob(java.lang.String)\r
788          */\r
789         public NClob getNClob(String parameterName) throws SQLException {\r
790                 return st.getNClob(parameterName);\r
791         }\r
792 \r
793         /**\r
794          * @param parameterIndex\r
795          * @return\r
796          * @throws SQLException\r
797          * @see java.sql.CallableStatement#getNString(int)\r
798          */\r
799         public String getNString(int parameterIndex) throws SQLException {\r
800                 return st.getNString(parameterIndex);\r
801         }\r
802 \r
803         /**\r
804          * @param parameterName\r
805          * @return\r
806          * @throws SQLException\r
807          * @see java.sql.CallableStatement#getNString(java.lang.String)\r
808          */\r
809         public String getNString(String parameterName) throws SQLException {\r
810                 return st.getNString(parameterName);\r
811         }\r
812 \r
813         /**\r
814          * @param parameterIndex\r
815          * @return\r
816          * @throws SQLException\r
817          * @see java.sql.CallableStatement#getRowId(int)\r
818          */\r
819         public RowId getRowId(int parameterIndex) throws SQLException {\r
820                 return st.getRowId(parameterIndex);\r
821         }\r
822 \r
823         /**\r
824          * @param parameterName\r
825          * @return\r
826          * @throws SQLException\r
827          * @see java.sql.CallableStatement#getRowId(java.lang.String)\r
828          */\r
829         public RowId getRowId(String parameterName) throws SQLException {\r
830                 return st.getRowId(parameterName);\r
831         }\r
832 \r
833         /**\r
834          * @param parameterIndex\r
835          * @return\r
836          * @throws SQLException\r
837          * @see java.sql.CallableStatement#getSQLXML(int)\r
838          */\r
839         public SQLXML getSQLXML(int parameterIndex) throws SQLException {\r
840                 return st.getSQLXML(parameterIndex);\r
841         }\r
842 \r
843         /**\r
844          * @param parameterName\r
845          * @return\r
846          * @throws SQLException\r
847          * @see java.sql.CallableStatement#getSQLXML(java.lang.String)\r
848          */\r
849         public SQLXML getSQLXML(String parameterName) throws SQLException {\r
850                 return st.getSQLXML(parameterName);\r
851         }\r
852 \r
853         /**\r
854          * @param parameterName\r
855          * @param x\r
856          * @param length\r
857          * @throws SQLException\r
858          * @see java.sql.CallableStatement#setAsciiStream(java.lang.String, java.io.InputStream, long)\r
859          */\r
860         public void setAsciiStream(String parameterName, InputStream x, long length)\r
861                         throws SQLException {\r
862                 st.setAsciiStream(parameterName, x, length);\r
863         }\r
864 \r
865         /**\r
866          * @param parameterName\r
867          * @param x\r
868          * @throws SQLException\r
869          * @see java.sql.CallableStatement#setAsciiStream(java.lang.String, java.io.InputStream)\r
870          */\r
871         public void setAsciiStream(String parameterName, InputStream x)\r
872                         throws SQLException {\r
873                 st.setAsciiStream(parameterName, x);\r
874         }\r
875 \r
876         /**\r
877          * @param parameterName\r
878          * @param x\r
879          * @param length\r
880          * @throws SQLException\r
881          * @see java.sql.CallableStatement#setBinaryStream(java.lang.String, java.io.InputStream, long)\r
882          */\r
883         public void setBinaryStream(String parameterName, InputStream x, long length)\r
884                         throws SQLException {\r
885                 st.setBinaryStream(parameterName, x, length);\r
886         }\r
887 \r
888         /**\r
889          * @param parameterName\r
890          * @param x\r
891          * @throws SQLException\r
892          * @see java.sql.CallableStatement#setBinaryStream(java.lang.String, java.io.InputStream)\r
893          */\r
894         public void setBinaryStream(String parameterName, InputStream x)\r
895                         throws SQLException {\r
896                 st.setBinaryStream(parameterName, x);\r
897         }\r
898 \r
899         /**\r
900          * @param parameterName\r
901          * @param x\r
902          * @throws SQLException\r
903          * @see java.sql.CallableStatement#setBlob(java.lang.String, java.sql.Blob)\r
904          */\r
905         public void setBlob(String parameterName, Blob x) throws SQLException {\r
906                 st.setBlob(parameterName, x);\r
907         }\r
908 \r
909         /**\r
910          * @param parameterName\r
911          * @param inputStream\r
912          * @param length\r
913          * @throws SQLException\r
914          * @see java.sql.CallableStatement#setBlob(java.lang.String, java.io.InputStream, long)\r
915          */\r
916         public void setBlob(String parameterName, InputStream inputStream,\r
917                         long length) throws SQLException {\r
918                 st.setBlob(parameterName, inputStream, length);\r
919         }\r
920 \r
921         /**\r
922          * @param parameterName\r
923          * @param inputStream\r
924          * @throws SQLException\r
925          * @see java.sql.CallableStatement#setBlob(java.lang.String, java.io.InputStream)\r
926          */\r
927         public void setBlob(String parameterName, InputStream inputStream)\r
928                         throws SQLException {\r
929                 st.setBlob(parameterName, inputStream);\r
930         }\r
931 \r
932         /**\r
933          * @param parameterName\r
934          * @param reader\r
935          * @param length\r
936          * @throws SQLException\r
937          * @see java.sql.CallableStatement#setCharacterStream(java.lang.String, java.io.Reader, long)\r
938          */\r
939         public void setCharacterStream(String parameterName, Reader reader,\r
940                         long length) throws SQLException {\r
941                 st.setCharacterStream(parameterName, reader, length);\r
942         }\r
943 \r
944         /**\r
945          * @param parameterName\r
946          * @param reader\r
947          * @throws SQLException\r
948          * @see java.sql.CallableStatement#setCharacterStream(java.lang.String, java.io.Reader)\r
949          */\r
950         public void setCharacterStream(String parameterName, Reader reader)\r
951                         throws SQLException {\r
952                 st.setCharacterStream(parameterName, reader);\r
953         }\r
954 \r
955         /**\r
956          * @param parameterName\r
957          * @param x\r
958          * @throws SQLException\r
959          * @see java.sql.CallableStatement#setClob(java.lang.String, java.sql.Clob)\r
960          */\r
961         public void setClob(String parameterName, Clob x) throws SQLException {\r
962                 st.setClob(parameterName, x);\r
963         }\r
964 \r
965         /**\r
966          * @param parameterName\r
967          * @param reader\r
968          * @param length\r
969          * @throws SQLException\r
970          * @see java.sql.CallableStatement#setClob(java.lang.String, java.io.Reader, long)\r
971          */\r
972         public void setClob(String parameterName, Reader reader, long length)\r
973                         throws SQLException {\r
974                 st.setClob(parameterName, reader, length);\r
975         }\r
976 \r
977         /**\r
978          * @param parameterName\r
979          * @param reader\r
980          * @throws SQLException\r
981          * @see java.sql.CallableStatement#setClob(java.lang.String, java.io.Reader)\r
982          */\r
983         public void setClob(String parameterName, Reader reader)\r
984                         throws SQLException {\r
985                 st.setClob(parameterName, reader);\r
986         }\r
987 \r
988         /**\r
989          * @param parameterName\r
990          * @param value\r
991          * @param length\r
992          * @throws SQLException\r
993          * @see java.sql.CallableStatement#setNCharacterStream(java.lang.String, java.io.Reader, long)\r
994          */\r
995         public void setNCharacterStream(String parameterName, Reader value,\r
996                         long length) throws SQLException {\r
997                 st.setNCharacterStream(parameterName, value, length);\r
998         }\r
999 \r
1000         /**\r
1001          * @param parameterName\r
1002          * @param value\r
1003          * @throws SQLException\r
1004          * @see java.sql.CallableStatement#setNCharacterStream(java.lang.String, java.io.Reader)\r
1005          */\r
1006         public void setNCharacterStream(String parameterName, Reader value)\r
1007                         throws SQLException {\r
1008                 st.setNCharacterStream(parameterName, value);\r
1009         }\r
1010 \r
1011         /**\r
1012          * @param parameterName\r
1013          * @param value\r
1014          * @throws SQLException\r
1015          * @see java.sql.CallableStatement#setNClob(java.lang.String, java.sql.NClob)\r
1016          */\r
1017         public void setNClob(String parameterName, NClob value) throws SQLException {\r
1018                 st.setNClob(parameterName, value);\r
1019         }\r
1020 \r
1021         /**\r
1022          * @param parameterName\r
1023          * @param reader\r
1024          * @param length\r
1025          * @throws SQLException\r
1026          * @see java.sql.CallableStatement#setNClob(java.lang.String, java.io.Reader, long)\r
1027          */\r
1028         public void setNClob(String parameterName, Reader reader, long length)\r
1029                         throws SQLException {\r
1030                 st.setNClob(parameterName, reader, length);\r
1031         }\r
1032 \r
1033         /**\r
1034          * @param parameterName\r
1035          * @param reader\r
1036          * @throws SQLException\r
1037          * @see java.sql.CallableStatement#setNClob(java.lang.String, java.io.Reader)\r
1038          */\r
1039         public void setNClob(String parameterName, Reader reader)\r
1040                         throws SQLException {\r
1041                 st.setNClob(parameterName, reader);\r
1042         }\r
1043 \r
1044         /**\r
1045          * @param parameterName\r
1046          * @param value\r
1047          * @throws SQLException\r
1048          * @see java.sql.CallableStatement#setNString(java.lang.String, java.lang.String)\r
1049          */\r
1050         public void setNString(String parameterName, String value)\r
1051                         throws SQLException {\r
1052                 st.setNString(parameterName, value);\r
1053         }\r
1054 \r
1055         /**\r
1056          * @param parameterName\r
1057          * @param x\r
1058          * @throws SQLException\r
1059          * @see java.sql.CallableStatement#setRowId(java.lang.String, java.sql.RowId)\r
1060          */\r
1061         public void setRowId(String parameterName, RowId x) throws SQLException {\r
1062                 st.setRowId(parameterName, x);\r
1063         }\r
1064 \r
1065         /**\r
1066          * @param parameterName\r
1067          * @param xmlObject\r
1068          * @throws SQLException\r
1069          * @see java.sql.CallableStatement#setSQLXML(java.lang.String, java.sql.SQLXML)\r
1070          */\r
1071         public void setSQLXML(String parameterName, SQLXML xmlObject)\r
1072                         throws SQLException {\r
1073                 st.setSQLXML(parameterName, xmlObject);\r
1074         }\r
1075 }\r