java/jdbc-loopback-driver/src/main/java/info/globalcode/jdbc/loopback/AbstractPreparedStatement.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.io.InputStream;
franta-hg@171
    20
import java.io.Reader;
franta-hg@171
    21
import java.math.BigDecimal;
franta-hg@171
    22
import java.net.URL;
franta-hg@171
    23
import java.sql.Array;
franta-hg@171
    24
import java.sql.Blob;
franta-hg@171
    25
import java.sql.Clob;
franta-hg@171
    26
import java.sql.Date;
franta-hg@171
    27
import java.sql.NClob;
franta-hg@171
    28
import java.sql.ParameterMetaData;
franta-hg@171
    29
import java.sql.Ref;
franta-hg@171
    30
import java.sql.ResultSet;
franta-hg@171
    31
import java.sql.ResultSetMetaData;
franta-hg@171
    32
import java.sql.RowId;
franta-hg@171
    33
import java.sql.SQLException;
franta-hg@171
    34
import java.sql.SQLXML;
franta-hg@171
    35
import java.sql.Time;
franta-hg@171
    36
import java.sql.Timestamp;
franta-hg@171
    37
import java.util.Calendar;
franta-hg@171
    38
franta-hg@171
    39
/**
franta-hg@171
    40
 *
franta-hg@171
    41
 * @author Ing. František Kučera (frantovo.cz)
franta-hg@171
    42
 */
franta-hg@171
    43
