java/jdbc-loopback-driver/src/main/java/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, version 3 of the License.
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
14 * You should have received a copy of the GNU General Public License
15 * along with this program. If not, see <http://www.gnu.org/licenses/>.
17 package info.globalcode.jdbc.loopback;
19 import java.sql.Connection;
20 import java.sql.SQLException;
21 import java.sql.SQLWarning;
25 * @author Ing. František Kučera (frantovo.cz)
27 public abstract class AbstractStatement implements java.sql.Statement {
30 public ResultSet executeQuery(String sql) throws SQLException {
31 throw new SQLException("Not supported yet.");
35 public int executeUpdate(String sql) throws SQLException {
36 throw new SQLException("Not supported yet.");
40 public void close() throws SQLException {
41 throw new SQLException("Not supported yet.");
45 public int getMaxFieldSize() throws SQLException {
46 throw new SQLException("Not supported yet.");
50 public void setMaxFieldSize(int max) throws SQLException {
51 throw new SQLException("Not supported yet.");
55 public int getMaxRows() throws SQLException {
56 throw new SQLException("Not supported yet.");
60 public void setMaxRows(int max) throws SQLException {
61 throw new SQLException("Not supported yet.");
65 public void setEscapeProcessing(boolean enable) throws SQLException {
66 throw new SQLException("Not supported yet.");
70 public int getQueryTimeout() throws SQLException {
71 throw new SQLException("Not supported yet.");
75 public void setQueryTimeout(int seconds) throws SQLException {
76 throw new SQLException("Not supported yet.");
80 public void cancel() throws SQLException {
81 throw new SQLException("Not supported yet.");
85 public SQLWarning getWarnings() throws SQLException {
86 throw new SQLException("Not supported yet.");
90 public void clearWarnings() throws SQLException {
91 throw new SQLException("Not supported yet.");
95 public void setCursorName(String name) throws SQLException {
96 throw new SQLException("Not supported yet.");
100 public boolean execute(String sql) throws SQLException {
101 throw new SQLException("Not supported yet.");
105 public java.sql.ResultSet getResultSet() throws SQLException {
106 throw new SQLException("Not supported yet.");
110 public int getUpdateCount() throws SQLException {
111 throw new SQLException("Not supported yet.");
115 public boolean getMoreResults() throws SQLException {
116 throw new SQLException("Not supported yet.");
120 public void setFetchDirection(int direction) throws SQLException {
121 throw new SQLException("Not supported yet.");
125 public int getFetchDirection() throws SQLException {
126 throw new SQLException("Not supported yet.");
130 public void setFetchSize(int rows) throws SQLException {
131 throw new SQLException("Not supported yet.");
135 public int getFetchSize() throws SQLException {
136 throw new SQLException("Not supported yet.");
140 public int getResultSetConcurrency() throws SQLException {
141 throw new SQLException("Not supported yet.");
145 public int getResultSetType() throws SQLException {
146 throw new SQLException("Not supported yet.");
150 public void addBatch(String sql) throws SQLException {
151 throw new SQLException("Not supported yet.");
155 public void clearBatch() throws SQLException {
156 throw new SQLException("Not supported yet.");
160 public int[] executeBatch() throws SQLException {
161 throw new SQLException("Not supported yet.");
165 public Connection getConnection() throws SQLException {
166 throw new SQLException("Not supported yet.");
170 public boolean getMoreResults(int current) throws SQLException {
171 throw new SQLException("Not supported yet.");
175 public ResultSet getGeneratedKeys() throws SQLException {
176 throw new SQLException("Not supported yet.");
180 public int executeUpdate(String sql, int autoGeneratedKeys) throws SQLException {
181 throw new SQLException("Not supported yet.");
185 public int executeUpdate(String sql, int[] columnIndexes) throws SQLException {
186 throw new SQLException("Not supported yet.");
190 public int executeUpdate(String sql, String[] columnNames) throws SQLException {
191 throw new SQLException("Not supported yet.");
195 public boolean execute(String sql, int autoGeneratedKeys) throws SQLException {
196 throw new SQLException("Not supported yet.");
200 public boolean execute(String sql, int[] columnIndexes) throws SQLException {
201 throw new SQLException("Not supported yet.");
205 public boolean execute(String sql, String[] columnNames) throws SQLException {
206 throw new SQLException("Not supported yet.");
210 public int getResultSetHoldability() throws SQLException {
211 throw new SQLException("Not supported yet.");
215 public boolean isClosed() throws SQLException {
216 throw new SQLException("Not supported yet.");
220 public void setPoolable(boolean poolable) throws SQLException {
221 throw new SQLException("Not supported yet.");
225 public boolean isPoolable() throws SQLException {
226 throw new SQLException("Not supported yet.");
230 public void closeOnCompletion() throws SQLException {
231 throw new SQLException("Not supported yet.");
235 public boolean isCloseOnCompletion() throws SQLException {
236 throw new SQLException("Not supported yet.");
240 public <T> T unwrap(Class<T> iface) throws SQLException {
241 throw new SQLException("Not supported yet.");
245 public boolean isWrapperFor(Class<?> iface) throws SQLException {
246 throw new SQLException("Not supported yet.");