Source Code Cross Referenced for NullResultSet.java in  » EJB-Server-resin-3.1.5 » resin » com » caucho » db » 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 » EJB Server resin 3.1.5 » resin » com.caucho.db.jdbc 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


001:        /*
002:         * Copyright (c) 1998-2008 Caucho Technology -- all rights reserved
003:         *
004:         * This file is part of Resin(R) Open Source
005:         *
006:         * Each copy or derived work must preserve the copyright notice and this
007:         * notice unmodified.
008:         *
009:         * Resin Open Source is free software; you can redistribute it and/or modify
010:         * it under the terms of the GNU General Public License as published by
011:         * the Free Software Foundation; either version 2 of the License, or
012:         * (at your option) any later version.
013:         *
014:         * Resin Open Source is distributed in the hope that it will be useful,
015:         * but WITHOUT ANY WARRANTY; without even the implied warranty of
016:         * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE, or any warranty
017:         * of NON-INFRINGEMENT.  See the GNU General Public License for more
018:         * details.
019:         *
020:         * You should have received a copy of the GNU General Public License
021:         * along with Resin Open Source; if not, write to the
022:         *   Free SoftwareFoundation, Inc.
023:         *   59 Temple Place, Suite 330
024:         *   Boston, MA 02111-1307  USA
025:         *
026:         * @author Scott Ferguson
027:         */
028:        package com.caucho.db.jdbc;
029:
030:        import java.io.InputStream;
031:        import java.io.Reader;
032:        import java.sql.NClob;
033:        import java.sql.RowId;
034:        import java.sql.SQLException;
035:        import java.sql.SQLXML;
036:
037:        /**
038:         * The JDBC statement implementation.
039:         */
040:        public class NullResultSet extends AbstractResultSet {
041:            public java.sql.Statement getStatement() throws SQLException {
042:                return null;
043:            }
044:
045:            public java.sql.ResultSetMetaData getMetaData() throws SQLException {
046:                return null;
047:            }
048:
049:            public boolean next() throws SQLException {
050:                return false;
051:            }
052:
053:            public boolean wasNull() throws SQLException {
054:                return false;
055:            }
056:
057:            public int findColumn(String columnName) throws SQLException {
058:                return 0;
059:            }
060:
061:            public String getString(int columnIndex) throws SQLException {
062:                return null;
063:            }
064:
065:            public RowId getRowId(int columnIndex) throws SQLException {
066:                throw new UnsupportedOperationException("Not supported yet.");
067:            }
068:
069:            public RowId getRowId(String columnLabel) throws SQLException {
070:                throw new UnsupportedOperationException("Not supported yet.");
071:            }
072:
073:            public void updateRowId(int columnIndex, RowId x)
074:                    throws SQLException {
075:                throw new UnsupportedOperationException("Not supported yet.");
076:            }
077:
078:            public void updateRowId(String columnLabel, RowId x)
079:                    throws SQLException {
080:                throw new UnsupportedOperationException("Not supported yet.");
081:            }
082:
083:            public int getHoldability() throws SQLException {
084:                throw new UnsupportedOperationException("Not supported yet.");
085:            }
086:
087:            public boolean isClosed() throws SQLException {
088:                throw new UnsupportedOperationException("Not supported yet.");
089:            }
090:
091:            public void updateNString(int columnIndex, String nString)
092:                    throws SQLException {
093:                throw new UnsupportedOperationException("Not supported yet.");
094:            }
095:
096:            public void updateNString(String columnLabel, String nString)
097:                    throws SQLException {
098:                throw new UnsupportedOperationException("Not supported yet.");
099:            }
100:
101:            public void updateNClob(int columnIndex, NClob nClob)
102:                    throws SQLException {
103:                throw new UnsupportedOperationException("Not supported yet.");
104:            }
105:
106:            public void updateNClob(String columnLabel, NClob nClob)
107:                    throws SQLException {
108:                throw new UnsupportedOperationException("Not supported yet.");
109:            }
110:
111:            public NClob getNClob(int columnIndex) throws SQLException {
112:                throw new UnsupportedOperationException("Not supported yet.");
113:            }
114:
115:            public NClob getNClob(String columnLabel) throws SQLException {
116:                throw new UnsupportedOperationException("Not supported yet.");
117:            }
118:
119:            public SQLXML getSQLXML(int columnIndex) throws SQLException {
120:                throw new UnsupportedOperationException("Not supported yet.");
121:            }
122:
123:            public SQLXML getSQLXML(String columnLabel) throws SQLException {
124:                throw new UnsupportedOperationException("Not supported yet.");
125:            }
126:
127:            public void updateSQLXML(int columnIndex, SQLXML xmlObject)
128:                    throws SQLException {
129:                throw new UnsupportedOperationException("Not supported yet.");
130:            }
131:
132:            public void updateSQLXML(String columnLabel, SQLXML xmlObject)
133:                    throws SQLException {
134:                throw new UnsupportedOperationException("Not supported yet.");
135:            }
136:
137:            public String getNString(int columnIndex) throws SQLException {
138:                throw new UnsupportedOperationException("Not supported yet.");
139:            }
140:
141:            public String getNString(String columnLabel) throws SQLException {
142:                throw new UnsupportedOperationException("Not supported yet.");
143:            }
144:
145:            public Reader getNCharacterStream(int columnIndex)
146:                    throws SQLException {
147:                throw new UnsupportedOperationException("Not supported yet.");
148:            }
149:
150:            public Reader getNCharacterStream(String columnLabel)
151:                    throws SQLException {
152:                throw new UnsupportedOperationException("Not supported yet.");
153:            }
154:
155:            public void updateNCharacterStream(int columnIndex, Reader x,
156:                    long length) throws SQLException {
157:                throw new UnsupportedOperationException("Not supported yet.");
158:            }
159:
160:            public void updateNCharacterStream(String columnLabel,
161:                    Reader reader, long length) throws SQLException {
162:                throw new UnsupportedOperationException("Not supported yet.");
163:            }
164:
165:            public void updateAsciiStream(int columnIndex, InputStream x,
166:                    long length) throws SQLException {
167:                throw new UnsupportedOperationException("Not supported yet.");
168:            }
169:
170:            public void updateBinaryStream(int columnIndex, InputStream x,
171:                    long length) throws SQLException {
172:                throw new UnsupportedOperationException("Not supported yet.");
173:            }
174:
175:            public void updateCharacterStream(int columnIndex, Reader x,
176:                    long length) throws SQLException {
177:                throw new UnsupportedOperationException("Not supported yet.");
178:            }
179:
180:            public void updateAsciiStream(String columnLabel, InputStream x,
181:                    long length) throws SQLException {
182:                throw new UnsupportedOperationException("Not supported yet.");
183:            }
184:
185:            public void updateBinaryStream(String columnLabel, InputStream x,
186:                    long length) throws SQLException {
187:                throw new UnsupportedOperationException("Not supported yet.");
188:            }
189:
190:            public void updateCharacterStream(String columnLabel,
191:                    Reader reader, long length) throws SQLException {
192:                throw new UnsupportedOperationException("Not supported yet.");
193:            }
194:
195:            public void updateBlob(int columnIndex, InputStream inputStream,
196:                    long length) throws SQLException {
197:                throw new UnsupportedOperationException("Not supported yet.");
198:            }
199:
200:            public void updateBlob(String columnLabel, InputStream inputStream,
201:                    long length) throws SQLException {
202:                throw new UnsupportedOperationException("Not supported yet.");
203:            }
204:
205:            public void updateClob(int columnIndex, Reader reader, long length)
206:                    throws SQLException {
207:                throw new UnsupportedOperationException("Not supported yet.");
208:            }
209:
210:            public void updateClob(String columnLabel, Reader reader,
211:                    long length) throws SQLException {
212:                throw new UnsupportedOperationException("Not supported yet.");
213:            }
214:
215:            public void updateNClob(int columnIndex, Reader reader, long length)
216:                    throws SQLException {
217:                throw new UnsupportedOperationException("Not supported yet.");
218:            }
219:
220:            public void updateNClob(String columnLabel, Reader reader,
221:                    long length) throws SQLException {
222:                throw new UnsupportedOperationException("Not supported yet.");
223:            }
224:
225:            public void updateNCharacterStream(int columnIndex, Reader x)
226:                    throws SQLException {
227:                throw new UnsupportedOperationException("Not supported yet.");
228:            }
229:
230:            public void updateNCharacterStream(String columnLabel, Reader reader)
231:                    throws SQLException {
232:                throw new UnsupportedOperationException("Not supported yet.");
233:            }
234:
235:            public void updateAsciiStream(int columnIndex, InputStream x)
236:                    throws SQLException {
237:                throw new UnsupportedOperationException("Not supported yet.");
238:            }
239:
240:            public void updateBinaryStream(int columnIndex, InputStream x)
241:                    throws SQLException {
242:                throw new UnsupportedOperationException("Not supported yet.");
243:            }
244:
245:            public void updateCharacterStream(int columnIndex, Reader x)
246:                    throws SQLException {
247:                throw new UnsupportedOperationException("Not supported yet.");
248:            }
249:
250:            public void updateAsciiStream(String columnLabel, InputStream x)
251:                    throws SQLException {
252:                throw new UnsupportedOperationException("Not supported yet.");
253:            }
254:
255:            public void updateBinaryStream(String columnLabel, InputStream x)
256:                    throws SQLException {
257:                throw new UnsupportedOperationException("Not supported yet.");
258:            }
259:
260:            public void updateCharacterStream(String columnLabel, Reader reader)
261:                    throws SQLException {
262:                throw new UnsupportedOperationException("Not supported yet.");
263:            }
264:
265:            public void updateBlob(int columnIndex, InputStream inputStream)
266:                    throws SQLException {
267:                throw new UnsupportedOperationException("Not supported yet.");
268:            }
269:
270:            public void updateBlob(String columnLabel, InputStream inputStream)
271:                    throws SQLException {
272:                throw new UnsupportedOperationException("Not supported yet.");
273:            }
274:
275:            public void updateClob(int columnIndex, Reader reader)
276:                    throws SQLException {
277:                throw new UnsupportedOperationException("Not supported yet.");
278:            }
279:
280:            public void updateClob(String columnLabel, Reader reader)
281:                    throws SQLException {
282:                throw new UnsupportedOperationException("Not supported yet.");
283:            }
284:
285:            public void updateNClob(int columnIndex, Reader reader)
286:                    throws SQLException {
287:                throw new UnsupportedOperationException("Not supported yet.");
288:            }
289:
290:            public void updateNClob(String columnLabel, Reader reader)
291:                    throws SQLException {
292:                throw new UnsupportedOperationException("Not supported yet.");
293:            }
294:
295:            public <T> T unwrap(Class<T> iface) throws SQLException {
296:                throw new UnsupportedOperationException("Not supported yet.");
297:            }
298:
299:            public boolean isWrapperFor(Class<?> iface) throws SQLException {
300:                throw new UnsupportedOperationException("Not supported yet.");
301:            }
302:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.