java/jdbc-loopback-driver/src/main/java/info/globalcode/jdbc/loopback/AbstractStatement.java
author František Kučera <franta-hg@frantovo.cz>
Thu, 24 Oct 2019 21:43:08 +0200
branchv_0
changeset 250 aae5009bd0af
parent 237 7e08730da258
permissions -rw-r--r--
fix license version: GNU GPLv3
franta-hg@171
     1
/**
franta-hg@171
     2
 * SQL-DK
franta-hg@171
     3
 * Copyright © 2014 František Kučera (frantovo.cz)
franta-hg@171
     4
 *
franta-hg@171
     5
 * This program is free software: you can redistribute it and/or modify
franta-hg@171
     6
 * it under the terms of the GNU General Public License as published by
franta-hg@250
     7
 * the Free Software Foundation, version 3 of the License.
franta-hg@171
     8
 *
franta-hg@171
     9
 * This program is distributed in the hope that it will be useful,
franta-hg@171
    10
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
franta-hg@171
    11
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
franta-hg@171
    12
 * GNU General Public License for more details.
franta-hg@171
    13
 *
franta-hg@171
    14
 * You should have received a copy of the GNU General Public License
franta-hg@171
    15
 * along with this program. If not, see <http://www.gnu.org/licenses/>.
franta-hg@171
    16
 */
franta-hg@171
    17
package info.globalcode.jdbc.loopback;
franta-hg@171
    18
franta-hg@171
    19
import java.sql.Connection;
franta-hg@171
    20
import java.sql.SQLException;
franta-hg@171
    21
import java.sql.SQLWarning;
franta-hg@171
    22
franta-hg@171
    23
/**
franta-hg@171
    24
 *
franta-hg@171
    25
 * @author Ing. František Kučera (frantovo.cz)
franta-hg@171
    26
 */
franta-hg@171
    27