public abstract class AbstractPreparedStatement extends AbstractStatement implements java.sql.PreparedStatement {
franta-hg@171
    44
franta-hg@171
    45
	@Override
franta-hg@171
    46
	public ResultSet executeQuery() throws SQLException {
franta-hg@171
    47
		throw new SQLException("Not supported yet.");
franta-hg@171
    48
	}
franta-hg@171
    49
franta-hg@171
    50
	@Override
franta-hg@171
    51
	public int executeUpdate() throws SQLException {
franta-hg@171
    52
		throw new SQLException("Not supported yet.");
franta-hg@171
    53
	}
franta-hg@171
    54
franta-hg@171
    55
	@Override
franta-hg@171
    56
	public void setNull(int parameterIndex, int sqlType) throws SQLException {
franta-hg@171
    57
		throw new SQLException("Not supported yet.");
franta-hg@171
    58
	}
franta-hg@171
    59
franta-hg@171
    60
	@Override
franta-hg@171
    61
	public void setBoolean(int parameterIndex, boolean x) throws SQLException {
franta-hg@171
    62
		throw new SQLException("Not supported yet.");
franta-hg@171
    63
	}
franta-hg@171
    64
franta-hg@171
    65
	@Override
franta-hg@171
    66
	public void setByte(int parameterIndex, byte x) throws SQLException {
franta-hg@171
    67
		throw new SQLException("Not supported yet.");
franta-hg@171
    68
	}
franta-hg@171
    69
franta-hg@171
    70
	@Override
franta-hg@171
    71
	public void setShort(int parameterIndex, short x) throws SQLException {
franta-hg@171
    72
		throw new SQLException("Not supported yet.");
franta-hg@171
    73
	}
franta-hg@171
    74
franta-hg@171
    75
	@Override
franta-hg@171
    76
	public void setInt(int parameterIndex, int x) throws SQLException {
franta-hg@171
    77
		throw new SQLException("Not supported yet.");
franta-hg@171
    78
	}
franta-hg@171
    79
franta-hg@171
    80
	@Override
franta-hg@171
    81
	public void setLong(int parameterIndex, long x) throws SQLException {
franta-hg@171
    82
		throw new SQLException("Not supported yet.");
franta-hg@171
    83
	}
franta-hg@171
    84
franta-hg@171
    85
	@Override
franta-hg@171
    86
	public void setFloat(int parameterIndex, float x) throws SQLException {
franta-hg@171
    87
		throw new SQLException("Not supported yet.");
franta-hg@171
    88
	}
franta-hg@171
    89
franta-hg@171
    90
	@Override
franta-hg@171
    91
	public void setDouble(int parameterIndex, double x) throws SQLException {
franta-hg@171
    92
		throw new SQLException("Not supported yet.");
franta-hg@171
    93
	}
franta-hg@171
    94
franta-hg@171
    95
	@Override
franta-hg@171
    96
	public void setBigDecimal(int parameterIndex, BigDecimal x) throws SQLException {
franta-hg@171
    97
		throw new SQLException("Not supported yet.");
franta-hg@171
    98
	}
franta-hg@171
    99
franta-hg@171
   100
	@Override
franta-hg@171
   101
	public void setString(int parameterIndex, String x) throws SQLException {
franta-hg@171
   102
		throw new SQLException("Not supported yet.");
franta-hg@171
   103
	}
franta-hg@171
   104
franta-hg@171
   105
	@Override
franta-hg@171
   106
	public void setBytes(int parameterIndex, byte[] x) throws SQLException {
franta-hg@171
   107
		throw new SQLException("Not supported yet.");
franta-hg@171
   108
	}
franta-hg@171
   109
franta-hg@171
   110
	@Override
franta-hg@171
   111
	public void setDate(int parameterIndex, Date x) throws SQLException {
franta-hg@171
   112
		throw new SQLException("Not supported yet.");
franta-hg@171
   113
	}
franta-hg@171
   114
franta-hg@171
   115
	@Override
franta-hg@171
   116
	public void setTime(int parameterIndex, Time x) throws SQLException {
franta-hg@171
   117
		throw new SQLException("Not supported yet.");
franta-hg@171
   118
	}
franta-hg@171
   119
franta-hg@171
   120
	@Override
franta-hg@171
   121
	public void setTimestamp(int parameterIndex, Timestamp x) throws SQLException {
franta-hg@171
   122
		throw new SQLException("Not supported yet.");
franta-hg@171
   123
	}
franta-hg@171
   124
franta-hg@171
   125
	@Override
franta-hg@171
   126
	public void setAsciiStream(int parameterIndex, InputStream x, int length) throws SQLException {
franta-hg@171
   127
		throw new SQLException("Not supported yet.");
franta-hg@171
   128
	}
franta-hg@171
   129
franta-hg@171
   130
	@Override
franta-hg@171
   131
	@Deprecated
franta-hg@171
   132
	public void setUnicodeStream(int parameterIndex, InputStream x, int length) throws SQLException {
franta-hg@171
   133
		throw new SQLException("Not supported yet.");
franta-hg@171
   134
	}
franta-hg@171
   135
franta-hg@171
   136
	@Override
franta-hg@171
   137
	public void setBinaryStream(int parameterIndex, InputStream x, int length) throws SQLException {
franta-hg@171
   138
		throw new SQLException("Not supported yet.");
franta-hg@171
   139
	}
franta-hg@171
   140
franta-hg@171
   141
	@Override
franta-hg@171
   142
	public void clearParameters() throws SQLException {
franta-hg@171
   143
		throw new SQLException("Not supported yet.");
franta-hg@171
   144
	}
franta-hg@171
   145
franta-hg@171
   146
	@Override
franta-hg@171
   147
	public void setObject(int parameterIndex, Object x, int targetSqlType) throws SQLException {
franta-hg@171
   148
		throw new SQLException("Not supported yet.");
franta-hg@171
   149
	}
franta-hg@171
   150
franta-hg@171
   151
	@Override
franta-hg@171
   152
	public void setObject(int parameterIndex, Object x) throws SQLException {
franta-hg@171
   153
		throw new SQLException("Not supported yet.");
franta-hg@171
   154
	}
franta-hg@171
   155
franta-hg@171
   156
	@Override
franta-hg@171
   157
	public boolean execute() throws SQLException {
franta-hg@171
   158
		throw new SQLException("Not supported yet.");
franta-hg@171
   159
	}
franta-hg@171
   160
franta-hg@171
   161
	@Override
franta-hg@171
   162
	public void addBatch() throws SQLException {
franta-hg@171
   163
		throw new SQLException("Not supported yet.");
franta-hg@171
   164
	}
franta-hg@171
   165
franta-hg@171
   166
	@Override
franta-hg@171
   167
	public void setCharacterStream(int parameterIndex, Reader reader, int length) throws SQLException {
franta-hg@171
   168
		throw new SQLException("Not supported yet.");
franta-hg@171
   169
	}
franta-hg@171
   170
franta-hg@171
   171
	@Override
franta-hg@171
   172
	public void setRef(int parameterIndex, Ref x) throws SQLException {
franta-hg@171
   173
		throw new SQLException("Not supported yet.");
franta-hg@171
   174
	}
franta-hg@171
   175
franta-hg@171
   176
	@Override
franta-hg@171
   177
	public void setBlob(int parameterIndex, Blob x) throws SQLException {
franta-hg@171
   178
		throw new SQLException("Not supported yet.");
franta-hg@171
   179
	}
franta-hg@171
   180
franta-hg@171
   181
	@Override
franta-hg@171
   182
	public void setClob(int parameterIndex, Clob x) throws SQLException {
franta-hg@171
   183
		throw new SQLException("Not supported yet.");
franta-hg@171
   184
	}
franta-hg@171
   185
franta-hg@171
   186
	@Override
franta-hg@171
   187
	public void setArray(int parameterIndex, Array x) throws SQLException {
franta-hg@171
   188
		throw new SQLException("Not supported yet.");
franta-hg@171
   189
	}
franta-hg@171
   190
franta-hg@171
   191
	@Override
franta-hg@171
   192
	public ResultSetMetaData getMetaData() throws SQLException {
franta-hg@171
   193
		throw new SQLException("Not supported yet.");
franta-hg@171
   194
	}
franta-hg@171
   195
franta-hg@171
   196
	@Override
franta-hg@171
   197
	public void setDate(int parameterIndex, Date x, Calendar cal) throws SQLException {
franta-hg@171
   198
		throw new SQLException("Not supported yet.");
franta-hg@171
   199
	}
franta-hg@171
   200
franta-hg@171
   201
	@Override
franta-hg@171
   202
	public void setTime(int parameterIndex, Time x, Calendar cal) throws SQLException {
franta-hg@171
   203
		throw new SQLException("Not supported yet.");
franta-hg@171
   204
	}
franta-hg@171
   205
franta-hg@171
   206
	@Override
franta-hg@171
   207
	public void setTimestamp(int parameterIndex, Timestamp x, Calendar cal) throws SQLException {
franta-hg@171
   208
		throw new SQLException("Not supported yet.");
franta-hg@171
   209
	}
franta-hg@171
   210
franta-hg@171
   211
	@Override
franta-hg@171
   212
	public void setNull(int parameterIndex, int sqlType, String typeName) throws SQLException {
franta-hg@171
   213
		throw new SQLException("Not supported yet.");
franta-hg@171
   214
	}
franta-hg@171
   215
franta-hg@171
   216
	@Override
franta-hg@171
   217
	public void setURL(int parameterIndex, URL x) throws SQLException {
franta-hg@171
   218
		throw new SQLException("Not supported yet.");
franta-hg@171
   219
	}
franta-hg@171
   220
franta-hg@171
   221
	@Override
franta-hg@171
   222
	public ParameterMetaData getParameterMetaData() throws SQLException {
franta-hg@171
   223
		throw new SQLException("Not supported yet.");
franta-hg@171
   224
	}
franta-hg@171
   225
franta-hg@171
   226
	@Override
franta-hg@171
   227
	public void setRowId(int parameterIndex, RowId x) throws SQLException {
franta-hg@171
   228
		throw new SQLException("Not supported yet.");
franta-hg@171
   229
	}
franta-hg@171
   230
franta-hg@171
   231
	@Override
franta-hg@171
   232
	public void setNString(int parameterIndex, String value) throws SQLException {
franta-hg@171
   233
		throw new SQLException("Not supported yet.");
franta-hg@171
   234
	}
franta-hg@171
   235
franta-hg@171
   236
	@Override
franta-hg@171
   237
	public void setNCharacterStream(int parameterIndex, Reader value, long length) throws SQLException {
franta-hg@171
   238
		throw new SQLException("Not supported yet.");
franta-hg@171
   239
	}
franta-hg@171
   240
franta-hg@171
   241
	@Override
franta-hg@171
   242
	public void setNClob(int parameterIndex, NClob value) throws SQLException {
franta-hg@171
   243
		throw new SQLException("Not supported yet.");
franta-hg@171
   244
	}
franta-hg@171
   245
franta-hg@171
   246
	@Override
franta-hg@171
   247
	public void setClob(int parameterIndex, Reader reader, long length) throws SQLException {
franta-hg@171
   248
		throw new SQLException("Not supported yet.");
franta-hg@171
   249
	}
franta-hg@171
   250
franta-hg@171
   251
	@Override
franta-hg@171
   252
	public void setBlob(int parameterIndex, InputStream inputStream, long length) throws SQLException {
franta-hg@171
   253
		throw new SQLException("Not supported yet.");
franta-hg@171
   254
	}
franta-hg@171
   255
franta-hg@171
   256
	@Override
franta-hg@171
   257
	public void setNClob(int parameterIndex, Reader reader, long length) throws SQLException {
franta-hg@171
   258
		throw new SQLException("Not supported yet.");
franta-hg@171
   259
	}
franta-hg@171
   260
franta-hg@171
   261
	@Override
franta-hg@171
   262
	public void setSQLXML(int parameterIndex, SQLXML xmlObject) throws SQLException {
franta-hg@171
   263
		throw new SQLException("Not supported yet.");
franta-hg@171
   264
	}
franta-hg@171
   265
franta-hg@171
   266
	@Override
franta-hg@171
   267
	public void setObject(int parameterIndex, Object x, int targetSqlType, int scaleOrLength) throws SQLException {
franta-hg@171
   268
		throw new SQLException("Not supported yet.");
franta-hg@171
   269
	}
franta-hg@171
   270
franta-hg@171
   271
	@Override
franta-hg@171
   272
	public void setAsciiStream(int parameterIndex, InputStream x, long length) throws SQLException {
franta-hg@171
   273
		throw new SQLException("Not supported yet.");
franta-hg@171
   274
	}
franta-hg@171
   275
franta-hg@171
   276
	@Override
franta-hg@171
   277
	public void setBinaryStream(int parameterIndex, InputStream x, long length) throws SQLException {
franta-hg@171
   278
		throw new SQLException("Not supported yet.");
franta-hg@171
   279
	}
franta-hg@171
   280
franta-hg@171
   281
	@Override
franta-hg@171
   282
	public void setCharacterStream(int parameterIndex, Reader reader, long length) throws SQLException {
franta-hg@171
   283
		throw new SQLException("Not supported yet.");
franta-hg@171
   284
	}
franta-hg@171
   285
franta-hg@171
   286
	@Override
franta-hg@171
   287
	public void setAsciiStream(int parameterIndex, InputStream x) throws SQLException {
franta-hg@171
   288
		throw new SQLException("Not supported yet.");
franta-hg@171
   289
	}
franta-hg@171
   290
franta-hg@171
   291
	@Override
franta-hg@171
   292
	public void setBinaryStream(int parameterIndex, InputStream x) throws SQLException {
franta-hg@171
   293
		throw new SQLException("Not supported yet.");
franta-hg@171
   294
	}
franta-hg@171
   295
franta-hg@171
   296
	@Override
franta-hg@171
   297
	public void setCharacterStream(int parameterIndex, Reader reader) throws SQLException {
franta-hg@171
   298
		throw new SQLException("Not supported yet.");
franta-hg@171
   299
	}
franta-hg@171
   300
franta-hg@171
   301
	@Override
franta-hg@171
   302
	public void setNCharacterStream(int parameterIndex, Reader value) throws SQLException {
franta-hg@171
   303
		throw new SQLException("Not supported yet.");
franta-hg@171
   304
	}
franta-hg@171
   305
franta-hg@171
   306
	@Override
franta-hg@171
   307
	public void setClob(int parameterIndex, Reader reader) throws SQLException {
franta-hg@171
   308
		throw new SQLException("Not supported yet.");
franta-hg@171
   309
	}
franta-hg@171
   310
franta-hg@171
   311
	@Override
franta-hg@171
   312
	public void setBlob(int parameterIndex, InputStream inputStream) throws SQLException {
franta-hg@171
   313
		throw new SQLException("Not supported yet.");
franta-hg@171
   314
	}
franta-hg@171
   315
franta-hg@171
   316
	@Override
franta-hg@171
   317
	public void setNClob(int parameterIndex, Reader reader) throws SQLException {
franta-hg@171
   318
		throw new SQLException("Not supported yet.");
franta-hg@171
   319
	}
franta-hg@171
   320
franta-hg@171
   321
}