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