java/jdbc-loopback-driver/src/main/java/info/globalcode/jdbc/loopback/AbstractPreparedStatement.java
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/java/jdbc-loopback-driver/src/main/java/info/globalcode/jdbc/loopback/AbstractPreparedStatement.java Mon Mar 04 17:06:42 2019 +0100
1.3 @@ -0,0 +1,322 @@
1.4 +/**
1.5 + * SQL-DK
1.6 + * Copyright © 2014 František Kučera (frantovo.cz)
1.7 + *
1.8 + * This program is free software: you can redistribute it and/or modify
1.9 + * it under the terms of the GNU General Public License as published by
1.10 + * the Free Software Foundation, either version 3 of the License, or
1.11 + * (at your option) any later version.
1.12 + *
1.13 + * This program is distributed in the hope that it will be useful,
1.14 + * but WITHOUT ANY WARRANTY; without even the implied warranty of
1.15 + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1.16 + * GNU General Public License for more details.
1.17 + *
1.18 + * You should have received a copy of the GNU General Public License
1.19 + * along with this program. If not, see <http://www.gnu.org/licenses/>.
1.20 + */
1.21 +package info.globalcode.jdbc.loopback;
1.22 +
1.23 +import java.io.InputStream;
1.24 +import java.io.Reader;
1.25 +import java.math.BigDecimal;
1.26 +import java.net.URL;
1.27 +import java.sql.Array;
1.28 +import java.sql.Blob;
1.29 +import java.sql.Clob;
1.30 +import java.sql.Date;
1.31 +import java.sql.NClob;
1.32 +import java.sql.ParameterMetaData;
1.33 +import java.sql.Ref;
1.34 +import java.sql.ResultSet;
1.35 +import java.sql.ResultSetMetaData;
1.36 +import java.sql.RowId;
1.37 +import java.sql.SQLException;
1.38 +import java.sql.SQLXML;
1.39 +import java.sql.Time;
1.40 +import java.sql.Timestamp;
1.41 +import java.util.Calendar;
1.42 +
1.43 +/**
1.44 + *
1.45 + * @author Ing. František Kučera (frantovo.cz)
1.46 + */
1.47 +public abstract class AbstractPreparedStatement extends AbstractStatement implements java.sql.PreparedStatement {
1.48 +
1.49 + @Override
1.50 + public ResultSet executeQuery() throws SQLException {
1.51 + throw new SQLException("Not supported yet.");
1.52 + }
1.53 +
1.54 + @Override
1.55 + public int executeUpdate() throws SQLException {
1.56 + throw new SQLException("Not supported yet.");
1.57 + }
1.58 +
1.59 + @Override
1.60 + public void setNull(int parameterIndex, int sqlType) throws SQLException {
1.61 + throw new SQLException("Not supported yet.");
1.62 + }
1.63 +
1.64 + @Override
1.65 + public void setBoolean(int parameterIndex, boolean x) throws SQLException {
1.66 + throw new SQLException("Not supported yet.");
1.67 + }
1.68 +
1.69 + @Override
1.70 + public void setByte(int parameterIndex, byte x) throws SQLException {
1.71 + throw new SQLException("Not supported yet.");
1.72 + }
1.73 +
1.74 + @Override
1.75 + public void setShort(int parameterIndex, short x) throws SQLException {
1.76 + throw new SQLException("Not supported yet.");
1.77 + }
1.78 +
1.79 + @Override
1.80 + public void setInt(int parameterIndex, int x) throws SQLException {
1.81 + throw new SQLException("Not supported yet.");
1.82 + }
1.83 +
1.84 + @Override
1.85 + public void setLong(int parameterIndex, long x) throws SQLException {
1.86 + throw new SQLException("Not supported yet.");
1.87 + }
1.88 +
1.89 + @Override
1.90 + public void setFloat(int parameterIndex, float x) throws SQLException {
1.91 + throw new SQLException("Not supported yet.");
1.92 + }
1.93 +
1.94 + @Override
1.95 + public void setDouble(int parameterIndex, double x) throws SQLException {
1.96 + throw new SQLException("Not supported yet.");
1.97 + }
1.98 +
1.99 + @Override
1.100 + public void setBigDecimal(int parameterIndex, BigDecimal x) throws SQLException {
1.101 + throw new SQLException("Not supported yet.");
1.102 + }
1.103 +
1.104 + @Override
1.105 + public void setString(int parameterIndex, String x) throws SQLException {
1.106 + throw new SQLException("Not supported yet.");
1.107 + }
1.108 +
1.109 + @Override
1.110 + public void setBytes(int parameterIndex, byte[] x) throws SQLException {
1.111 + throw new SQLException("Not supported yet.");
1.112 + }
1.113 +
1.114 + @Override
1.115 + public void setDate(int parameterIndex, Date x) throws SQLException {
1.116 + throw new SQLException("Not supported yet.");
1.117 + }
1.118 +
1.119 + @Override
1.120 + public void setTime(int parameterIndex, Time x) throws SQLException {
1.121 + throw new SQLException("Not supported yet.");
1.122 + }
1.123 +
1.124 + @Override
1.125 + public void setTimestamp(int parameterIndex, Timestamp x) throws SQLException {
1.126 + throw new SQLException("Not supported yet.");
1.127 + }
1.128 +
1.129 + @Override
1.130 + public void setAsciiStream(int parameterIndex, InputStream x, int length) throws SQLException {
1.131 + throw new SQLException("Not supported yet.");
1.132 + }
1.133 +
1.134 + @Override
1.135 + @Deprecated
1.136 + public void setUnicodeStream(int parameterIndex, InputStream x, int length) throws SQLException {
1.137 + throw new SQLException("Not supported yet.");
1.138 + }
1.139 +
1.140 + @Override
1.141 + public void setBinaryStream(int parameterIndex, InputStream x, int length) throws SQLException {
1.142 + throw new SQLException("Not supported yet.");
1.143 + }
1.144 +
1.145 + @Override
1.146 + public void clearParameters() throws SQLException {
1.147 + throw new SQLException("Not supported yet.");
1.148 + }
1.149 +
1.150 + @Override
1.151 + public void setObject(int parameterIndex, Object x, int targetSqlType) throws SQLException {
1.152 + throw new SQLException("Not supported yet.");
1.153 + }
1.154 +
1.155 + @Override
1.156 + public void setObject(int parameterIndex, Object x) throws SQLException {
1.157 + throw new SQLException("Not supported yet.");
1.158 + }
1.159 +
1.160 + @Override
1.161 + public boolean execute() throws SQLException {
1.162 + throw new SQLException("Not supported yet.");
1.163 + }
1.164 +
1.165 + @Override
1.166 + public void addBatch() throws SQLException {
1.167 + throw new SQLException("Not supported yet.");
1.168 + }
1.169 +
1.170 + @Override
1.171 + public void setCharacterStream(int parameterIndex, Reader reader, int length) throws SQLException {
1.172 + throw new SQLException("Not supported yet.");
1.173 + }
1.174 +
1.175 + @Override
1.176 + public void setRef(int parameterIndex, Ref x) throws SQLException {
1.177 + throw new SQLException("Not supported yet.");
1.178 + }
1.179 +
1.180 + @Override
1.181 + public void setBlob(int parameterIndex, Blob x) throws SQLException {
1.182 + throw new SQLException("Not supported yet.");
1.183 + }
1.184 +
1.185 + @Override
1.186 + public void setClob(int parameterIndex, Clob x) throws SQLException {
1.187 + throw new SQLException("Not supported yet.");
1.188 + }
1.189 +
1.190 + @Override
1.191 + public void setArray(int parameterIndex, Array x) throws SQLException {
1.192 + throw new SQLException("Not supported yet.");
1.193 + }
1.194 +
1.195 + @Override
1.196 + public ResultSetMetaData getMetaData() throws SQLException {
1.197 + throw new SQLException("Not supported yet.");
1.198 + }
1.199 +
1.200 + @Override
1.201 + public void setDate(int parameterIndex, Date x, Calendar cal) throws SQLException {
1.202 + throw new SQLException("Not supported yet.");
1.203 + }
1.204 +
1.205 + @Override
1.206 + public void setTime(int parameterIndex, Time x, Calendar cal) throws SQLException {
1.207 + throw new SQLException("Not supported yet.");
1.208 + }
1.209 +
1.210 + @Override
1.211 + public void setTimestamp(int parameterIndex, Timestamp x, Calendar cal) throws SQLException {
1.212 + throw new SQLException("Not supported yet.");
1.213 + }
1.214 +
1.215 + @Override
1.216 + public void setNull(int parameterIndex, int sqlType, String typeName) throws SQLException {
1.217 + throw new SQLException("Not supported yet.");
1.218 + }
1.219 +
1.220 + @Override
1.221 + public void setURL(int parameterIndex, URL x) throws SQLException {
1.222 + throw new SQLException("Not supported yet.");
1.223 + }
1.224 +
1.225 + @Override
1.226 + public ParameterMetaData getParameterMetaData() throws SQLException {
1.227 + throw new SQLException("Not supported yet.");
1.228 + }
1.229 +
1.230 + @Override
1.231 + public void setRowId(int parameterIndex, RowId x) throws SQLException {
1.232 + throw new SQLException("Not supported yet.");
1.233 + }
1.234 +
1.235 + @Override
1.236 + public void setNString(int parameterIndex, String value) throws SQLException {
1.237 + throw new SQLException("Not supported yet.");
1.238 + }
1.239 +
1.240 + @Override
1.241 + public void setNCharacterStream(int parameterIndex, Reader value, long length) throws SQLException {
1.242 + throw new SQLException("Not supported yet.");
1.243 + }
1.244 +
1.245 + @Override
1.246 + public void setNClob(int parameterIndex, NClob value) throws SQLException {
1.247 + throw new SQLException("Not supported yet.");
1.248 + }
1.249 +
1.250 + @Override
1.251 + public void setClob(int parameterIndex, Reader reader, long length) throws SQLException {
1.252 + throw new SQLException("Not supported yet.");
1.253 + }
1.254 +
1.255 + @Override
1.256 + public void setBlob(int parameterIndex, InputStream inputStream, long length) throws SQLException {
1.257 + throw new SQLException("Not supported yet.");
1.258 + }
1.259 +
1.260 + @Override
1.261 + public void setNClob(int parameterIndex, Reader reader, long length) throws SQLException {
1.262 + throw new SQLException("Not supported yet.");
1.263 + }
1.264 +
1.265 + @Override
1.266 + public void setSQLXML(int parameterIndex, SQLXML xmlObject) throws SQLException {
1.267 + throw new SQLException("Not supported yet.");
1.268 + }
1.269 +
1.270 + @Override
1.271 + public void setObject(int parameterIndex, Object x, int targetSqlType, int scaleOrLength) throws SQLException {
1.272 + throw new SQLException("Not supported yet.");
1.273 + }
1.274 +
1.275 + @Override
1.276 + public void setAsciiStream(int parameterIndex, InputStream x, long length) throws SQLException {
1.277 + throw new SQLException("Not supported yet.");
1.278 + }
1.279 +
1.280 + @Override
1.281 + public void setBinaryStream(int parameterIndex, InputStream x, long length) throws SQLException {
1.282 + throw new SQLException("Not supported yet.");
1.283 + }
1.284 +
1.285 + @Override
1.286 + public void setCharacterStream(int parameterIndex, Reader reader, long length) throws SQLException {
1.287 + throw new SQLException("Not supported yet.");
1.288 + }
1.289 +
1.290 + @Override
1.291 + public void setAsciiStream(int parameterIndex, InputStream x) throws SQLException {
1.292 + throw new SQLException("Not supported yet.");
1.293 + }
1.294 +
1.295 + @Override
1.296 + public void setBinaryStream(int parameterIndex, InputStream x) throws SQLException {
1.297 + throw new SQLException("Not supported yet.");
1.298 + }
1.299 +
1.300 + @Override
1.301 + public void setCharacterStream(int parameterIndex, Reader reader) throws SQLException {
1.302 + throw new SQLException("Not supported yet.");
1.303 + }
1.304 +
1.305 + @Override
1.306 + public void setNCharacterStream(int parameterIndex, Reader value) throws SQLException {
1.307 + throw new SQLException("Not supported yet.");
1.308 + }
1.309 +
1.310 + @Override
1.311 + public void setClob(int parameterIndex, Reader reader) throws SQLException {
1.312 + throw new SQLException("Not supported yet.");
1.313 + }
1.314 +
1.315 + @Override
1.316 + public void setBlob(int parameterIndex, InputStream inputStream) throws SQLException {
1.317 + throw new SQLException("Not supported yet.");
1.318 + }
1.319 +
1.320 + @Override
1.321 + public void setNClob(int parameterIndex, Reader reader) throws SQLException {
1.322 + throw new SQLException("Not supported yet.");
1.323 + }
1.324 +
1.325 +}