java/jdbc-loopback-driver/src/info/globalcode/jdbc/loopback/AbstractConnection.java
1.1 --- a/java/jdbc-loopback-driver/src/info/globalcode/jdbc/loopback/AbstractConnection.java Tue Feb 26 18:19:49 2019 +0100
1.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
1.3 @@ -1,311 +0,0 @@
1.4 -/**
1.5 - * SQL-DK
1.6 - * Copyright © 2014 František Kučera (frantovo.cz)
1.7 - *
1.8 - * This program is free software: you can redistribute it and/or modify
1.9 - * it under the terms of the GNU General Public License as published by
1.10 - * the Free Software Foundation, either version 3 of the License, or
1.11 - * (at your option) any later version.
1.12 - *
1.13 - * This program is distributed in the hope that it will be useful,
1.14 - * but WITHOUT ANY WARRANTY; without even the implied warranty of
1.15 - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1.16 - * GNU General Public License for more details.
1.17 - *
1.18 - * You should have received a copy of the GNU General Public License
1.19 - * along with this program. If not, see <http://www.gnu.org/licenses/>.
1.20 - */
1.21 -package info.globalcode.jdbc.loopback;
1.22 -
1.23 -import java.sql.Array;
1.24 -import java.sql.Blob;
1.25 -import java.sql.CallableStatement;
1.26 -import java.sql.Clob;
1.27 -import java.sql.DatabaseMetaData;
1.28 -import java.sql.NClob;
1.29 -import java.sql.SQLClientInfoException;
1.30 -import java.sql.SQLException;
1.31 -import java.sql.SQLWarning;
1.32 -import java.sql.SQLXML;
1.33 -import java.sql.Savepoint;
1.34 -import java.sql.Struct;
1.35 -import java.util.Map;
1.36 -import java.util.Properties;
1.37 -import java.util.concurrent.Executor;
1.38 -
1.39 -/**
1.40 - *
1.41 - * @author Ing. František Kučera (frantovo.cz)
1.42 - */
1.43 -public abstract class AbstractConnection implements java.sql.Connection {
1.44 -
1.45 - @Override
1.46 - public java.sql.Statement createStatement() throws SQLException {
1.47 - throw new SQLException("Not supported yet.");
1.48 - }
1.49 -
1.50 - @Override
1.51 - public java.sql.PreparedStatement prepareStatement(String sql) throws SQLException {
1.52 - throw new SQLException("Not supported yet.");
1.53 - }
1.54 -
1.55 - @Override
1.56 - public CallableStatement prepareCall(String sql) throws SQLException {
1.57 - throw new SQLException("Not supported yet.");
1.58 - }
1.59 -
1.60 - @Override
1.61 - public String nativeSQL(String sql) throws SQLException {
1.62 - throw new SQLException("Not supported yet.");
1.63 - }
1.64 -
1.65 - @Override
1.66 - public void setAutoCommit(boolean autoCommit) throws SQLException {
1.67 - throw new SQLException("Not supported yet.");
1.68 - }
1.69 -
1.70 - @Override
1.71 - public boolean getAutoCommit() throws SQLException {
1.72 - throw new SQLException("Not supported yet.");
1.73 - }
1.74 -
1.75 - @Override
1.76 - public void commit() throws SQLException {
1.77 - throw new SQLException("Not supported yet.");
1.78 - }
1.79 -
1.80 - @Override
1.81 - public void rollback() throws SQLException {
1.82 - throw new SQLException("Not supported yet.");
1.83 - }
1.84 -
1.85 - @Override
1.86 - public void close() throws SQLException {
1.87 - throw new SQLException("Not supported yet.");
1.88 - }
1.89 -
1.90 - @Override
1.91 - public boolean isClosed() throws SQLException {
1.92 - throw new SQLException("Not supported yet.");
1.93 - }
1.94 -
1.95 - @Override
1.96 - public DatabaseMetaData getMetaData() throws SQLException {
1.97 - throw new SQLException("Not supported yet.");
1.98 - }
1.99 -
1.100 - @Override
1.101 - public void setReadOnly(boolean readOnly) throws SQLException {
1.102 - throw new SQLException("Not supported yet.");
1.103 - }
1.104 -
1.105 - @Override
1.106 - public boolean isReadOnly() throws SQLException {
1.107 - throw new SQLException("Not supported yet.");
1.108 - }
1.109 -
1.110 - @Override
1.111 - public void setCatalog(String catalog) throws SQLException {
1.112 - throw new SQLException("Not supported yet.");
1.113 - }
1.114 -
1.115 - @Override
1.116 - public String getCatalog() throws SQLException {
1.117 - throw new SQLException("Not supported yet.");
1.118 - }
1.119 -
1.120 - @Override
1.121 - public void setTransactionIsolation(int level) throws SQLException {
1.122 - throw new SQLException("Not supported yet.");
1.123 - }
1.124 -
1.125 - @Override
1.126 - public int getTransactionIsolation() throws SQLException {
1.127 - throw new SQLException("Not supported yet.");
1.128 - }
1.129 -
1.130 - @Override
1.131 - public SQLWarning getWarnings() throws SQLException {
1.132 - throw new SQLException("Not supported yet.");
1.133 - }
1.134 -
1.135 - @Override
1.136 - public void clearWarnings() throws SQLException {
1.137 - throw new SQLException("Not supported yet.");
1.138 - }
1.139 -
1.140 - @Override
1.141 - public java.sql.Statement createStatement(int resultSetType, int resultSetConcurrency) throws SQLException {
1.142 - throw new SQLException("Not supported yet.");
1.143 - }
1.144 -
1.145 - @Override
1.146 - public PreparedStatement prepareStatement(String sql, int resultSetType, int resultSetConcurrency) throws SQLException {
1.147 - throw new SQLException("Not supported yet.");
1.148 - }
1.149 -
1.150 - @Override
1.151 - public CallableStatement prepareCall(String sql, int resultSetType, int resultSetConcurrency) throws SQLException {
1.152 - throw new SQLException("Not supported yet.");
1.153 - }
1.154 -
1.155 - @Override
1.156 - public Map<String, Class<?>> getTypeMap() throws SQLException {
1.157 - throw new SQLException("Not supported yet.");
1.158 - }
1.159 -
1.160 - @Override
1.161 - public void setTypeMap(Map<String, Class<?>> map) throws SQLException {
1.162 - throw new SQLException("Not supported yet.");
1.163 - }
1.164 -
1.165 - @Override
1.166 - public void setHoldability(int holdability) throws SQLException {
1.167 - throw new SQLException("Not supported yet.");
1.168 - }
1.169 -
1.170 - @Override
1.171 - public int getHoldability() throws SQLException {
1.172 - throw new SQLException("Not supported yet.");
1.173 - }
1.174 -
1.175 - @Override
1.176 - public Savepoint setSavepoint() throws SQLException {
1.177 - throw new SQLException("Not supported yet.");
1.178 - }
1.179 -
1.180 - @Override
1.181 - public Savepoint setSavepoint(String name) throws SQLException {
1.182 - throw new SQLException("Not supported yet.");
1.183 - }
1.184 -
1.185 - @Override
1.186 - public void rollback(Savepoint savepoint) throws SQLException {
1.187 - throw new SQLException("Not supported yet.");
1.188 - }
1.189 -
1.190 - @Override
1.191 - public void releaseSavepoint(Savepoint savepoint) throws SQLException {
1.192 - throw new SQLException("Not supported yet.");
1.193 - }
1.194 -
1.195 - @Override
1.196 - public java.sql.Statement createStatement(int resultSetType, int resultSetConcurrency, int resultSetHoldability) throws SQLException {
1.197 - throw new SQLException("Not supported yet.");
1.198 - }
1.199 -
1.200 - @Override
1.201 - public PreparedStatement prepareStatement(String sql, int resultSetType, int resultSetConcurrency, int resultSetHoldability) throws SQLException {
1.202 - throw new SQLException("Not supported yet.");
1.203 - }
1.204 -
1.205 - @Override
1.206 - public CallableStatement prepareCall(String sql, int resultSetType, int resultSetConcurrency, int resultSetHoldability) throws SQLException {
1.207 - throw new SQLException("Not supported yet.");
1.208 - }
1.209 -
1.210 - @Override
1.211 - public PreparedStatement prepareStatement(String sql, int autoGeneratedKeys) throws SQLException {
1.212 - throw new SQLException("Not supported yet.");
1.213 - }
1.214 -
1.215 - @Override
1.216 - public PreparedStatement prepareStatement(String sql, int[] columnIndexes) throws SQLException {
1.217 - throw new SQLException("Not supported yet.");
1.218 - }
1.219 -
1.220 - @Override
1.221 - public PreparedStatement prepareStatement(String sql, String[] columnNames) throws SQLException {
1.222 - throw new SQLException("Not supported yet.");
1.223 - }
1.224 -
1.225 - @Override
1.226 - public Clob createClob() throws SQLException {
1.227 - throw new SQLException("Not supported yet.");
1.228 - }
1.229 -
1.230 - @Override
1.231 - public Blob createBlob() throws SQLException {
1.232 - throw new SQLException("Not supported yet.");
1.233 - }
1.234 -
1.235 - @Override
1.236 - public NClob createNClob() throws SQLException {
1.237 - throw new SQLException("Not supported yet.");
1.238 - }
1.239 -
1.240 - @Override
1.241 - public SQLXML createSQLXML() throws SQLException {
1.242 - throw new SQLException("Not supported yet.");
1.243 - }
1.244 -
1.245 - @Override
1.246 - public boolean isValid(int timeout) throws SQLException {
1.247 - throw new SQLException("Not supported yet.");
1.248 - }
1.249 -
1.250 - @Override
1.251 - public void setClientInfo(String name, String value) throws SQLClientInfoException {
1.252 - throw new SQLClientInfoException("Not supported yet.", null);
1.253 - }
1.254 -
1.255 - @Override
1.256 - public void setClientInfo(Properties properties) throws SQLClientInfoException {
1.257 - throw new SQLClientInfoException("Not supported yet.", null);
1.258 - }
1.259 -
1.260 - @Override
1.261 - public String getClientInfo(String name) throws SQLException {
1.262 - throw new SQLException("Not supported yet.");
1.263 - }
1.264 -
1.265 - @Override
1.266 - public Properties getClientInfo() throws SQLException {
1.267 - throw new SQLException("Not supported yet.");
1.268 - }
1.269 -
1.270 - @Override
1.271 - public Array createArrayOf(String typeName, Object[] elements) throws SQLException {
1.272 - throw new SQLException("Not supported yet.");
1.273 - }
1.274 -
1.275 - @Override
1.276 - public Struct createStruct(String typeName, Object[] attributes) throws SQLException {
1.277 - throw new SQLException("Not supported yet.");
1.278 - }
1.279 -
1.280 - @Override
1.281 - public void setSchema(String schema) throws SQLException {
1.282 - throw new SQLException("Not supported yet.");
1.283 - }
1.284 -
1.285 - @Override
1.286 - public String getSchema() throws SQLException {
1.287 - throw new SQLException("Not supported yet.");
1.288 - }
1.289 -
1.290 - @Override
1.291 - public void abort(Executor executor) throws SQLException {
1.292 - throw new SQLException("Not supported yet.");
1.293 - }
1.294 -
1.295 - @Override
1.296 - public void setNetworkTimeout(Executor executor, int milliseconds) throws SQLException {
1.297 - throw new SQLException("Not supported yet.");
1.298 - }
1.299 -
1.300 - @Override
1.301 - public int getNetworkTimeout() throws SQLException {
1.302 - throw new SQLException("Not supported yet.");
1.303 - }
1.304 -
1.305 - @Override
1.306 - public <T> T unwrap(Class<T> iface) throws SQLException {
1.307 - throw new SQLException("Not supported yet.");
1.308 - }
1.309 -
1.310 - @Override
1.311 - public boolean isWrapperFor(Class<?> iface) throws SQLException {
1.312 - throw new SQLException("Not supported yet.");
1.313 - }
1.314 -}