Source Code Cross Referenced for SynchronizedFilterPreparedStatement.java in  » Database-JDBC-Connection-Pool » c3p0 » com » mchange » v2 » sql » filter » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Database JDBC Connection Pool » c3p0 » com.mchange.v2.sql.filter 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


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.Clob;
034:        import java.sql.Connection;
035:        import java.sql.Date;
036:        import java.sql.ParameterMetaData;
037:        import java.sql.PreparedStatement;
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:
047:        public abstract class SynchronizedFilterPreparedStatement implements 
048:                PreparedStatement {
049:            protected PreparedStatement inner;
050:
051:            public SynchronizedFilterPreparedStatement(PreparedStatement inner) {
052:                this .inner = inner;
053:            }
054:
055:            public SynchronizedFilterPreparedStatement() {
056:            }
057:
058:            public synchronized void setInner(PreparedStatement inner) {
059:                this .inner = inner;
060:            }
061:
062:            public synchronized PreparedStatement getInner() {
063:                return inner;
064:            }
065:
066:            public synchronized ResultSetMetaData getMetaData()
067:                    throws SQLException {
068:                return inner.getMetaData();
069:            }
070:
071:            public synchronized ResultSet executeQuery() throws SQLException {
072:                return inner.executeQuery();
073:            }
074:
075:            public synchronized int executeUpdate() throws SQLException {
076:                return inner.executeUpdate();
077:            }
078:
079:            public synchronized void addBatch() throws SQLException {
080:                inner.addBatch();
081:            }
082:
083:            public synchronized void setNull(int a, int b, String c)
084:                    throws SQLException {
085:                inner.setNull(a, b, c);
086:            }
087:
088:            public synchronized void setNull(int a, int b) throws SQLException {
089:                inner.setNull(a, b);
090:            }
091:
092:            public synchronized void setBigDecimal(int a, BigDecimal b)
093:                    throws SQLException {
094:                inner.setBigDecimal(a, b);
095:            }
096:
097:            public synchronized void setBytes(int a, byte[] b)
098:                    throws SQLException {
099:                inner.setBytes(a, b);
100:            }
101:
102:            public synchronized void setTimestamp(int a, Timestamp b, Calendar c)
103:                    throws SQLException {
104:                inner.setTimestamp(a, b, c);
105:            }
106:
107:            public synchronized void setTimestamp(int a, Timestamp b)
108:                    throws SQLException {
109:                inner.setTimestamp(a, b);
110:            }
111:
112:            public synchronized void setAsciiStream(int a, InputStream b, int c)
113:                    throws SQLException {
114:                inner.setAsciiStream(a, b, c);
115:            }
116:
117:            public synchronized void setUnicodeStream(int a, InputStream b,
118:                    int c) throws SQLException {
119:                inner.setUnicodeStream(a, b, c);
120:            }
121:
122:            public synchronized void setBinaryStream(int a, InputStream b, int c)
123:                    throws SQLException {
124:                inner.setBinaryStream(a, b, c);
125:            }
126:
127:            public synchronized void clearParameters() throws SQLException {
128:                inner.clearParameters();
129:            }
130:
131:            public synchronized void setObject(int a, Object b)
132:                    throws SQLException {
133:                inner.setObject(a, b);
134:            }
135:
136:            public synchronized void setObject(int a, Object b, int c, int d)
137:                    throws SQLException {
138:                inner.setObject(a, b, c, d);
139:            }
140:
141:            public synchronized void setObject(int a, Object b, int c)
142:                    throws SQLException {
143:                inner.setObject(a, b, c);
144:            }
145:
146:            public synchronized void setCharacterStream(int a, Reader b, int c)
147:                    throws SQLException {
148:                inner.setCharacterStream(a, b, c);
149:            }
150:
151:            public synchronized void setRef(int a, Ref b) throws SQLException {
152:                inner.setRef(a, b);
153:            }
154:
155:            public synchronized void setBlob(int a, Blob b) throws SQLException {
156:                inner.setBlob(a, b);
157:            }
158:
159:            public synchronized void setClob(int a, Clob b) throws SQLException {
160:                inner.setClob(a, b);
161:            }
162:
163:            public synchronized void setArray(int a, Array b)
164:                    throws SQLException {
165:                inner.setArray(a, b);
166:            }
167:
168:            public synchronized ParameterMetaData getParameterMetaData()
169:                    throws SQLException {
170:                return inner.getParameterMetaData();
171:            }
172:
173:            public synchronized void setBoolean(int a, boolean b)
174:                    throws SQLException {
175:                inner.setBoolean(a, b);
176:            }
177:
178:            public synchronized void setByte(int a, byte b) throws SQLException {
179:                inner.setByte(a, b);
180:            }
181:
182:            public synchronized void setShort(int a, short b)
183:                    throws SQLException {
184:                inner.setShort(a, b);
185:            }
186:
187:            public synchronized void setInt(int a, int b) throws SQLException {
188:                inner.setInt(a, b);
189:            }
190:
191:            public synchronized void setLong(int a, long b) throws SQLException {
192:                inner.setLong(a, b);
193:            }
194:
195:            public synchronized void setFloat(int a, float b)
196:                    throws SQLException {
197:                inner.setFloat(a, b);
198:            }
199:
200:            public synchronized void setDouble(int a, double b)
201:                    throws SQLException {
202:                inner.setDouble(a, b);
203:            }
204:
205:            public synchronized void setURL(int a, URL b) throws SQLException {
206:                inner.setURL(a, b);
207:            }
208:
209:            public synchronized void setTime(int a, Time b) throws SQLException {
210:                inner.setTime(a, b);
211:            }
212:
213:            public synchronized void setTime(int a, Time b, Calendar c)
214:                    throws SQLException {
215:                inner.setTime(a, b, c);
216:            }
217:
218:            public synchronized boolean execute() throws SQLException {
219:                return inner.execute();
220:            }
221:
222:            public synchronized void setString(int a, String b)
223:                    throws SQLException {
224:                inner.setString(a, b);
225:            }
226:
227:            public synchronized void setDate(int a, Date b, Calendar c)
228:                    throws SQLException {
229:                inner.setDate(a, b, c);
230:            }
231:
232:            public synchronized void setDate(int a, Date b) throws SQLException {
233:                inner.setDate(a, b);
234:            }
235:
236:            public synchronized SQLWarning getWarnings() throws SQLException {
237:                return inner.getWarnings();
238:            }
239:
240:            public synchronized void clearWarnings() throws SQLException {
241:                inner.clearWarnings();
242:            }
243:
244:            public synchronized void setFetchDirection(int a)
245:                    throws SQLException {
246:                inner.setFetchDirection(a);
247:            }
248:
249:            public synchronized int getFetchDirection() throws SQLException {
250:                return inner.getFetchDirection();
251:            }
252:
253:            public synchronized void setFetchSize(int a) throws SQLException {
254:                inner.setFetchSize(a);
255:            }
256:
257:            public synchronized int getFetchSize() throws SQLException {
258:                return inner.getFetchSize();
259:            }
260:
261:            public synchronized int getResultSetHoldability()
262:                    throws SQLException {
263:                return inner.getResultSetHoldability();
264:            }
265:
266:            public synchronized ResultSet executeQuery(String a)
267:                    throws SQLException {
268:                return inner.executeQuery(a);
269:            }
270:
271:            public synchronized int executeUpdate(String a, int b)
272:                    throws SQLException {
273:                return inner.executeUpdate(a, b);
274:            }
275:
276:            public synchronized int executeUpdate(String a, String[] b)
277:                    throws SQLException {
278:                return inner.executeUpdate(a, b);
279:            }
280:
281:            public synchronized int executeUpdate(String a, int[] b)
282:                    throws SQLException {
283:                return inner.executeUpdate(a, b);
284:            }
285:
286:            public synchronized int executeUpdate(String a) throws SQLException {
287:                return inner.executeUpdate(a);
288:            }
289:
290:            public synchronized int getMaxFieldSize() throws SQLException {
291:                return inner.getMaxFieldSize();
292:            }
293:
294:            public synchronized void setMaxFieldSize(int a) throws SQLException {
295:                inner.setMaxFieldSize(a);
296:            }
297:
298:            public synchronized int getMaxRows() throws SQLException {
299:                return inner.getMaxRows();
300:            }
301:
302:            public synchronized void setMaxRows(int a) throws SQLException {
303:                inner.setMaxRows(a);
304:            }
305:
306:            public synchronized void setEscapeProcessing(boolean a)
307:                    throws SQLException {
308:                inner.setEscapeProcessing(a);
309:            }
310:
311:            public synchronized int getQueryTimeout() throws SQLException {
312:                return inner.getQueryTimeout();
313:            }
314:
315:            public synchronized void setQueryTimeout(int a) throws SQLException {
316:                inner.setQueryTimeout(a);
317:            }
318:
319:            public synchronized void setCursorName(String a)
320:                    throws SQLException {
321:                inner.setCursorName(a);
322:            }
323:
324:            public synchronized ResultSet getResultSet() throws SQLException {
325:                return inner.getResultSet();
326:            }
327:
328:            public synchronized int getUpdateCount() throws SQLException {
329:                return inner.getUpdateCount();
330:            }
331:
332:            public synchronized boolean getMoreResults() throws SQLException {
333:                return inner.getMoreResults();
334:            }
335:
336:            public synchronized boolean getMoreResults(int a)
337:                    throws SQLException {
338:                return inner.getMoreResults(a);
339:            }
340:
341:            public synchronized int getResultSetConcurrency()
342:                    throws SQLException {
343:                return inner.getResultSetConcurrency();
344:            }
345:
346:            public synchronized int getResultSetType() throws SQLException {
347:                return inner.getResultSetType();
348:            }
349:
350:            public synchronized void addBatch(String a) throws SQLException {
351:                inner.addBatch(a);
352:            }
353:
354:            public synchronized void clearBatch() throws SQLException {
355:                inner.clearBatch();
356:            }
357:
358:            public synchronized int[] executeBatch() throws SQLException {
359:                return inner.executeBatch();
360:            }
361:
362:            public synchronized ResultSet getGeneratedKeys()
363:                    throws SQLException {
364:                return inner.getGeneratedKeys();
365:            }
366:
367:            public synchronized void close() throws SQLException {
368:                inner.close();
369:            }
370:
371:            public synchronized boolean execute(String a, int b)
372:                    throws SQLException {
373:                return inner.execute(a, b);
374:            }
375:
376:            public synchronized boolean execute(String a) throws SQLException {
377:                return inner.execute(a);
378:            }
379:
380:            public synchronized boolean execute(String a, int[] b)
381:                    throws SQLException {
382:                return inner.execute(a, b);
383:            }
384:
385:            public synchronized boolean execute(String a, String[] b)
386:                    throws SQLException {
387:                return inner.execute(a, b);
388:            }
389:
390:            public synchronized Connection getConnection() throws SQLException {
391:                return inner.getConnection();
392:            }
393:
394:            public synchronized void cancel() throws SQLException {
395:                inner.cancel();
396:            }
397:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.