java/jdbc-loopback-driver/src/info/globalcode/jdbc/loopback/AbstractStatement.java
3 * Copyright © 2014 František Kučera (frantovo.cz)
5 * This program is free software: you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation, either version 3 of the License, or
8 * (at your option) any later version.
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
15 * You should have received a copy of the GNU General Public License
16 * along with this program. If not, see <http://www.gnu.org/licenses/>.
18 package info.globalcode.jdbc.loopback;
20 import java.sql.Connection;
21 import java.sql.SQLException;
22 import java.sql.SQLWarning;
26 * @author Ing. František Kučera (frantovo.cz)
28 public abstract class AbstractStatement implements java.sql.Statement {
31 public ResultSet executeQuery(String sql) throws SQLException {
32 throw new SQLException("Not supported yet.");
36 public int executeUpdate(String sql) throws SQLException {
37 throw new SQLException("Not supported yet.");
41 public void close() throws SQLException {
42 throw new SQLException("Not supported yet.");
46 public int getMaxFieldSize() throws SQLException {
47 throw new SQLException("Not supported yet.");
51 public void setMaxFieldSize(int max) throws SQLException {
52 throw new SQLException("Not supported yet.");
56 public int getMaxRows() throws SQLException {
57 throw new SQLException("Not supported yet.");
61 public void setMaxRows(int max) throws SQLException {
62 throw new SQLException("Not supported yet.");
66 public void setEscapeProcessing(boolean enable) throws SQLException {
67 throw new SQLException("Not supported yet.");
71 public int getQueryTimeout() throws SQLException {
72 throw new SQLException("Not supported yet.");
76 public void setQueryTimeout(int seconds) throws SQLException {
77 throw new SQLException("Not supported yet.");
81 public void cancel() throws SQLException {
82 throw new SQLException("Not supported yet.");
86 public SQLWarning getWarnings() throws SQLException {
87 throw new SQLException("Not supported yet.");
91 public void clearWarnings() throws SQLException {
92 throw new SQLException("Not supported yet.");
96 public void setCursorName(String name) throws SQLException {
97 throw new SQLException("Not supported yet.");
101 public boolean execute(String sql) throws SQLException {
102 throw new SQLException("Not supported yet.");
106 public java.sql.ResultSet getResultSet() throws SQLException {
107 throw new SQLException("Not supported yet.");
111 public int getUpdateCount() throws SQLException {
112 throw new SQLException("Not supported yet.");
116 public boolean getMoreResults() throws SQLException {
117 throw new SQLException("Not supported yet.");
121 public void setFetchDirection(int direction) throws SQLException {
122 throw new SQLException("Not supported yet.");
126 public int getFetchDirection() throws SQLException {
127 throw new SQLException("Not supported yet.");
131 public void setFetchSize(int rows) throws SQLException {
132 throw new SQLException("Not supported yet.");
136 public int getFetchSize() throws SQLException {
137 throw new SQLException("Not supported yet.");
141 public int getResultSetConcurrency() throws SQLException {
142 throw new SQLException("Not supported yet.");
146 public int getResultSetType() throws SQLException {
147 throw new SQLException("Not supported yet.");
151 public void addBatch(String sql) throws SQLException {
152 throw new SQLException("Not supported yet.");
156 public void clearBatch() throws SQLException {
157 throw new SQLException("Not supported yet.");
161 public int[] executeBatch() throws SQLException {
162 throw new SQLException("Not supported yet.");
166 public Connection getConnection() throws SQLException {
167 throw new SQLException("Not supported yet.");
171 public boolean getMoreResults(int current) throws SQLException {
172 throw new SQLException("Not supported yet.");
176 public ResultSet getGeneratedKeys() throws SQLException {
177 throw new SQLException("Not supported yet.");
181 public int executeUpdate(String sql, int autoGeneratedKeys) throws SQLException {
182 throw new SQLException("Not supported yet.");
186 public int executeUpdate(String sql, int[] columnIndexes) throws SQLException {
187 throw new SQLException("Not supported yet.");
191 public int executeUpdate(String sql, String[] columnNames) throws SQLException {
192 throw new SQLException("Not supported yet.");
196 public boolean execute(String sql, int autoGeneratedKeys) throws SQLException {
197 throw new SQLException("Not supported yet.");
201 public boolean execute(String sql, int[] columnIndexes) throws SQLException {
202 throw new SQLException("Not supported yet.");
206 public boolean execute(String sql, String[] columnNames) throws SQLException {
207 throw new SQLException("Not supported yet.");
211 public int getResultSetHoldability() throws SQLException {
212 throw new SQLException("Not supported yet.");
216 public boolean isClosed() throws SQLException {
217 throw new SQLException("Not supported yet.");
221 public void setPoolable(boolean poolable) throws SQLException {
222 throw new SQLException("Not supported yet.");
226 public boolean isPoolable() throws SQLException {
227 throw new SQLException("Not supported yet.");
231 public void closeOnCompletion() throws SQLException {
232 throw new SQLException("Not supported yet.");
236 public boolean isCloseOnCompletion() throws SQLException {
237 throw new SQLException("Not supported yet.");
241 public <T> T unwrap(Class<T> iface) throws SQLException {
242 throw new SQLException("Not supported yet.");
246 public boolean isWrapperFor(Class<?> iface) throws SQLException {
247 throw new SQLException("Not supported yet.");