Source Code Cross Referenced for ConnectionDecorator.java in  » GIS » GeoTools-2.4.1 » org » geotools » data » 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 » GIS » GeoTools 2.4.1 » org.geotools.data.jdbc 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


001:        package org.geotools.data.jdbc;
002:
003:        import java.sql.CallableStatement;
004:        import java.sql.Connection;
005:        import java.sql.DatabaseMetaData;
006:        import java.sql.PreparedStatement;
007:        import java.sql.SQLException;
008:        import java.sql.SQLWarning;
009:        import java.sql.Savepoint;
010:        import java.sql.Statement;
011:        import java.util.Map;
012:
013:        public class ConnectionDecorator implements  Connection {
014:
015:            protected Connection connection;
016:
017:            public ConnectionDecorator(Connection connection) {
018:                this .connection = connection;
019:            }
020:
021:            public void clearWarnings() throws SQLException {
022:                connection.clearWarnings();
023:            }
024:
025:            public void close() throws SQLException {
026:                connection.close();
027:            }
028:
029:            public void commit() throws SQLException {
030:                connection.commit();
031:            }
032:
033:            public Statement createStatement() throws SQLException {
034:                return connection.createStatement();
035:            }
036:
037:            public Statement createStatement(int resultSetType,
038:                    int resultSetConcurrency) throws SQLException {
039:                return connection.createStatement(resultSetType,
040:                        resultSetConcurrency);
041:            }
042:
043:            public Statement createStatement(int resultSetType,
044:                    int resultSetConcurrency, int resultSetHoldability)
045:                    throws SQLException {
046:                return connection.createStatement(resultSetType,
047:                        resultSetConcurrency, resultSetHoldability);
048:            }
049:
050:            public boolean getAutoCommit() throws SQLException {
051:                return connection.getAutoCommit();
052:            }
053:
054:            public String getCatalog() throws SQLException {
055:                return connection.getCatalog();
056:            }
057:
058:            public int getHoldability() throws SQLException {
059:                return connection.getHoldability();
060:            }
061:
062:            public DatabaseMetaData getMetaData() throws SQLException {
063:                return connection.getMetaData();
064:            }
065:
066:            public int getTransactionIsolation() throws SQLException {
067:                return connection.getTransactionIsolation();
068:            }
069:
070:            public Map getTypeMap() throws SQLException {
071:                return connection.getTypeMap();
072:            }
073:
074:            public SQLWarning getWarnings() throws SQLException {
075:                return connection.getWarnings();
076:            }
077:
078:            public boolean isClosed() throws SQLException {
079:                return connection.isClosed();
080:            }
081:
082:            public boolean isReadOnly() throws SQLException {
083:                return connection.isReadOnly();
084:            }
085:
086:            public String nativeSQL(String sql) throws SQLException {
087:                // TODO Auto-generated method stub
088:                return null;
089:            }
090:
091:            public CallableStatement prepareCall(String sql)
092:                    throws SQLException {
093:                // TODO Auto-generated method stub
094:                return null;
095:            }
096:
097:            public CallableStatement prepareCall(String sql, int resultSetType,
098:                    int resultSetConcurrency) throws SQLException {
099:                // TODO Auto-generated method stub
100:                return null;
101:            }
102:
103:            public CallableStatement prepareCall(String sql, int resultSetType,
104:                    int resultSetConcurrency, int resultSetHoldability)
105:                    throws SQLException {
106:                // TODO Auto-generated method stub
107:                return null;
108:            }
109:
110:            public PreparedStatement prepareStatement(String sql)
111:                    throws SQLException {
112:                // TODO Auto-generated method stub
113:                return null;
114:            }
115:
116:            public PreparedStatement prepareStatement(String sql,
117:                    int autoGeneratedKeys) throws SQLException {
118:                // TODO Auto-generated method stub
119:                return null;
120:            }
121:
122:            public PreparedStatement prepareStatement(String sql,
123:                    int[] columnIndexes) throws SQLException {
124:                // TODO Auto-generated method stub
125:                return null;
126:            }
127:
128:            public PreparedStatement prepareStatement(String sql,
129:                    String[] columnNames) throws SQLException {
130:                // TODO Auto-generated method stub
131:                return null;
132:            }
133:
134:            public PreparedStatement prepareStatement(String sql,
135:                    int resultSetType, int resultSetConcurrency)
136:                    throws SQLException {
137:                // TODO Auto-generated method stub
138:                return null;
139:            }
140:
141:            public PreparedStatement prepareStatement(String sql,
142:                    int resultSetType, int resultSetConcurrency,
143:                    int resultSetHoldability) throws SQLException {
144:                // TODO Auto-generated method stub
145:                return null;
146:            }
147:
148:            public void releaseSavepoint(Savepoint savepoint)
149:                    throws SQLException {
150:                // TODO Auto-generated method stub
151:
152:            }
153:
154:            public void rollback() throws SQLException {
155:                // TODO Auto-generated method stub
156:
157:            }
158:
159:            public void rollback(Savepoint savepoint) throws SQLException {
160:                // TODO Auto-generated method stub
161:
162:            }
163:
164:            public void setAutoCommit(boolean autoCommit) throws SQLException {
165:                // TODO Auto-generated method stub
166:
167:            }
168:
169:            public void setCatalog(String catalog) throws SQLException {
170:                // TODO Auto-generated method stub
171:
172:            }
173:
174:            public void setHoldability(int holdability) throws SQLException {
175:                // TODO Auto-generated method stub
176:
177:            }
178:
179:            public void setReadOnly(boolean readOnly) throws SQLException {
180:                // TODO Auto-generated method stub
181:
182:            }
183:
184:            public Savepoint setSavepoint() throws SQLException {
185:                // TODO Auto-generated method stub
186:                return null;
187:            }
188:
189:            public Savepoint setSavepoint(String name) throws SQLException {
190:                // TODO Auto-generated method stub
191:                return null;
192:            }
193:
194:            public void setTransactionIsolation(int level) throws SQLException {
195:                // TODO Auto-generated method stub
196:
197:            }
198:
199:            public void setTypeMap(Map arg0) throws SQLException {
200:                // TODO Auto-generated method stub
201:
202:            }
203:
204:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.