java/jdbc-loopback-driver/src/info/globalcode/jdbc/loopback/AbstractStatement.java
1.1 --- a/java/jdbc-loopback-driver/src/info/globalcode/jdbc/loopback/AbstractStatement.java Tue Feb 26 18:19:49 2019 +0100
1.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
1.3 @@ -1,250 +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.Connection;
1.24 -import java.sql.SQLException;
1.25 -import java.sql.SQLWarning;
1.26 -
1.27 -/**
1.28 - *
1.29 - * @author Ing. František Kučera (frantovo.cz)
1.30 - */
1.31 -public abstract class AbstractStatement implements java.sql.Statement {
1.32 -
1.33 - @Override
1.34 - public ResultSet executeQuery(String sql) throws SQLException {
1.35 - throw new SQLException("Not supported yet.");
1.36 - }
1.37 -
1.38 - @Override
1.39 - public int executeUpdate(String sql) throws SQLException {
1.40 - throw new SQLException("Not supported yet.");
1.41 - }
1.42 -
1.43 - @Override
1.44 - public void close() throws SQLException {
1.45 - throw new SQLException("Not supported yet.");
1.46 - }
1.47 -
1.48 - @Override
1.49 - public int getMaxFieldSize() throws SQLException {
1.50 - throw new SQLException("Not supported yet.");
1.51 - }
1.52 -
1.53 - @Override
1.54 - public void setMaxFieldSize(int max) throws SQLException {
1.55 - throw new SQLException("Not supported yet.");
1.56 - }
1.57 -
1.58 - @Override
1.59 - public int getMaxRows() throws SQLException {
1.60 - throw new SQLException("Not supported yet.");
1.61 - }
1.62 -
1.63 - @Override
1.64 - public void setMaxRows(int max) throws SQLException {
1.65 - throw new SQLException("Not supported yet.");
1.66 - }
1.67 -
1.68 - @Override
1.69 - public void setEscapeProcessing(boolean enable) throws SQLException {
1.70 - throw new SQLException("Not supported yet.");
1.71 - }
1.72 -
1.73 - @Override
1.74 - public int getQueryTimeout() throws SQLException {
1.75 - throw new SQLException("Not supported yet.");
1.76 - }
1.77 -
1.78 - @Override
1.79 - public void setQueryTimeout(int seconds) throws SQLException {
1.80 - throw new SQLException("Not supported yet.");
1.81 - }
1.82 -
1.83 - @Override
1.84 - public void cancel() throws SQLException {
1.85 - throw new SQLException("Not supported yet.");
1.86 - }
1.87 -
1.88 - @Override
1.89 - public SQLWarning getWarnings() throws SQLException {
1.90 - throw new SQLException("Not supported yet.");
1.91 - }
1.92 -
1.93 - @Override
1.94 - public void clearWarnings() throws SQLException {
1.95 - throw new SQLException("Not supported yet.");
1.96 - }
1.97 -
1.98 - @Override
1.99 - public void setCursorName(String name) throws SQLException {
1.100 - throw new SQLException("Not supported yet.");
1.101 - }
1.102 -
1.103 - @Override
1.104 - public boolean execute(String sql) throws SQLException {
1.105 - throw new SQLException("Not supported yet.");
1.106 - }
1.107 -
1.108 - @Override
1.109 - public java.sql.ResultSet getResultSet() throws SQLException {
1.110 - throw new SQLException("Not supported yet.");
1.111 - }
1.112 -
1.113 - @Override
1.114 - public int getUpdateCount() throws SQLException {
1.115 - throw new SQLException("Not supported yet.");
1.116 - }
1.117 -
1.118 - @Override
1.119 - public boolean getMoreResults() throws SQLException {
1.120 - throw new SQLException("Not supported yet.");
1.121 - }
1.122 -
1.123 - @Override
1.124 - public void setFetchDirection(int direction) throws SQLException {
1.125 - throw new SQLException("Not supported yet.");
1.126 - }
1.127 -
1.128 - @Override
1.129 - public int getFetchDirection() throws SQLException {
1.130 - throw new SQLException("Not supported yet.");
1.131 - }
1.132 -
1.133 - @Override
1.134 - public void setFetchSize(int rows) throws SQLException {
1.135 - throw new SQLException("Not supported yet.");
1.136 - }
1.137 -
1.138 - @Override
1.139 - public int getFetchSize() throws SQLException {
1.140 - throw new SQLException("Not supported yet.");
1.141 - }
1.142 -
1.143 - @Override
1.144 - public int getResultSetConcurrency() throws SQLException {
1.145 - throw new SQLException("Not supported yet.");
1.146 - }
1.147 -
1.148 - @Override
1.149 - public int getResultSetType() throws SQLException {
1.150 - throw new SQLException("Not supported yet.");
1.151 - }
1.152 -
1.153 - @Override
1.154 - public void addBatch(String sql) throws SQLException {
1.155 - throw new SQLException("Not supported yet.");
1.156 - }
1.157 -
1.158 - @Override
1.159 - public void clearBatch() throws SQLException {
1.160 - throw new SQLException("Not supported yet.");
1.161 - }
1.162 -
1.163 - @Override
1.164 - public int[] executeBatch() throws SQLException {
1.165 - throw new SQLException("Not supported yet.");
1.166 - }
1.167 -
1.168 - @Override
1.169 - public Connection getConnection() throws SQLException {
1.170 - throw new SQLException("Not supported yet.");
1.171 - }
1.172 -
1.173 - @Override
1.174 - public boolean getMoreResults(int current) throws SQLException {
1.175 - throw new SQLException("Not supported yet.");
1.176 - }
1.177 -
1.178 - @Override
1.179 - public ResultSet getGeneratedKeys() throws SQLException {
1.180 - throw new SQLException("Not supported yet.");
1.181 - }
1.182 -
1.183 - @Override
1.184 - public int executeUpdate(String sql, int autoGeneratedKeys) throws SQLException {
1.185 - throw new SQLException("Not supported yet.");
1.186 - }
1.187 -
1.188 - @Override
1.189 - public int executeUpdate(String sql, int[] columnIndexes) throws SQLException {
1.190 - throw new SQLException("Not supported yet.");
1.191 - }
1.192 -
1.193 - @Override
1.194 - public int executeUpdate(String sql, String[] columnNames) throws SQLException {
1.195 - throw new SQLException("Not supported yet.");
1.196 - }
1.197 -
1.198 - @Override
1.199 - public boolean execute(String sql, int autoGeneratedKeys) throws SQLException {
1.200 - throw new SQLException("Not supported yet.");
1.201 - }
1.202 -
1.203 - @Override
1.204 - public boolean execute(String sql, int[] columnIndexes) throws SQLException {
1.205 - throw new SQLException("Not supported yet.");
1.206 - }
1.207 -
1.208 - @Override
1.209 - public boolean execute(String sql, String[] columnNames) throws SQLException {
1.210 - throw new SQLException("Not supported yet.");
1.211 - }
1.212 -
1.213 - @Override
1.214 - public int getResultSetHoldability() throws SQLException {
1.215 - throw new SQLException("Not supported yet.");
1.216 - }
1.217 -
1.218 - @Override
1.219 - public boolean isClosed() throws SQLException {
1.220 - throw new SQLException("Not supported yet.");
1.221 - }
1.222 -
1.223 - @Override
1.224 - public void setPoolable(boolean poolable) throws SQLException {
1.225 - throw new SQLException("Not supported yet.");
1.226 - }
1.227 -
1.228 - @Override
1.229 - public boolean isPoolable() throws SQLException {
1.230 - throw new SQLException("Not supported yet.");
1.231 - }
1.232 -
1.233 - @Override
1.234 - public void closeOnCompletion() throws SQLException {
1.235 - throw new SQLException("Not supported yet.");
1.236 - }
1.237 -
1.238 - @Override
1.239 - public boolean isCloseOnCompletion() throws SQLException {
1.240 - throw new SQLException("Not supported yet.");
1.241 - }
1.242 -
1.243 - @Override
1.244 - public <T> T unwrap(Class<T> iface) throws SQLException {
1.245 - throw new SQLException("Not supported yet.");
1.246 - }
1.247 -
1.248 - @Override
1.249 - public boolean isWrapperFor(Class<?> iface) throws SQLException {
1.250 - throw new SQLException("Not supported yet.");
1.251 - }
1.252 -
1.253 -}