public abstract class AbstractStatement implements java.sql.Statement {
franta-hg@171
    28
franta-hg@171
    29
	@Override
franta-hg@171
    30
	public ResultSet executeQuery(String sql) throws SQLException {
franta-hg@171
    31
		throw new SQLException("Not supported yet.");
franta-hg@171
    32
	}
franta-hg@171
    33
franta-hg@171
    34
	@Override
franta-hg@171
    35
	public int executeUpdate(String sql) throws SQLException {
franta-hg@171
    36
		throw new SQLException("Not supported yet.");
franta-hg@171
    37
	}
franta-hg@171
    38
franta-hg@171
    39
	@Override
franta-hg@171
    40
	public void close() throws SQLException {
franta-hg@171
    41
		throw new SQLException("Not supported yet.");
franta-hg@171
    42
	}
franta-hg@171
    43
franta-hg@171
    44
	@Override
franta-hg@171
    45
	public int getMaxFieldSize() throws SQLException {
franta-hg@171
    46
		throw new SQLException("Not supported yet.");
franta-hg@171
    47
	}
franta-hg@171
    48
franta-hg@171
    49
	@Override
franta-hg@171
    50
	public void setMaxFieldSize(int max) throws SQLException {
franta-hg@171
    51
		throw new SQLException("Not supported yet.");
franta-hg@171
    52
	}
franta-hg@171
    53
franta-hg@171
    54
	@Override
franta-hg@171
    55
	public int getMaxRows() throws SQLException {
franta-hg@171
    56
		throw new SQLException("Not supported yet.");
franta-hg@171
    57
	}
franta-hg@171
    58
franta-hg@171
    59
	@Override
franta-hg@171
    60
	public void setMaxRows(int max) throws SQLException {
franta-hg@171
    61
		throw new SQLException("Not supported yet.");
franta-hg@171
    62
	}
franta-hg@171
    63
franta-hg@171
    64
	@Override
franta-hg@171
    65
	public void setEscapeProcessing(boolean enable) throws SQLException {
franta-hg@171
    66
		throw new SQLException("Not supported yet.");
franta-hg@171
    67
	}
franta-hg@171
    68
franta-hg@171
    69
	@Override
franta-hg@171
    70
	public int getQueryTimeout() throws SQLException {
franta-hg@171
    71
		throw new SQLException("Not supported yet.");
franta-hg@171
    72
	}
franta-hg@171
    73
franta-hg@171
    74
	@Override
franta-hg@171
    75
	public void setQueryTimeout(int seconds) throws SQLException {
franta-hg@171
    76
		throw new SQLException("Not supported yet.");
franta-hg@171
    77
	}
franta-hg@171
    78
franta-hg@171
    79
	@Override
franta-hg@171
    80
	public void cancel() throws SQLException {
franta-hg@171
    81
		throw new SQLException("Not supported yet.");
franta-hg@171
    82
	}
franta-hg@171
    83
franta-hg@171
    84
	@Override
franta-hg@171
    85
	public SQLWarning getWarnings() throws SQLException {
franta-hg@171
    86
		throw new SQLException("Not supported yet.");
franta-hg@171
    87
	}
franta-hg@171
    88
franta-hg@171
    89
	@Override
franta-hg@171
    90
	public void clearWarnings() throws SQLException {
franta-hg@171
    91
		throw new SQLException("Not supported yet.");
franta-hg@171
    92
	}
franta-hg@171
    93
franta-hg@171
    94
	@Override
franta-hg@171
    95
	public void setCursorName(String name) throws SQLException {
franta-hg@171
    96
		throw new SQLException("Not supported yet.");
franta-hg@171
    97
	}
franta-hg@171
    98
franta-hg@171
    99
	@Override
franta-hg@171
   100
	public boolean execute(String sql) throws SQLException {
franta-hg@171
   101
		throw new SQLException("Not supported yet.");
franta-hg@171
   102
	}
franta-hg@171
   103
franta-hg@171
   104
	@Override
franta-hg@171
   105
	public java.sql.ResultSet getResultSet() throws SQLException {
franta-hg@171
   106
		throw new SQLException("Not supported yet.");
franta-hg@171
   107
	}
franta-hg@171
   108
franta-hg@171
   109
	@Override
franta-hg@171
   110
	public int getUpdateCount() throws SQLException {
franta-hg@171
   111
		throw new SQLException("Not supported yet.");
franta-hg@171
   112
	}
franta-hg@171
   113
franta-hg@171
   114
	@Override
franta-hg@171
   115
	public boolean getMoreResults() throws SQLException {
franta-hg@171
   116
		throw new SQLException("Not supported yet.");
franta-hg@171
   117
	}
franta-hg@171
   118
franta-hg@171
   119
	@Override
franta-hg@171
   120
	public void setFetchDirection(int direction) throws SQLException {
franta-hg@171
   121
		throw new SQLException("Not supported yet.");
franta-hg@171
   122
	}
franta-hg@171
   123
franta-hg@171
   124
	@Override
franta-hg@171
   125
	public int getFetchDirection() throws SQLException {
franta-hg@171
   126
		throw new SQLException("Not supported yet.");
franta-hg@171
   127
	}
franta-hg@171
   128
franta-hg@171
   129
	@Override
franta-hg@171
   130
	public void setFetchSize(int rows) throws SQLException {
franta-hg@171
   131
		throw new SQLException("Not supported yet.");
franta-hg@171
   132
	}
franta-hg@171
   133
franta-hg@171
   134
	@Override
franta-hg@171
   135
	public int getFetchSize() throws SQLException {
franta-hg@171
   136
		throw new SQLException("Not supported yet.");
franta-hg@171
   137
	}
franta-hg@171
   138
franta-hg@171
   139
	@Override
franta-hg@171
   140
	public int getResultSetConcurrency() throws SQLException {
franta-hg@171
   141
		throw new SQLException("Not supported yet.");
franta-hg@171
   142
	}
franta-hg@171
   143
franta-hg@171
   144
	@Override
franta-hg@171
   145
	public int getResultSetType() throws SQLException {
franta-hg@171
   146
		throw new SQLException("Not supported yet.");
franta-hg@171
   147
	}
franta-hg@171
   148
franta-hg@171
   149
	@Override
franta-hg@171
   150
	public void addBatch(String sql) throws SQLException {
franta-hg@171
   151
		throw new SQLException("Not supported yet.");
franta-hg@171
   152
	}
franta-hg@171
   153
franta-hg@171
   154
	@Override
franta-hg@171
   155
	public void clearBatch() throws SQLException {
franta-hg@171
   156
		throw new SQLException("Not supported yet.");
franta-hg@171
   157
	}
franta-hg@171
   158
franta-hg@171
   159
	@Override
franta-hg@171
   160
	public int[] executeBatch() throws SQLException {
franta-hg@171
   161
		throw new SQLException("Not supported yet.");
franta-hg@171
   162
	}
franta-hg@171
   163
franta-hg@171
   164
	@Override
franta-hg@171
   165
	public Connection getConnection() throws SQLException {
franta-hg@171
   166
		throw new SQLException("Not supported yet.");
franta-hg@171
   167
	}
franta-hg@171
   168
franta-hg@171
   169
	@Override
franta-hg@171
   170
	public boolean getMoreResults(int current) throws SQLException {
franta-hg@171
   171
		throw new SQLException("Not supported yet.");
franta-hg@171
   172
	}
franta-hg@171
   173
franta-hg@171
   174
	@Override
franta-hg@171
   175
	public ResultSet getGeneratedKeys() throws SQLException {
franta-hg@171
   176
		throw new SQLException("Not supported yet.");
franta-hg@171
   177
	}
franta-hg@171
   178
franta-hg@171
   179
	@Override
franta-hg@171
   180
	public int executeUpdate(String sql, int autoGeneratedKeys) throws SQLException {
franta-hg@171
   181
		throw new SQLException("Not supported yet.");
franta-hg@171
   182
	}
franta-hg@171
   183
franta-hg@171
   184
	@Override
franta-hg@171
   185
	public int executeUpdate(String sql, int[] columnIndexes) throws SQLException {
franta-hg@171
   186
		throw new SQLException("Not supported yet.");
franta-hg@171
   187
	}
franta-hg@171
   188
franta-hg@171
   189
	@Override
franta-hg@171
   190
	public int executeUpdate(String sql, String[] columnNames) throws SQLException {
franta-hg@171
   191
		throw new SQLException("Not supported yet.");
franta-hg@171
   192
	}
franta-hg@171
   193
franta-hg@171
   194
	@Override
franta-hg@171
   195
	public boolean execute(String sql, int autoGeneratedKeys) throws SQLException {
franta-hg@171
   196
		throw new SQLException("Not supported yet.");
franta-hg@171
   197
	}
franta-hg@171
   198
franta-hg@171
   199
	@Override
franta-hg@171
   200
	public boolean execute(String sql, int[] columnIndexes) throws SQLException {
franta-hg@171
   201
		throw new SQLException("Not supported yet.");
franta-hg@171
   202
	}
franta-hg@171
   203
franta-hg@171
   204
	@Override
franta-hg@171
   205
	public boolean execute(String sql, String[] columnNames) throws SQLException {
franta-hg@171
   206
		throw new SQLException("Not supported yet.");
franta-hg@171
   207
	}
franta-hg@171
   208
franta-hg@171
   209
	@Override
franta-hg@171
   210
	public int getResultSetHoldability() throws SQLException {
franta-hg@171
   211
		throw new SQLException("Not supported yet.");
franta-hg@171
   212
	}
franta-hg@171
   213
franta-hg@171
   214
	@Override
franta-hg@171
   215
	public boolean isClosed() throws SQLException {
franta-hg@171
   216
		throw new SQLException("Not supported yet.");
franta-hg@171
   217
	}
franta-hg@171
   218
franta-hg@171
   219
	@Override
franta-hg@171
   220
	public void setPoolable(boolean poolable) throws SQLException {
franta-hg@171
   221
		throw new SQLException("Not supported yet.");
franta-hg@171
   222
	}
franta-hg@171
   223
franta-hg@171
   224
	@Override
franta-hg@171
   225
	public boolean isPoolable() throws SQLException {
franta-hg@171
   226
		throw new SQLException("Not supported yet.");
franta-hg@171
   227
	}
franta-hg@171
   228
franta-hg@171
   229
	@Override
franta-hg@171
   230
	public void closeOnCompletion() throws SQLException {
franta-hg@171
   231
		throw new SQLException("Not supported yet.");
franta-hg@171
   232
	}
franta-hg@171
   233
franta-hg@171
   234
	@Override
franta-hg@171
   235
	public boolean isCloseOnCompletion() throws SQLException {
franta-hg@171
   236
		throw new SQLException("Not supported yet.");
franta-hg@171
   237
	}
franta-hg@171
   238
franta-hg@171
   239
	@Override
franta-hg@171
   240
	public <T> T unwrap(Class<T> iface) throws SQLException {
franta-hg@171
   241
		throw new SQLException("Not supported yet.");
franta-hg@171
   242
	}
franta-hg@171
   243
franta-hg@171
   244
	@Override
franta-hg@171
   245
	public boolean isWrapperFor(Class<?> iface) throws SQLException {
franta-hg@171
   246
		throw new SQLException("Not supported yet.");
franta-hg@171
   247
	}
franta-hg@171
   248
	
franta-hg@171
   249
}