001: /*
002: * Distributed as part of c3p0 v.0.9.1.2
003: *
004: * Copyright (C) 2005 Machinery For Change, Inc.
005: *
006: * Author: Steve Waldman <swaldman@mchange.com>
007: *
008: * This library is free software; you can redistribute it and/or modify
009: * it under the terms of the GNU Lesser General Public License version 2.1, as
010: * published by the Free Software Foundation.
011: *
012: * This software is distributed in the hope that it will be useful,
013: * but WITHOUT ANY WARRANTY; without even the implied warranty of
014: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
015: * GNU Lesser General Public License for more details.
016: *
017: * You should have received a copy of the GNU Lesser General Public License
018: * along with this software; see the file LICENSE. If not, write to the
019: * Free Software Foundation, Inc., 59 Temple Place, Suite 330,
020: * Boston, MA 02111-1307, USA.
021: */
022:
023: package com.mchange.v2.sql.filter;
024:
025: import java.io.InputStream;
026: import java.io.Reader;
027: import java.lang.Object;
028: import java.lang.String;
029: import java.math.BigDecimal;
030: import java.net.URL;
031: import java.sql.Array;
032: import java.sql.Blob;
033: import java.sql.CallableStatement;
034: import java.sql.Clob;
035: import java.sql.Connection;
036: import java.sql.Date;
037: import java.sql.ParameterMetaData;
038: import java.sql.Ref;
039: import java.sql.ResultSet;
040: import java.sql.ResultSetMetaData;
041: import java.sql.SQLException;
042: import java.sql.SQLWarning;
043: import java.sql.Time;
044: import java.sql.Timestamp;
045: import java.util.Calendar;
046: import java.util.Map;
047:
048: public abstract class FilterCallableStatement implements
049: CallableStatement {
050: protected CallableStatement inner;
051:
052: public FilterCallableStatement(CallableStatement inner) {
053: this .inner = inner;
054: }
055:
056: public FilterCallableStatement() {
057: }
058:
059: public void setInner(CallableStatement inner) {
060: this .inner = inner;
061: }
062:
063: public CallableStatement getInner() {
064: return inner;
065: }
066:
067: public boolean wasNull() throws SQLException {
068: return inner.wasNull();
069: }
070:
071: public BigDecimal getBigDecimal(int a, int b) throws SQLException {
072: return inner.getBigDecimal(a, b);
073: }
074:
075: public BigDecimal getBigDecimal(int a) throws SQLException {
076: return inner.getBigDecimal(a);
077: }
078:
079: public BigDecimal getBigDecimal(String a) throws SQLException {
080: return inner.getBigDecimal(a);
081: }
082:
083: public Timestamp getTimestamp(String a) throws SQLException {
084: return inner.getTimestamp(a);
085: }
086:
087: public Timestamp getTimestamp(String a, Calendar b)
088: throws SQLException {
089: return inner.getTimestamp(a, b);
090: }
091:
092: public Timestamp getTimestamp(int a, Calendar b)
093: throws SQLException {
094: return inner.getTimestamp(a, b);
095: }
096:
097: public Timestamp getTimestamp(int a) throws SQLException {
098: return inner.getTimestamp(a);
099: }
100:
101: public Blob getBlob(String a) throws SQLException {
102: return inner.getBlob(a);
103: }
104:
105: public Blob getBlob(int a) throws SQLException {
106: return inner.getBlob(a);
107: }
108:
109: public Clob getClob(String a) throws SQLException {
110: return inner.getClob(a);
111: }
112:
113: public Clob getClob(int a) throws SQLException {
114: return inner.getClob(a);
115: }
116:
117: public void setNull(String a, int b, String c) throws SQLException {
118: inner.setNull(a, b, c);
119: }
120:
121: public void setNull(String a, int b) throws SQLException {
122: inner.setNull(a, b);
123: }
124:
125: public void setBigDecimal(String a, BigDecimal b)
126: throws SQLException {
127: inner.setBigDecimal(a, b);
128: }
129:
130: public void setBytes(String a, byte[] b) throws SQLException {
131: inner.setBytes(a, b);
132: }
133:
134: public void setTimestamp(String a, Timestamp b, Calendar c)
135: throws SQLException {
136: inner.setTimestamp(a, b, c);
137: }
138:
139: public void setTimestamp(String a, Timestamp b) throws SQLException {
140: inner.setTimestamp(a, b);
141: }
142:
143: public void setAsciiStream(String a, InputStream b, int c)
144: throws SQLException {
145: inner.setAsciiStream(a, b, c);
146: }
147:
148: public void setBinaryStream(String a, InputStream b, int c)
149: throws SQLException {
150: inner.setBinaryStream(a, b, c);
151: }
152:
153: public void setObject(String a, Object b) throws SQLException {
154: inner.setObject(a, b);
155: }
156:
157: public void setObject(String a, Object b, int c, int d)
158: throws SQLException {
159: inner.setObject(a, b, c, d);
160: }
161:
162: public void setObject(String a, Object b, int c)
163: throws SQLException {
164: inner.setObject(a, b, c);
165: }
166:
167: public void setCharacterStream(String a, Reader b, int c)
168: throws SQLException {
169: inner.setCharacterStream(a, b, c);
170: }
171:
172: public void registerOutParameter(String a, int b)
173: throws SQLException {
174: inner.registerOutParameter(a, b);
175: }
176:
177: public void registerOutParameter(int a, int b) throws SQLException {
178: inner.registerOutParameter(a, b);
179: }
180:
181: public void registerOutParameter(int a, int b, int c)
182: throws SQLException {
183: inner.registerOutParameter(a, b, c);
184: }
185:
186: public void registerOutParameter(int a, int b, String c)
187: throws SQLException {
188: inner.registerOutParameter(a, b, c);
189: }
190:
191: public void registerOutParameter(String a, int b, int c)
192: throws SQLException {
193: inner.registerOutParameter(a, b, c);
194: }
195:
196: public void registerOutParameter(String a, int b, String c)
197: throws SQLException {
198: inner.registerOutParameter(a, b, c);
199: }
200:
201: public Object getObject(String a, Map b) throws SQLException {
202: return inner.getObject(a, b);
203: }
204:
205: public Object getObject(int a, Map b) throws SQLException {
206: return inner.getObject(a, b);
207: }
208:
209: public Object getObject(int a) throws SQLException {
210: return inner.getObject(a);
211: }
212:
213: public Object getObject(String a) throws SQLException {
214: return inner.getObject(a);
215: }
216:
217: public boolean getBoolean(int a) throws SQLException {
218: return inner.getBoolean(a);
219: }
220:
221: public boolean getBoolean(String a) throws SQLException {
222: return inner.getBoolean(a);
223: }
224:
225: public byte getByte(String a) throws SQLException {
226: return inner.getByte(a);
227: }
228:
229: public byte getByte(int a) throws SQLException {
230: return inner.getByte(a);
231: }
232:
233: public short getShort(int a) throws SQLException {
234: return inner.getShort(a);
235: }
236:
237: public short getShort(String a) throws SQLException {
238: return inner.getShort(a);
239: }
240:
241: public int getInt(String a) throws SQLException {
242: return inner.getInt(a);
243: }
244:
245: public int getInt(int a) throws SQLException {
246: return inner.getInt(a);
247: }
248:
249: public long getLong(int a) throws SQLException {
250: return inner.getLong(a);
251: }
252:
253: public long getLong(String a) throws SQLException {
254: return inner.getLong(a);
255: }
256:
257: public float getFloat(String a) throws SQLException {
258: return inner.getFloat(a);
259: }
260:
261: public float getFloat(int a) throws SQLException {
262: return inner.getFloat(a);
263: }
264:
265: public double getDouble(String a) throws SQLException {
266: return inner.getDouble(a);
267: }
268:
269: public double getDouble(int a) throws SQLException {
270: return inner.getDouble(a);
271: }
272:
273: public byte[] getBytes(int a) throws SQLException {
274: return inner.getBytes(a);
275: }
276:
277: public byte[] getBytes(String a) throws SQLException {
278: return inner.getBytes(a);
279: }
280:
281: public URL getURL(String a) throws SQLException {
282: return inner.getURL(a);
283: }
284:
285: public URL getURL(int a) throws SQLException {
286: return inner.getURL(a);
287: }
288:
289: public void setBoolean(String a, boolean b) throws SQLException {
290: inner.setBoolean(a, b);
291: }
292:
293: public void setByte(String a, byte b) throws SQLException {
294: inner.setByte(a, b);
295: }
296:
297: public void setShort(String a, short b) throws SQLException {
298: inner.setShort(a, b);
299: }
300:
301: public void setInt(String a, int b) throws SQLException {
302: inner.setInt(a, b);
303: }
304:
305: public void setLong(String a, long b) throws SQLException {
306: inner.setLong(a, b);
307: }
308:
309: public void setFloat(String a, float b) throws SQLException {
310: inner.setFloat(a, b);
311: }
312:
313: public void setDouble(String a, double b) throws SQLException {
314: inner.setDouble(a, b);
315: }
316:
317: public String getString(String a) throws SQLException {
318: return inner.getString(a);
319: }
320:
321: public String getString(int a) throws SQLException {
322: return inner.getString(a);
323: }
324:
325: public Ref getRef(int a) throws SQLException {
326: return inner.getRef(a);
327: }
328:
329: public Ref getRef(String a) throws SQLException {
330: return inner.getRef(a);
331: }
332:
333: public void setURL(String a, URL b) throws SQLException {
334: inner.setURL(a, b);
335: }
336:
337: public void setTime(String a, Time b) throws SQLException {
338: inner.setTime(a, b);
339: }
340:
341: public void setTime(String a, Time b, Calendar c)
342: throws SQLException {
343: inner.setTime(a, b, c);
344: }
345:
346: public Time getTime(int a, Calendar b) throws SQLException {
347: return inner.getTime(a, b);
348: }
349:
350: public Time getTime(String a) throws SQLException {
351: return inner.getTime(a);
352: }
353:
354: public Time getTime(int a) throws SQLException {
355: return inner.getTime(a);
356: }
357:
358: public Time getTime(String a, Calendar b) throws SQLException {
359: return inner.getTime(a, b);
360: }
361:
362: public Date getDate(int a, Calendar b) throws SQLException {
363: return inner.getDate(a, b);
364: }
365:
366: public Date getDate(String a) throws SQLException {
367: return inner.getDate(a);
368: }
369:
370: public Date getDate(int a) throws SQLException {
371: return inner.getDate(a);
372: }
373:
374: public Date getDate(String a, Calendar b) throws SQLException {
375: return inner.getDate(a, b);
376: }
377:
378: public void setString(String a, String b) throws SQLException {
379: inner.setString(a, b);
380: }
381:
382: public Array getArray(int a) throws SQLException {
383: return inner.getArray(a);
384: }
385:
386: public Array getArray(String a) throws SQLException {
387: return inner.getArray(a);
388: }
389:
390: public void setDate(String a, Date b, Calendar c)
391: throws SQLException {
392: inner.setDate(a, b, c);
393: }
394:
395: public void setDate(String a, Date b) throws SQLException {
396: inner.setDate(a, b);
397: }
398:
399: public ResultSetMetaData getMetaData() throws SQLException {
400: return inner.getMetaData();
401: }
402:
403: public ResultSet executeQuery() throws SQLException {
404: return inner.executeQuery();
405: }
406:
407: public int executeUpdate() throws SQLException {
408: return inner.executeUpdate();
409: }
410:
411: public void addBatch() throws SQLException {
412: inner.addBatch();
413: }
414:
415: public void setNull(int a, int b, String c) throws SQLException {
416: inner.setNull(a, b, c);
417: }
418:
419: public void setNull(int a, int b) throws SQLException {
420: inner.setNull(a, b);
421: }
422:
423: public void setBigDecimal(int a, BigDecimal b) throws SQLException {
424: inner.setBigDecimal(a, b);
425: }
426:
427: public void setBytes(int a, byte[] b) throws SQLException {
428: inner.setBytes(a, b);
429: }
430:
431: public void setTimestamp(int a, Timestamp b, Calendar c)
432: throws SQLException {
433: inner.setTimestamp(a, b, c);
434: }
435:
436: public void setTimestamp(int a, Timestamp b) throws SQLException {
437: inner.setTimestamp(a, b);
438: }
439:
440: public void setAsciiStream(int a, InputStream b, int c)
441: throws SQLException {
442: inner.setAsciiStream(a, b, c);
443: }
444:
445: public void setUnicodeStream(int a, InputStream b, int c)
446: throws SQLException {
447: inner.setUnicodeStream(a, b, c);
448: }
449:
450: public void setBinaryStream(int a, InputStream b, int c)
451: throws SQLException {
452: inner.setBinaryStream(a, b, c);
453: }
454:
455: public void clearParameters() throws SQLException {
456: inner.clearParameters();
457: }
458:
459: public void setObject(int a, Object b) throws SQLException {
460: inner.setObject(a, b);
461: }
462:
463: public void setObject(int a, Object b, int c, int d)
464: throws SQLException {
465: inner.setObject(a, b, c, d);
466: }
467:
468: public void setObject(int a, Object b, int c) throws SQLException {
469: inner.setObject(a, b, c);
470: }
471:
472: public void setCharacterStream(int a, Reader b, int c)
473: throws SQLException {
474: inner.setCharacterStream(a, b, c);
475: }
476:
477: public void setRef(int a, Ref b) throws SQLException {
478: inner.setRef(a, b);
479: }
480:
481: public void setBlob(int a, Blob b) throws SQLException {
482: inner.setBlob(a, b);
483: }
484:
485: public void setClob(int a, Clob b) throws SQLException {
486: inner.setClob(a, b);
487: }
488:
489: public void setArray(int a, Array b) throws SQLException {
490: inner.setArray(a, b);
491: }
492:
493: public ParameterMetaData getParameterMetaData() throws SQLException {
494: return inner.getParameterMetaData();
495: }
496:
497: public void setBoolean(int a, boolean b) throws SQLException {
498: inner.setBoolean(a, b);
499: }
500:
501: public void setByte(int a, byte b) throws SQLException {
502: inner.setByte(a, b);
503: }
504:
505: public void setShort(int a, short b) throws SQLException {
506: inner.setShort(a, b);
507: }
508:
509: public void setInt(int a, int b) throws SQLException {
510: inner.setInt(a, b);
511: }
512:
513: public void setLong(int a, long b) throws SQLException {
514: inner.setLong(a, b);
515: }
516:
517: public void setFloat(int a, float b) throws SQLException {
518: inner.setFloat(a, b);
519: }
520:
521: public void setDouble(int a, double b) throws SQLException {
522: inner.setDouble(a, b);
523: }
524:
525: public void setURL(int a, URL b) throws SQLException {
526: inner.setURL(a, b);
527: }
528:
529: public void setTime(int a, Time b) throws SQLException {
530: inner.setTime(a, b);
531: }
532:
533: public void setTime(int a, Time b, Calendar c) throws SQLException {
534: inner.setTime(a, b, c);
535: }
536:
537: public boolean execute() throws SQLException {
538: return inner.execute();
539: }
540:
541: public void setString(int a, String b) throws SQLException {
542: inner.setString(a, b);
543: }
544:
545: public void setDate(int a, Date b, Calendar c) throws SQLException {
546: inner.setDate(a, b, c);
547: }
548:
549: public void setDate(int a, Date b) throws SQLException {
550: inner.setDate(a, b);
551: }
552:
553: public SQLWarning getWarnings() throws SQLException {
554: return inner.getWarnings();
555: }
556:
557: public void clearWarnings() throws SQLException {
558: inner.clearWarnings();
559: }
560:
561: public void setFetchDirection(int a) throws SQLException {
562: inner.setFetchDirection(a);
563: }
564:
565: public int getFetchDirection() throws SQLException {
566: return inner.getFetchDirection();
567: }
568:
569: public void setFetchSize(int a) throws SQLException {
570: inner.setFetchSize(a);
571: }
572:
573: public int getFetchSize() throws SQLException {
574: return inner.getFetchSize();
575: }
576:
577: public int getResultSetHoldability() throws SQLException {
578: return inner.getResultSetHoldability();
579: }
580:
581: public ResultSet executeQuery(String a) throws SQLException {
582: return inner.executeQuery(a);
583: }
584:
585: public int executeUpdate(String a, int b) throws SQLException {
586: return inner.executeUpdate(a, b);
587: }
588:
589: public int executeUpdate(String a, String[] b) throws SQLException {
590: return inner.executeUpdate(a, b);
591: }
592:
593: public int executeUpdate(String a, int[] b) throws SQLException {
594: return inner.executeUpdate(a, b);
595: }
596:
597: public int executeUpdate(String a) throws SQLException {
598: return inner.executeUpdate(a);
599: }
600:
601: public int getMaxFieldSize() throws SQLException {
602: return inner.getMaxFieldSize();
603: }
604:
605: public void setMaxFieldSize(int a) throws SQLException {
606: inner.setMaxFieldSize(a);
607: }
608:
609: public int getMaxRows() throws SQLException {
610: return inner.getMaxRows();
611: }
612:
613: public void setMaxRows(int a) throws SQLException {
614: inner.setMaxRows(a);
615: }
616:
617: public void setEscapeProcessing(boolean a) throws SQLException {
618: inner.setEscapeProcessing(a);
619: }
620:
621: public int getQueryTimeout() throws SQLException {
622: return inner.getQueryTimeout();
623: }
624:
625: public void setQueryTimeout(int a) throws SQLException {
626: inner.setQueryTimeout(a);
627: }
628:
629: public void setCursorName(String a) throws SQLException {
630: inner.setCursorName(a);
631: }
632:
633: public ResultSet getResultSet() throws SQLException {
634: return inner.getResultSet();
635: }
636:
637: public int getUpdateCount() throws SQLException {
638: return inner.getUpdateCount();
639: }
640:
641: public boolean getMoreResults() throws SQLException {
642: return inner.getMoreResults();
643: }
644:
645: public boolean getMoreResults(int a) throws SQLException {
646: return inner.getMoreResults(a);
647: }
648:
649: public int getResultSetConcurrency() throws SQLException {
650: return inner.getResultSetConcurrency();
651: }
652:
653: public int getResultSetType() throws SQLException {
654: return inner.getResultSetType();
655: }
656:
657: public void addBatch(String a) throws SQLException {
658: inner.addBatch(a);
659: }
660:
661: public void clearBatch() throws SQLException {
662: inner.clearBatch();
663: }
664:
665: public int[] executeBatch() throws SQLException {
666: return inner.executeBatch();
667: }
668:
669: public ResultSet getGeneratedKeys() throws SQLException {
670: return inner.getGeneratedKeys();
671: }
672:
673: public void close() throws SQLException {
674: inner.close();
675: }
676:
677: public boolean execute(String a, int b) throws SQLException {
678: return inner.execute(a, b);
679: }
680:
681: public boolean execute(String a) throws SQLException {
682: return inner.execute(a);
683: }
684:
685: public boolean execute(String a, int[] b) throws SQLException {
686: return inner.execute(a, b);
687: }
688:
689: public boolean execute(String a, String[] b) throws SQLException {
690: return inner.execute(a, b);
691: }
692:
693: public Connection getConnection() throws SQLException {
694: return inner.getConnection();
695: }
696:
697: public void cancel() throws SQLException {
698: inner.cancel();
699: }
700: }
|