Source Code Cross Referenced for BrokeredCallableStatement30.java in  » Database-DBMS » db-derby-10.2 » org » apache » derby » iapi » jdbc » 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 DBMS » db derby 10.2 » org.apache.derby.iapi.jdbc 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


001:        /*
002:
003:           Derby - Class org.apache.derby.iapi.jdbc.BrokeredCallableStatement30
004:
005:           Licensed to the Apache Software Foundation (ASF) under one or more
006:           contributor license agreements.  See the NOTICE file distributed with
007:           this work for additional information regarding copyright ownership.
008:           The ASF licenses this file to you under the Apache License, Version 2.0
009:           (the "License"); you may not use this file except in compliance with
010:           the License.  You may obtain a copy of the License at
011:
012:              http://www.apache.org/licenses/LICENSE-2.0
013:
014:           Unless required by applicable law or agreed to in writing, software
015:           distributed under the License is distributed on an "AS IS" BASIS,
016:           WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
017:           See the License for the specific language governing permissions and
018:           limitations under the License.
019:
020:         */
021:
022:        package org.apache.derby.iapi.jdbc;
023:
024:        import java.sql.*;
025:        import java.math.BigDecimal;
026:        import java.net.URL;
027:
028:        import java.util.Calendar;
029:        import java.util.Map;
030:
031:        /**
032:         JDBC 3 brokered CallableStatement
033:         */
034:        public class BrokeredCallableStatement30 extends
035:                BrokeredCallableStatement {
036:
037:            public BrokeredCallableStatement30(
038:                    BrokeredStatementControl control, int jdbcLevel, String sql)
039:                    throws SQLException {
040:                super (control, jdbcLevel, sql);
041:            }
042:
043:            public final void setURL(java.lang.String parameterName,
044:                    java.net.URL value) throws SQLException {
045:                getCallableStatement().setURL(parameterName, value);
046:            }
047:
048:            public final void setNull(java.lang.String parameterName, int type)
049:                    throws SQLException {
050:                getCallableStatement().setNull(parameterName, type);
051:            }
052:
053:            public final void setBoolean(java.lang.String parameterName,
054:                    boolean value) throws SQLException {
055:                getCallableStatement().setBoolean(parameterName, value);
056:            }
057:
058:            public final void setByte(java.lang.String parameterName, byte value)
059:                    throws SQLException {
060:                getCallableStatement().setByte(parameterName, value);
061:            }
062:
063:            public final void setShort(java.lang.String parameterName,
064:                    short value) throws SQLException {
065:                getCallableStatement().setShort(parameterName, value);
066:            }
067:
068:            public final void setInt(java.lang.String parameterName, int value)
069:                    throws SQLException {
070:                getCallableStatement().setInt(parameterName, value);
071:            }
072:
073:            public final void setLong(java.lang.String parameterName, long value)
074:                    throws SQLException {
075:                getCallableStatement().setLong(parameterName, value);
076:            }
077:
078:            public final void setFloat(java.lang.String parameterName,
079:                    float value) throws SQLException {
080:                getCallableStatement().setFloat(parameterName, value);
081:            }
082:
083:            public final void setDouble(java.lang.String parameterName,
084:                    double value) throws SQLException {
085:                getCallableStatement().setDouble(parameterName, value);
086:            }
087:
088:            public final void setBigDecimal(java.lang.String parameterName,
089:                    java.math.BigDecimal value) throws SQLException {
090:                getCallableStatement().setBigDecimal(parameterName, value);
091:            }
092:
093:            public final void setString(java.lang.String parameterName,
094:                    java.lang.String value) throws SQLException {
095:                getCallableStatement().setString(parameterName, value);
096:            }
097:
098:            public final void setBytes(java.lang.String parameterName,
099:                    byte[] value) throws SQLException {
100:                getCallableStatement().setBytes(parameterName, value);
101:            }
102:
103:            public final void setDate(java.lang.String parameterName,
104:                    java.sql.Date value) throws SQLException {
105:                getCallableStatement().setDate(parameterName, value);
106:            }
107:
108:            public final void setTime(java.lang.String parameterName,
109:                    java.sql.Time value) throws SQLException {
110:                getCallableStatement().setTime(parameterName, value);
111:            }
112:
113:            public final void setTimestamp(java.lang.String parameterName,
114:                    java.sql.Timestamp value) throws SQLException {
115:                getCallableStatement().setTimestamp(parameterName, value);
116:            }
117:
118:            public final void setAsciiStream(java.lang.String parameterName,
119:                    java.io.InputStream value, int length) throws SQLException {
120:                getCallableStatement().setAsciiStream(parameterName, value,
121:                        length);
122:            }
123:
124:            public final void setBinaryStream(java.lang.String parameterName,
125:                    java.io.InputStream value, int length) throws SQLException {
126:                getCallableStatement().setBinaryStream(parameterName, value,
127:                        length);
128:            }
129:
130:            public final void setObject(java.lang.String parameterName,
131:                    java.lang.Object value, int a, int b) throws SQLException {
132:                getCallableStatement().setObject(parameterName, value, a, b);
133:            }
134:
135:            public final void setObject(java.lang.String parameterName,
136:                    java.lang.Object value, int a) throws SQLException {
137:                getCallableStatement().setObject(parameterName, value, a);
138:            }
139:
140:            public final void setObject(java.lang.String parameterName,
141:                    java.lang.Object value) throws SQLException {
142:                getCallableStatement().setObject(parameterName, value);
143:            }
144:
145:            public final void setCharacterStream(
146:                    java.lang.String parameterName, java.io.Reader value,
147:                    int length) throws SQLException {
148:                getCallableStatement().setCharacterStream(parameterName, value,
149:                        length);
150:            }
151:
152:            public final void setDate(java.lang.String parameterName,
153:                    java.sql.Date value, java.util.Calendar cal)
154:                    throws SQLException {
155:                getCallableStatement().setDate(parameterName, value, cal);
156:            }
157:
158:            public final void setTime(java.lang.String parameterName,
159:                    java.sql.Time value, java.util.Calendar cal)
160:                    throws SQLException {
161:                getCallableStatement().setTime(parameterName, value, cal);
162:            }
163:
164:            public final void setTimestamp(java.lang.String parameterName,
165:                    java.sql.Timestamp value, java.util.Calendar cal)
166:                    throws SQLException {
167:                getCallableStatement().setTimestamp(parameterName, value, cal);
168:            }
169:
170:            public final void setNull(java.lang.String parameterName, int a,
171:                    java.lang.String b) throws SQLException {
172:                getCallableStatement().setNull(parameterName, a, b);
173:            }
174:
175:            public final java.lang.String getString(
176:                    java.lang.String parameterName) throws SQLException {
177:                return getCallableStatement().getString(parameterName);
178:            }
179:
180:            public final boolean getBoolean(java.lang.String parameterName)
181:                    throws SQLException {
182:                return getCallableStatement().getBoolean(parameterName);
183:            }
184:
185:            public final byte getByte(java.lang.String parameterName)
186:                    throws SQLException {
187:                return getCallableStatement().getByte(parameterName);
188:            }
189:
190:            public final short getShort(java.lang.String parameterName)
191:                    throws SQLException {
192:                return getCallableStatement().getShort(parameterName);
193:            }
194:
195:            public final int getInt(java.lang.String parameterName)
196:                    throws SQLException {
197:                return getCallableStatement().getInt(parameterName);
198:            }
199:
200:            public final long getLong(java.lang.String parameterName)
201:                    throws SQLException {
202:                return getCallableStatement().getLong(parameterName);
203:            }
204:
205:            public final float getFloat(java.lang.String parameterName)
206:                    throws SQLException {
207:                return getCallableStatement().getFloat(parameterName);
208:            }
209:
210:            public final double getDouble(java.lang.String parameterName)
211:                    throws SQLException {
212:                return getCallableStatement().getDouble(parameterName);
213:            }
214:
215:            public final byte[] getBytes(java.lang.String parameterName)
216:                    throws SQLException {
217:                return getCallableStatement().getBytes(parameterName);
218:            }
219:
220:            public final java.sql.Date getDate(java.lang.String parameterName)
221:                    throws SQLException {
222:                return getCallableStatement().getDate(parameterName);
223:            }
224:
225:            public final java.sql.Time getTime(java.lang.String parameterName)
226:                    throws SQLException {
227:                return getCallableStatement().getTime(parameterName);
228:            }
229:
230:            public final java.sql.Timestamp getTimestamp(
231:                    java.lang.String parameterName) throws SQLException {
232:                return getCallableStatement().getTimestamp(parameterName);
233:            }
234:
235:            public final java.lang.Object getObject(
236:                    java.lang.String parameterName) throws SQLException {
237:                return getCallableStatement().getObject(parameterName);
238:            }
239:
240:            public final java.math.BigDecimal getBigDecimal(
241:                    java.lang.String parameterName) throws SQLException {
242:                return getCallableStatement().getBigDecimal(parameterName);
243:            }
244:
245:            public final java.lang.Object getObject(
246:                    java.lang.String parameterName, java.util.Map map)
247:                    throws SQLException {
248:                return getCallableStatement().getObject(parameterName, map);
249:            }
250:
251:            public final java.sql.Ref getRef(java.lang.String parameterName)
252:                    throws SQLException {
253:                return getCallableStatement().getRef(parameterName);
254:            }
255:
256:            public final java.sql.Blob getBlob(java.lang.String parameterName)
257:                    throws SQLException {
258:                return getCallableStatement().getBlob(parameterName);
259:            }
260:
261:            public final java.sql.Clob getClob(java.lang.String parameterName)
262:                    throws SQLException {
263:                return getCallableStatement().getClob(parameterName);
264:            }
265:
266:            public final java.sql.Array getArray(java.lang.String parameterName)
267:                    throws SQLException {
268:                return getCallableStatement().getArray(parameterName);
269:            }
270:
271:            public final java.sql.Date getDate(java.lang.String parameterName,
272:                    java.util.Calendar cal) throws SQLException {
273:                return getCallableStatement().getDate(parameterName, cal);
274:            }
275:
276:            public final java.sql.Time getTime(java.lang.String parameterName,
277:                    java.util.Calendar cal) throws SQLException {
278:                return getCallableStatement().getTime(parameterName, cal);
279:            }
280:
281:            public final java.sql.Timestamp getTimestamp(
282:                    java.lang.String parameterName, java.util.Calendar cal)
283:                    throws SQLException {
284:                return getCallableStatement().getTimestamp(parameterName, cal);
285:            }
286:
287:            public final java.net.URL getURL(java.lang.String parameterName)
288:                    throws SQLException {
289:                return getCallableStatement().getURL(parameterName);
290:            }
291:
292:            public final java.net.URL getURL(int i) throws SQLException {
293:                return getCallableStatement().getURL(i);
294:            }
295:
296:            public final void registerOutParameter(String a, int b)
297:                    throws SQLException {
298:                getCallableStatement().registerOutParameter(a, b);
299:            }
300:
301:            public final void registerOutParameter(String a, int b, int c)
302:                    throws SQLException {
303:                getCallableStatement().registerOutParameter(a, b, c);
304:            }
305:
306:            public final void registerOutParameter(String a, int b, String c)
307:                    throws SQLException {
308:                getCallableStatement().registerOutParameter(a, b, c);
309:            }
310:
311:            /*
312:             ** JDBC 3.0 PreparedStatement methods
313:             */
314:
315:            public final void setURL(int i, URL x) throws SQLException {
316:                getPreparedStatement().setURL(i, x);
317:            }
318:
319:            public final ParameterMetaData getParameterMetaData()
320:                    throws SQLException {
321:                return getPreparedStatement().getParameterMetaData();
322:            }
323:
324:            /*
325:             ** Control methods
326:             */
327:
328:            /**
329:            	Create a duplicate CalableStatement to this, including state, from the passed in Connection.
330:             */
331:            public CallableStatement createDuplicateStatement(Connection conn,
332:                    CallableStatement oldStatement) throws SQLException {
333:
334:                CallableStatement newStatement = conn.prepareCall(sql,
335:                        resultSetType, resultSetConcurrency,
336:                        resultSetHoldability);
337:
338:                setStatementState(oldStatement, newStatement);
339:
340:                return newStatement;
341:            }
342:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.