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