java/jdbc-loopback-driver/src/main/java/info/globalcode/jdbc/loopback/AbstractPreparedStatement.java
tabular formatter: new option 'separateBy' to print horizontal separator on each change of given column
3 * Copyright © 2014 František Kučera (frantovo.cz)
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.
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.
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/>.
17 package info.globalcode.jdbc.loopback;
19 import java.io.InputStream;
20 import java.io.Reader;
21 import java.math.BigDecimal;
23 import java.sql.Array;
27 import java.sql.NClob;
28 import java.sql.ParameterMetaData;
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;
36 import java.sql.Timestamp;
37 import java.util.Calendar;
41 * @author Ing. František Kučera (frantovo.cz)
43 public abstract class AbstractPreparedStatement extends AbstractStatement implements java.sql.PreparedStatement {
46 public ResultSet executeQuery() throws SQLException {
47 throw new SQLException("Not supported yet.");
51 public int executeUpdate() throws SQLException {
52 throw new SQLException("Not supported yet.");
56 public void setNull(int parameterIndex, int sqlType) throws SQLException {
57 throw new SQLException("Not supported yet.");
61 public void setBoolean(int parameterIndex, boolean x) throws SQLException {
62 throw new SQLException("Not supported yet.");
66 public void setByte(int parameterIndex, byte x) throws SQLException {
67 throw new SQLException("Not supported yet.");
71 public void setShort(int parameterIndex, short x) throws SQLException {
72 throw new SQLException("Not supported yet.");
76 public void setInt(int parameterIndex, int x) throws SQLException {
77 throw new SQLException("Not supported yet.");
81 public void setLong(int parameterIndex, long x) throws SQLException {
82 throw new SQLException("Not supported yet.");
86 public void setFloat(int parameterIndex, float x) throws SQLException {
87 throw new SQLException("Not supported yet.");
91 public void setDouble(int parameterIndex, double x) throws SQLException {
92 throw new SQLException("Not supported yet.");
96 public void setBigDecimal(int parameterIndex, BigDecimal x) throws SQLException {
97 throw new SQLException("Not supported yet.");
101 public void setString(int parameterIndex, String x) throws SQLException {
102 throw new SQLException("Not supported yet.");
106 public void setBytes(int parameterIndex, byte[] x) throws SQLException {
107 throw new SQLException("Not supported yet.");
111 public void setDate(int parameterIndex, Date x) throws SQLException {
112 throw new SQLException("Not supported yet.");
116 public void setTime(int parameterIndex, Time x) throws SQLException {
117 throw new SQLException("Not supported yet.");
121 public void setTimestamp(int parameterIndex, Timestamp x) throws SQLException {
122 throw new SQLException("Not supported yet.");
126 public void setAsciiStream(int parameterIndex, InputStream x, int length) throws SQLException {
127 throw new SQLException("Not supported yet.");
132 public void setUnicodeStream(int parameterIndex, InputStream x, int length) throws SQLException {
133 throw new SQLException("Not supported yet.");
137 public void setBinaryStream(int parameterIndex, InputStream x, int length) throws SQLException {
138 throw new SQLException("Not supported yet.");
142 public void clearParameters() throws SQLException {
143 throw new SQLException("Not supported yet.");
147 public void setObject(int parameterIndex, Object x, int targetSqlType) throws SQLException {
148 throw new SQLException("Not supported yet.");
152 public void setObject(int parameterIndex, Object x) throws SQLException {
153 throw new SQLException("Not supported yet.");
157 public boolean execute() throws SQLException {
158 throw new SQLException("Not supported yet.");
162 public void addBatch() throws SQLException {
163 throw new SQLException("Not supported yet.");
167 public void setCharacterStream(int parameterIndex, Reader reader, int length) throws SQLException {
168 throw new SQLException("Not supported yet.");
172 public void setRef(int parameterIndex, Ref x) throws SQLException {
173 throw new SQLException("Not supported yet.");
177 public void setBlob(int parameterIndex, Blob x) throws SQLException {
178 throw new SQLException("Not supported yet.");
182 public void setClob(int parameterIndex, Clob x) throws SQLException {
183 throw new SQLException("Not supported yet.");
187 public void setArray(int parameterIndex, Array x) throws SQLException {
188 throw new SQLException("Not supported yet.");
192 public ResultSetMetaData getMetaData() throws SQLException {
193 throw new SQLException("Not supported yet.");
197 public void setDate(int parameterIndex, Date x, Calendar cal) throws SQLException {
198 throw new SQLException("Not supported yet.");
202 public void setTime(int parameterIndex, Time x, Calendar cal) throws SQLException {
203 throw new SQLException("Not supported yet.");
207 public void setTimestamp(int parameterIndex, Timestamp x, Calendar cal) throws SQLException {
208 throw new SQLException("Not supported yet.");
212 public void setNull(int parameterIndex, int sqlType, String typeName) throws SQLException {
213 throw new SQLException("Not supported yet.");
217 public void setURL(int parameterIndex, URL x) throws SQLException {
218 throw new SQLException("Not supported yet.");
222 public ParameterMetaData getParameterMetaData() throws SQLException {
223 throw new SQLException("Not supported yet.");
227 public void setRowId(int parameterIndex, RowId x) throws SQLException {
228 throw new SQLException("Not supported yet.");
232 public void setNString(int parameterIndex, String value) throws SQLException {
233 throw new SQLException("Not supported yet.");
237 public void setNCharacterStream(int parameterIndex, Reader value, long length) throws SQLException {
238 throw new SQLException("Not supported yet.");
242 public void setNClob(int parameterIndex, NClob value) throws SQLException {
243 throw new SQLException("Not supported yet.");
247 public void setClob(int parameterIndex, Reader reader, long length) throws SQLException {
248 throw new SQLException("Not supported yet.");
252 public void setBlob(int parameterIndex, InputStream inputStream, long length) throws SQLException {
253 throw new SQLException("Not supported yet.");
257 public void setNClob(int parameterIndex, Reader reader, long length) throws SQLException {
258 throw new SQLException("Not supported yet.");
262 public void setSQLXML(int parameterIndex, SQLXML xmlObject) throws SQLException {
263 throw new SQLException("Not supported yet.");
267 public void setObject(int parameterIndex, Object x, int targetSqlType, int scaleOrLength) throws SQLException {
268 throw new SQLException("Not supported yet.");
272 public void setAsciiStream(int parameterIndex, InputStream x, long length) throws SQLException {
273 throw new SQLException("Not supported yet.");
277 public void setBinaryStream(int parameterIndex, InputStream x, long length) throws SQLException {
278 throw new SQLException("Not supported yet.");
282 public void setCharacterStream(int parameterIndex, Reader reader, long length) throws SQLException {
283 throw new SQLException("Not supported yet.");
287 public void setAsciiStream(int parameterIndex, InputStream x) throws SQLException {
288 throw new SQLException("Not supported yet.");
292 public void setBinaryStream(int parameterIndex, InputStream x) throws SQLException {
293 throw new SQLException("Not supported yet.");
297 public void setCharacterStream(int parameterIndex, Reader reader) throws SQLException {
298 throw new SQLException("Not supported yet.");
302 public void setNCharacterStream(int parameterIndex, Reader value) throws SQLException {
303 throw new SQLException("Not supported yet.");
307 public void setClob(int parameterIndex, Reader reader) throws SQLException {
308 throw new SQLException("Not supported yet.");
312 public void setBlob(int parameterIndex, InputStream inputStream) throws SQLException {
313 throw new SQLException("Not supported yet.");
317 public void setNClob(int parameterIndex, Reader reader) throws SQLException {
318 throw new SQLException("Not supported yet.");