1 /*
2  *  Copyright (c) 2011, 2021, Oracle and/or its affiliates.
3  *
4  *  This program is free software; you can redistribute it and/or modify
5  *  it under the terms of the GNU General Public License, version 2.0,
6  *  as published by the Free Software Foundation.
7  *
8  *  This program is also distributed with certain software (including
9  *  but not limited to OpenSSL) that is licensed under separate terms,
10  *  as designated in a particular file or component or in included license
11  *  documentation.  The authors of MySQL hereby grant you an additional
12  *  permission to link the program and your derivative works with the
13  *  separately licensed software that they have included with MySQL.
14  *
15  *  This program is distributed in the hope that it will be useful,
16  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
17  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18  *  GNU General Public License, version 2.0, for more details.
19  *
20  *  You should have received a copy of the GNU General Public License
21  *  along with this program; if not, write to the Free Software
22  *  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301  USA
23  */
24 
25 package com.mysql.clusterj.jdbc;
26 
27 import java.io.InputStream;
28 import java.io.Reader;
29 import java.math.BigDecimal;
30 import java.net.URL;
31 import java.sql.Array;
32 import java.sql.Blob;
33 import java.sql.Clob;
34 import java.sql.Date;
35 import java.sql.NClob;
36 import java.sql.Ref;
37 import java.sql.ResultSetMetaData;
38 import java.sql.RowId;
39 import java.sql.SQLException;
40 import java.sql.SQLWarning;
41 import java.sql.SQLXML;
42 import java.sql.Statement;
43 import java.sql.Time;
44 import java.sql.Timestamp;
45 import java.util.Calendar;
46 import java.util.Map;
47 
48 import com.mysql.clusterj.core.util.I18NHelper;
49 import com.mysql.clusterj.core.util.Logger;
50 import com.mysql.clusterj.core.util.LoggerFactoryService;
51 import com.mysql.jdbc.CachedResultSetMetaData;
52 import com.mysql.jdbc.Field;
53 import com.mysql.jdbc.PreparedStatement;
54 import com.mysql.jdbc.ResultSetInternalMethods;
55 import com.mysql.jdbc.StatementImpl;
56 
57 public abstract class AbstractResultSetInternalMethods implements
58         ResultSetInternalMethods {
59 
60     /** My message translator */
61     static final I18NHelper local = I18NHelper.getInstance(InterceptorImpl.class);
62 
63     /** My logger */
64     static final Logger logger = LoggerFactoryService.getFactory().getInstance(InterceptorImpl.class);
65 
66     /** First char of query */
67     protected char firstCharOfQuery;
68 
buildIndexMapping()69     public void buildIndexMapping() throws SQLException {
70         throw new SQLException(local.message("ERR_Should_Not_Occur"));
71     }
72 
clearNextResult()73     public void clearNextResult() {
74         throw new RuntimeException(local.message("ERR_Should_Not_Occur"));
75     }
76 
copy()77     public ResultSetInternalMethods copy() throws SQLException {
78         throw new SQLException(local.message("ERR_Should_Not_Occur"));
79     }
80 
getBytesSize()81     public int getBytesSize() throws SQLException {
82         throw new SQLException(local.message("ERR_Should_Not_Occur"));
83     }
84 
getFirstCharOfQuery()85     public char getFirstCharOfQuery() {
86         throw new RuntimeException(local.message("ERR_Should_Not_Occur"));
87     }
88 
getNextResultSet()89     public ResultSetInternalMethods getNextResultSet() {
90         throw new RuntimeException(local.message("ERR_Should_Not_Occur"));
91     }
92 
getObjectStoredProc(int arg0, int arg1)93     public Object getObjectStoredProc(int arg0, int arg1) throws SQLException {
94         throw new SQLException(local.message("ERR_Should_Not_Occur"));
95     }
96 
getObjectStoredProc(String arg0, int arg1)97     public Object getObjectStoredProc(String arg0, int arg1)
98             throws SQLException {
99         throw new SQLException(local.message("ERR_Should_Not_Occur"));
100     }
101 
getObjectStoredProc(int arg0, Map arg1, int arg2)102     public Object getObjectStoredProc(int arg0, Map arg1, int arg2)
103             throws SQLException {
104         throw new SQLException(local.message("ERR_Should_Not_Occur"));
105     }
106 
getObjectStoredProc(String arg0, Map arg1, int arg2)107     public Object getObjectStoredProc(String arg0, Map arg1, int arg2)
108             throws SQLException {
109         throw new SQLException(local.message("ERR_Should_Not_Occur"));
110     }
111 
getServerInfo()112     public String getServerInfo() {
113         throw new RuntimeException(local.message("ERR_Should_Not_Occur"));
114     }
115 
getUpdateCount()116     public long getUpdateCount() {
117         throw new RuntimeException(local.message("ERR_Should_Not_Occur"));
118     }
119 
getUpdateID()120     public long getUpdateID() {
121         throw new RuntimeException(local.message("ERR_Should_Not_Occur"));
122     }
123 
initializeFromCachedMetaData(CachedResultSetMetaData arg0)124     public void initializeFromCachedMetaData(CachedResultSetMetaData arg0) {
125         throw new RuntimeException(local.message("ERR_Should_Not_Occur"));
126     }
127 
initializeWithMetadata()128     public void initializeWithMetadata() throws SQLException {
129         throw new SQLException(local.message("ERR_Should_Not_Occur"));
130     }
131 
populateCachedMetaData(CachedResultSetMetaData arg0)132     public void populateCachedMetaData(CachedResultSetMetaData arg0)
133             throws SQLException {
134         throw new SQLException(local.message("ERR_Should_Not_Occur"));
135     }
136 
realClose(boolean arg0)137     public void realClose(boolean arg0) throws SQLException {
138         throw new SQLException(local.message("ERR_Should_Not_Occur"));
139     }
140 
reallyResult()141     public boolean reallyResult() {
142         throw new RuntimeException(local.message("ERR_Should_Not_Occur"));
143     }
144 
redefineFieldsForDBMD(Field[] arg0)145     public void redefineFieldsForDBMD(Field[] arg0) {
146         throw new RuntimeException(local.message("ERR_Should_Not_Occur"));
147     }
148 
setFirstCharOfQuery(char arg0)149     public void setFirstCharOfQuery(char arg0) {
150         firstCharOfQuery = arg0;
151     }
152 
setOwningStatement(StatementImpl arg0)153     public void setOwningStatement(StatementImpl arg0) {
154         throw new RuntimeException(local.message("ERR_Should_Not_Occur"));
155     }
156 
setStatementUsedForFetchingRows(PreparedStatement arg0)157     public void setStatementUsedForFetchingRows(PreparedStatement arg0) {
158         throw new RuntimeException(local.message("ERR_Should_Not_Occur"));
159     }
160 
setWrapperStatement(Statement arg0)161     public void setWrapperStatement(Statement arg0) {
162         throw new RuntimeException(local.message("ERR_Should_Not_Occur"));
163     }
164 
absolute(int row)165     public boolean absolute(int row) throws SQLException {
166         throw new SQLException(local.message("ERR_Should_Not_Occur"));
167     }
168 
afterLast()169     public void afterLast() throws SQLException {
170         throw new SQLException(local.message("ERR_Should_Not_Occur"));
171     }
172 
beforeFirst()173     public void beforeFirst() throws SQLException {
174         throw new SQLException(local.message("ERR_Should_Not_Occur"));
175     }
176 
cancelRowUpdates()177     public void cancelRowUpdates() throws SQLException {
178         throw new SQLException(local.message("ERR_Should_Not_Occur"));
179     }
180 
clearWarnings()181     public void clearWarnings() throws SQLException {
182         throw new SQLException(local.message("ERR_Should_Not_Occur"));
183     }
184 
close()185     public void close() throws SQLException {
186     }
187 
deleteRow()188     public void deleteRow() throws SQLException {
189         throw new SQLException(local.message("ERR_Should_Not_Occur"));
190     }
191 
findColumn(String columnName)192     public int findColumn(String columnName) throws SQLException {
193         throw new SQLException(local.message("ERR_Should_Not_Occur"));
194     }
195 
first()196     public boolean first() throws SQLException {
197         throw new SQLException(local.message("ERR_Should_Not_Occur"));
198     }
199 
getArray(int i)200     public Array getArray(int i) throws SQLException {
201         throw new SQLException(local.message("ERR_Should_Not_Occur"));
202     }
203 
getArray(String colName)204     public Array getArray(String colName) throws SQLException {
205         throw new SQLException(local.message("ERR_Should_Not_Occur"));
206     }
207 
getAsciiStream(int columnIndex)208     public InputStream getAsciiStream(int columnIndex) throws SQLException {
209         throw new SQLException(local.message("ERR_Should_Not_Occur"));
210     }
211 
getAsciiStream(String columnName)212     public InputStream getAsciiStream(String columnName) throws SQLException {
213         throw new SQLException(local.message("ERR_Should_Not_Occur"));
214     }
215 
getBigDecimal(int columnIndex)216     public BigDecimal getBigDecimal(int columnIndex) throws SQLException {
217         throw new SQLException(local.message("ERR_Should_Not_Occur"));
218     }
219 
getBigDecimal(String columnName)220     public BigDecimal getBigDecimal(String columnName) throws SQLException {
221         throw new SQLException(local.message("ERR_Should_Not_Occur"));
222     }
223 
getBigDecimal(int columnIndex, int scale)224     public BigDecimal getBigDecimal(int columnIndex, int scale)
225             throws SQLException {
226         throw new SQLException(local.message("ERR_Should_Not_Occur"));
227     }
228 
getBigDecimal(String columnName, int scale)229     public BigDecimal getBigDecimal(String columnName, int scale)
230             throws SQLException {
231         throw new SQLException(local.message("ERR_Should_Not_Occur"));
232     }
233 
getBinaryStream(int columnIndex)234     public InputStream getBinaryStream(int columnIndex) throws SQLException {
235         throw new SQLException(local.message("ERR_Should_Not_Occur"));
236     }
237 
getBinaryStream(String columnName)238     public InputStream getBinaryStream(String columnName) throws SQLException {
239         throw new SQLException(local.message("ERR_Should_Not_Occur"));
240     }
241 
getBlob(int i)242     public Blob getBlob(int i) throws SQLException {
243         throw new SQLException(local.message("ERR_Should_Not_Occur"));
244     }
245 
getBlob(String colName)246     public Blob getBlob(String colName) throws SQLException {
247         throw new SQLException(local.message("ERR_Should_Not_Occur"));
248     }
249 
getBoolean(int columnIndex)250     public boolean getBoolean(int columnIndex) throws SQLException {
251         throw new SQLException(local.message("ERR_Should_Not_Occur"));
252     }
253 
getBoolean(String columnName)254     public boolean getBoolean(String columnName) throws SQLException {
255         throw new SQLException(local.message("ERR_Should_Not_Occur"));
256     }
257 
getByte(int columnIndex)258     public byte getByte(int columnIndex) throws SQLException {
259         throw new SQLException(local.message("ERR_Should_Not_Occur"));
260     }
261 
getByte(String columnName)262     public byte getByte(String columnName) throws SQLException {
263         throw new SQLException(local.message("ERR_Should_Not_Occur"));
264     }
265 
getBytes(int columnIndex)266     public byte[] getBytes(int columnIndex) throws SQLException {
267         throw new SQLException(local.message("ERR_Should_Not_Occur"));
268     }
269 
getBytes(String columnName)270     public byte[] getBytes(String columnName) throws SQLException {
271         throw new SQLException(local.message("ERR_Should_Not_Occur"));
272     }
273 
getCharacterStream(int columnIndex)274     public Reader getCharacterStream(int columnIndex) throws SQLException {
275         throw new SQLException(local.message("ERR_Should_Not_Occur"));
276     }
277 
getCharacterStream(String columnName)278     public Reader getCharacterStream(String columnName) throws SQLException {
279         throw new SQLException(local.message("ERR_Should_Not_Occur"));
280     }
281 
getClob(int i)282     public Clob getClob(int i) throws SQLException {
283         throw new SQLException(local.message("ERR_Should_Not_Occur"));
284     }
285 
getClob(String colName)286     public Clob getClob(String colName) throws SQLException {
287         throw new SQLException(local.message("ERR_Should_Not_Occur"));
288     }
289 
getConcurrency()290     public int getConcurrency() throws SQLException {
291         throw new SQLException(local.message("ERR_Should_Not_Occur"));
292     }
293 
getCursorName()294     public String getCursorName() throws SQLException {
295         throw new SQLException(local.message("ERR_Should_Not_Occur"));
296     }
297 
getDate(int columnIndex)298     public Date getDate(int columnIndex) throws SQLException {
299         throw new SQLException(local.message("ERR_Should_Not_Occur"));
300     }
301 
getDate(String columnName)302     public Date getDate(String columnName) throws SQLException {
303         throw new SQLException(local.message("ERR_Should_Not_Occur"));
304     }
305 
getDate(int columnIndex, Calendar cal)306     public Date getDate(int columnIndex, Calendar cal) throws SQLException {
307         throw new SQLException(local.message("ERR_Should_Not_Occur"));
308     }
309 
getDate(String columnName, Calendar cal)310     public Date getDate(String columnName, Calendar cal) throws SQLException {
311         throw new SQLException(local.message("ERR_Should_Not_Occur"));
312     }
313 
getDouble(int columnIndex)314     public double getDouble(int columnIndex) throws SQLException {
315         throw new SQLException(local.message("ERR_Should_Not_Occur"));
316     }
317 
getDouble(String columnName)318     public double getDouble(String columnName) throws SQLException {
319         throw new SQLException(local.message("ERR_Should_Not_Occur"));
320     }
321 
getFetchDirection()322     public int getFetchDirection() throws SQLException {
323         throw new SQLException(local.message("ERR_Should_Not_Occur"));
324     }
325 
getFetchSize()326     public int getFetchSize() throws SQLException {
327         throw new SQLException(local.message("ERR_Should_Not_Occur"));
328     }
329 
getFloat(int columnIndex)330     public float getFloat(int columnIndex) throws SQLException {
331         throw new SQLException(local.message("ERR_Should_Not_Occur"));
332     }
333 
getFloat(String columnName)334     public float getFloat(String columnName) throws SQLException {
335         throw new SQLException(local.message("ERR_Should_Not_Occur"));
336     }
337 
getHoldability()338     public int getHoldability() throws SQLException {
339         throw new SQLException(local.message("ERR_Should_Not_Occur"));
340     }
341 
getInt(int columnIndex)342     public int getInt(int columnIndex) throws SQLException {
343         throw new SQLException(local.message("ERR_Should_Not_Occur"));
344     }
345 
getInt(String columnName)346     public int getInt(String columnName) throws SQLException {
347         throw new SQLException(local.message("ERR_Should_Not_Occur"));
348     }
349 
getLong(int columnIndex)350     public long getLong(int columnIndex) throws SQLException {
351         throw new SQLException(local.message("ERR_Should_Not_Occur"));
352     }
353 
getLong(String columnName)354     public long getLong(String columnName) throws SQLException {
355         throw new SQLException(local.message("ERR_Should_Not_Occur"));
356     }
357 
getMetaData()358     public ResultSetMetaData getMetaData() throws SQLException {
359         throw new SQLException(local.message("ERR_Should_Not_Occur"));
360     }
361 
getNCharacterStream(int columnIndex)362     public Reader getNCharacterStream(int columnIndex) throws SQLException {
363         throw new SQLException(local.message("ERR_Should_Not_Occur"));
364     }
365 
getNCharacterStream(String columnName)366     public Reader getNCharacterStream(String columnName) throws SQLException {
367         throw new SQLException(local.message("ERR_Should_Not_Occur"));
368     }
369 
getNString(int columnIndex)370     public String getNString(int columnIndex) throws SQLException {
371         throw new SQLException(local.message("ERR_Should_Not_Occur"));
372     }
373 
getNString(String columnName)374     public String getNString(String columnName) throws SQLException {
375         throw new SQLException(local.message("ERR_Should_Not_Occur"));
376     }
377 
getObject(int columnIndex)378     public Object getObject(int columnIndex) throws SQLException {
379         throw new SQLException(local.message("ERR_Should_Not_Occur"));
380     }
381 
getObject(String columnName)382     public Object getObject(String columnName) throws SQLException {
383         throw new SQLException(local.message("ERR_Should_Not_Occur"));
384     }
385 
getObject(int i, Map<String, Class<?>> map)386     public Object getObject(int i, Map<String, Class<?>> map)
387             throws SQLException {
388         throw new SQLException(local.message("ERR_Should_Not_Occur"));
389     }
390 
getObject(String colName, Map<String, Class<?>> map)391     public Object getObject(String colName, Map<String, Class<?>> map)
392             throws SQLException {
393         throw new SQLException(local.message("ERR_Should_Not_Occur"));
394     }
395 
getRef(int i)396     public Ref getRef(int i) throws SQLException {
397         throw new SQLException(local.message("ERR_Should_Not_Occur"));
398     }
399 
getRef(String colName)400     public Ref getRef(String colName) throws SQLException {
401         throw new SQLException(local.message("ERR_Should_Not_Occur"));
402     }
403 
getRow()404     public int getRow() throws SQLException {
405         throw new SQLException(local.message("ERR_Should_Not_Occur"));
406     }
407 
getRowId(int columnIndex)408     public RowId getRowId(int columnIndex) throws SQLException {
409         throw new SQLException(local.message("ERR_Should_Not_Occur"));
410     }
411 
getRowId(String columnLabel)412     public RowId getRowId(String columnLabel) throws SQLException {
413         throw new SQLException(local.message("ERR_Should_Not_Occur"));
414     }
415 
getShort(int columnIndex)416     public short getShort(int columnIndex) throws SQLException {
417         throw new SQLException(local.message("ERR_Should_Not_Occur"));
418     }
419 
getShort(String columnName)420     public short getShort(String columnName) throws SQLException {
421         throw new SQLException(local.message("ERR_Should_Not_Occur"));
422     }
423 
getSQLXML(String columnLabel)424     public SQLXML getSQLXML(String columnLabel) throws SQLException {
425         throw new SQLException(local.message("ERR_Should_Not_Occur"));
426     }
427 
getSQLXML(int columnIndex)428     public SQLXML getSQLXML(int columnIndex) throws SQLException {
429         throw new SQLException(local.message("ERR_Should_Not_Occur"));
430     }
431 
getNClob(String columnLabel)432     public NClob getNClob(String columnLabel) throws SQLException {
433         throw new SQLException(local.message("ERR_Should_Not_Occur"));
434     }
435 
getNClob(int columnIndex)436     public NClob getNClob(int columnIndex) throws SQLException {
437         throw new SQLException(local.message("ERR_Should_Not_Occur"));
438     }
439 
getStatement()440     public Statement getStatement() throws SQLException {
441         throw new SQLException(local.message("ERR_Should_Not_Occur"));
442     }
443 
getString(int columnIndex)444     public String getString(int columnIndex) throws SQLException {
445         throw new SQLException(local.message("ERR_Should_Not_Occur"));
446     }
447 
getString(String columnName)448     public String getString(String columnName) throws SQLException {
449         throw new SQLException(local.message("ERR_Should_Not_Occur"));
450     }
451 
getTime(int columnIndex)452     public Time getTime(int columnIndex) throws SQLException {
453         throw new SQLException(local.message("ERR_Should_Not_Occur"));
454     }
455 
getTime(String columnName)456     public Time getTime(String columnName) throws SQLException {
457         throw new SQLException(local.message("ERR_Should_Not_Occur"));
458     }
459 
getTime(int columnIndex, Calendar cal)460     public Time getTime(int columnIndex, Calendar cal) throws SQLException {
461         throw new SQLException(local.message("ERR_Should_Not_Occur"));
462     }
463 
getTime(String columnName, Calendar cal)464     public Time getTime(String columnName, Calendar cal) throws SQLException {
465         throw new SQLException(local.message("ERR_Should_Not_Occur"));
466     }
467 
getTimestamp(int columnIndex)468     public Timestamp getTimestamp(int columnIndex) throws SQLException {
469         throw new SQLException(local.message("ERR_Should_Not_Occur"));
470     }
471 
getTimestamp(String columnName)472     public Timestamp getTimestamp(String columnName) throws SQLException {
473         throw new SQLException(local.message("ERR_Should_Not_Occur"));
474     }
475 
getTimestamp(int columnIndex, Calendar cal)476     public Timestamp getTimestamp(int columnIndex, Calendar cal)
477             throws SQLException {
478         throw new SQLException(local.message("ERR_Should_Not_Occur"));
479     }
480 
getTimestamp(String columnName, Calendar cal)481     public Timestamp getTimestamp(String columnName, Calendar cal)
482             throws SQLException {
483         throw new SQLException(local.message("ERR_Should_Not_Occur"));
484     }
485 
getType()486     public int getType() throws SQLException {
487         throw new SQLException(local.message("ERR_Should_Not_Occur"));
488     }
489 
getURL(int columnIndex)490     public URL getURL(int columnIndex) throws SQLException {
491         throw new SQLException(local.message("ERR_Should_Not_Occur"));
492     }
493 
getURL(String columnName)494     public URL getURL(String columnName) throws SQLException {
495         throw new SQLException(local.message("ERR_Should_Not_Occur"));
496     }
497 
getUnicodeStream(int columnIndex)498     public InputStream getUnicodeStream(int columnIndex) throws SQLException {
499         throw new SQLException(local.message("ERR_Should_Not_Occur"));
500     }
501 
getUnicodeStream(String columnName)502     public InputStream getUnicodeStream(String columnName) throws SQLException {
503         throw new SQLException(local.message("ERR_Should_Not_Occur"));
504     }
505 
getWarnings()506     public SQLWarning getWarnings() throws SQLException {
507         throw new SQLException(local.message("ERR_Should_Not_Occur"));
508     }
509 
insertRow()510     public void insertRow() throws SQLException {
511         throw new SQLException(local.message("ERR_Should_Not_Occur"));
512     }
513 
isAfterLast()514     public boolean isAfterLast() throws SQLException {
515         throw new SQLException(local.message("ERR_Should_Not_Occur"));
516     }
517 
isBeforeFirst()518     public boolean isBeforeFirst() throws SQLException {
519         throw new SQLException(local.message("ERR_Should_Not_Occur"));
520     }
521 
isClosed()522     public boolean isClosed() throws SQLException {
523         throw new SQLException(local.message("ERR_Should_Not_Occur"));
524     }
525 
isFirst()526     public boolean isFirst() throws SQLException {
527         throw new SQLException(local.message("ERR_Should_Not_Occur"));
528     }
529 
isLast()530     public boolean isLast() throws SQLException {
531         throw new SQLException(local.message("ERR_Should_Not_Occur"));
532     }
533 
isWrapperFor(Class<?> iface)534     public boolean isWrapperFor(Class<?> iface) throws SQLException {
535         throw new SQLException(local.message("ERR_Should_Not_Occur"));
536     }
537 
last()538     public boolean last() throws SQLException {
539         throw new SQLException(local.message("ERR_Should_Not_Occur"));
540     }
541 
moveToCurrentRow()542     public void moveToCurrentRow() throws SQLException {
543         throw new SQLException(local.message("ERR_Should_Not_Occur"));
544     }
545 
moveToInsertRow()546     public void moveToInsertRow() throws SQLException {
547         throw new SQLException(local.message("ERR_Should_Not_Occur"));
548     }
549 
next()550     public boolean next() throws SQLException {
551         throw new SQLException(local.message("ERR_Should_Not_Occur"));
552     }
553 
previous()554     public boolean previous() throws SQLException {
555         throw new SQLException(local.message("ERR_Should_Not_Occur"));
556     }
557 
refreshRow()558     public void refreshRow() throws SQLException {
559         throw new SQLException(local.message("ERR_Should_Not_Occur"));
560     }
561 
relative(int rows)562     public boolean relative(int rows) throws SQLException {
563         throw new SQLException(local.message("ERR_Should_Not_Occur"));
564     }
565 
rowDeleted()566     public boolean rowDeleted() throws SQLException {
567         throw new SQLException(local.message("ERR_Should_Not_Occur"));
568     }
569 
rowInserted()570     public boolean rowInserted() throws SQLException {
571         throw new SQLException(local.message("ERR_Should_Not_Occur"));
572     }
573 
rowUpdated()574     public boolean rowUpdated() throws SQLException {
575         throw new SQLException(local.message("ERR_Should_Not_Occur"));
576     }
577 
setFetchDirection(int direction)578     public void setFetchDirection(int direction) throws SQLException {
579         throw new SQLException(local.message("ERR_Should_Not_Occur"));
580     }
581 
setFetchSize(int rows)582     public void setFetchSize(int rows) throws SQLException {
583         throw new SQLException(local.message("ERR_Should_Not_Occur"));
584     }
585 
unwrap(Class<T> iface)586     public <T> T unwrap(Class<T> iface) throws SQLException {
587         throw new SQLException(local.message("ERR_Should_Not_Occur"));
588     }
589 
updateArray(int columnIndex, Array x)590     public void updateArray(int columnIndex, Array x) throws SQLException {
591         throw new SQLException(local.message("ERR_Should_Not_Occur"));
592     }
593 
updateArray(String columnName, Array x)594     public void updateArray(String columnName, Array x) throws SQLException {
595         throw new SQLException(local.message("ERR_Should_Not_Occur"));
596     }
597 
updateAsciiStream(int columnIndex, InputStream x, int length)598     public void updateAsciiStream(int columnIndex, InputStream x, int length)
599             throws SQLException {
600         throw new SQLException(local.message("ERR_Should_Not_Occur"));
601     }
602 
updateAsciiStream(String columnName, InputStream x, int length)603     public void updateAsciiStream(String columnName, InputStream x, int length)
604             throws SQLException {
605         throw new SQLException(local.message("ERR_Should_Not_Occur"));
606     }
607 
updateAsciiStream(int columnIndex, InputStream x, long length)608     public void updateAsciiStream(int columnIndex, InputStream x, long length)
609             throws SQLException {
610         throw new SQLException(local.message("ERR_Should_Not_Occur"));
611     }
612 
updateAsciiStream(String columnName, InputStream x, long length)613     public void updateAsciiStream(String columnName, InputStream x, long length)
614             throws SQLException {
615         throw new SQLException(local.message("ERR_Should_Not_Occur"));
616     }
617 
updateAsciiStream(int columnIndex, InputStream x)618     public void updateAsciiStream(int columnIndex, InputStream x)
619             throws SQLException {
620         throw new SQLException(local.message("ERR_Should_Not_Occur"));
621     }
622 
updateAsciiStream(String columnName, InputStream x)623     public void updateAsciiStream(String columnName, InputStream x)
624             throws SQLException {
625         throw new SQLException(local.message("ERR_Should_Not_Occur"));
626     }
627 
updateBigDecimal(int columnIndex, BigDecimal x)628     public void updateBigDecimal(int columnIndex, BigDecimal x)
629             throws SQLException {
630         throw new SQLException(local.message("ERR_Should_Not_Occur"));
631     }
632 
updateBigDecimal(String columnName, BigDecimal x)633     public void updateBigDecimal(String columnName, BigDecimal x)
634             throws SQLException {
635         throw new SQLException(local.message("ERR_Should_Not_Occur"));
636     }
637 
updateBinaryStream(int columnIndex, InputStream x, int length)638     public void updateBinaryStream(int columnIndex, InputStream x, int length)
639             throws SQLException {
640         throw new SQLException(local.message("ERR_Should_Not_Occur"));
641     }
642 
updateBinaryStream(String columnName, InputStream x, int length)643     public void updateBinaryStream(String columnName, InputStream x, int length)
644             throws SQLException {
645         throw new SQLException(local.message("ERR_Should_Not_Occur"));
646     }
647 
648 
updateBinaryStream(int columnIndex, InputStream x, long length)649     public void updateBinaryStream(int columnIndex, InputStream x, long length)
650             throws SQLException {
651         throw new SQLException(local.message("ERR_Should_Not_Occur"));
652     }
653 
updateBinaryStream(String columnName, InputStream x, long length)654     public void updateBinaryStream(String columnName, InputStream x, long length)
655             throws SQLException {
656         throw new SQLException(local.message("ERR_Should_Not_Occur"));
657     }
658 
updateBinaryStream(int columnIndex, InputStream x)659     public void updateBinaryStream(int columnIndex, InputStream x)
660             throws SQLException {
661         throw new SQLException(local.message("ERR_Should_Not_Occur"));
662     }
663 
updateBinaryStream(String columnName, InputStream x)664     public void updateBinaryStream(String columnName, InputStream x)
665             throws SQLException {
666         throw new SQLException(local.message("ERR_Should_Not_Occur"));
667     }
668 
updateBlob(int columnIndex, Blob x)669     public void updateBlob(int columnIndex, Blob x) throws SQLException {
670         throw new SQLException(local.message("ERR_Should_Not_Occur"));
671     }
672 
updateBlob(String columnName, Blob x)673     public void updateBlob(String columnName, Blob x) throws SQLException {
674         throw new SQLException(local.message("ERR_Should_Not_Occur"));
675     }
676 
updateBlob(int columnIndex, InputStream istream)677     public void updateBlob(int columnIndex, InputStream istream) throws SQLException {
678         throw new SQLException(local.message("ERR_Should_Not_Occur"));
679     }
680 
updateBlob(String columnName, InputStream istream)681     public void updateBlob(String columnName, InputStream istream) throws SQLException {
682         throw new SQLException(local.message("ERR_Should_Not_Occur"));
683     }
684 
updateBlob(int columnIndex, InputStream istream, long length)685     public void updateBlob(int columnIndex, InputStream istream, long length) throws SQLException {
686         throw new SQLException(local.message("ERR_Should_Not_Occur"));
687     }
688 
updateBlob(String columnName, InputStream istream, long length)689     public void updateBlob(String columnName, InputStream istream, long length) throws SQLException {
690         throw new SQLException(local.message("ERR_Should_Not_Occur"));
691     }
692 
updateBoolean(int columnIndex, boolean x)693     public void updateBoolean(int columnIndex, boolean x) throws SQLException {
694         throw new SQLException(local.message("ERR_Should_Not_Occur"));
695     }
696 
updateBoolean(String columnName, boolean x)697     public void updateBoolean(String columnName, boolean x) throws SQLException {
698         throw new SQLException(local.message("ERR_Should_Not_Occur"));
699     }
700 
updateByte(int columnIndex, byte x)701     public void updateByte(int columnIndex, byte x) throws SQLException {
702         throw new SQLException(local.message("ERR_Should_Not_Occur"));
703     }
704 
updateByte(String columnName, byte x)705     public void updateByte(String columnName, byte x) throws SQLException {
706         throw new SQLException(local.message("ERR_Should_Not_Occur"));
707     }
708 
updateBytes(int columnIndex, byte[] x)709     public void updateBytes(int columnIndex, byte[] x) throws SQLException {
710         throw new SQLException(local.message("ERR_Should_Not_Occur"));
711     }
712 
updateBytes(String columnName, byte[] x)713     public void updateBytes(String columnName, byte[] x) throws SQLException {
714         throw new SQLException(local.message("ERR_Should_Not_Occur"));
715     }
716 
updateCharacterStream(int columnIndex, Reader x)717     public void updateCharacterStream(int columnIndex, Reader x)
718             throws SQLException {
719         throw new SQLException(local.message("ERR_Should_Not_Occur"));
720     }
721 
updateCharacterStream(String columnName, Reader x)722     public void updateCharacterStream(String columnName, Reader x)
723             throws SQLException {
724         throw new SQLException(local.message("ERR_Should_Not_Occur"));
725     }
726 
updateCharacterStream(int columnIndex, Reader x, int length)727     public void updateCharacterStream(int columnIndex, Reader x, int length)
728             throws SQLException {
729         throw new SQLException(local.message("ERR_Should_Not_Occur"));
730     }
731 
updateCharacterStream(String columnName, Reader reader, int length)732     public void updateCharacterStream(String columnName, Reader reader, int length)
733             throws SQLException {
734         throw new SQLException(local.message("ERR_Should_Not_Occur"));
735     }
736 
updateCharacterStream(int columnIndex, Reader x, long length)737     public void updateCharacterStream(int columnIndex, Reader x, long length)
738             throws SQLException {
739         throw new SQLException(local.message("ERR_Should_Not_Occur"));
740     }
741 
updateCharacterStream(String columnName, Reader reader, long length)742     public void updateCharacterStream(String columnName, Reader reader, long length)
743             throws SQLException {
744         throw new SQLException(local.message("ERR_Should_Not_Occur"));
745     }
746 
updateClob(int columnIndex, Clob x)747     public void updateClob(int columnIndex, Clob x) throws SQLException {
748         throw new SQLException(local.message("ERR_Should_Not_Occur"));
749     }
750 
updateClob(String columnName, Clob x)751     public void updateClob(String columnName, Clob x) throws SQLException {
752         throw new SQLException(local.message("ERR_Should_Not_Occur"));
753     }
754 
updateClob(String columnName, Reader reader)755     public void updateClob(String columnName, Reader reader) throws SQLException {
756         throw new SQLException(local.message("ERR_Should_Not_Occur"));
757     }
758 
updateClob(int columnIndex, Reader reader)759     public void updateClob(int columnIndex, Reader reader) throws SQLException {
760         throw new SQLException(local.message("ERR_Should_Not_Occur"));
761     }
762 
updateClob(String columnName, Reader reader, long length)763     public void updateClob(String columnName, Reader reader, long length) throws SQLException {
764         throw new SQLException(local.message("ERR_Should_Not_Occur"));
765     }
766 
updateClob(int columnIndex, Reader reader, long length)767     public void updateClob(int columnIndex, Reader reader, long length) throws SQLException {
768         throw new SQLException(local.message("ERR_Should_Not_Occur"));
769     }
770 
updateDate(int columnIndex, Date x)771     public void updateDate(int columnIndex, Date x) throws SQLException {
772         throw new SQLException(local.message("ERR_Should_Not_Occur"));
773     }
774 
updateDate(String columnName, Date x)775     public void updateDate(String columnName, Date x) throws SQLException {
776         throw new SQLException(local.message("ERR_Should_Not_Occur"));
777     }
778 
updateDouble(int columnIndex, double x)779     public void updateDouble(int columnIndex, double x) throws SQLException {
780         throw new SQLException(local.message("ERR_Should_Not_Occur"));
781     }
782 
updateDouble(String columnName, double x)783     public void updateDouble(String columnName, double x) throws SQLException {
784         throw new SQLException(local.message("ERR_Should_Not_Occur"));
785     }
786 
updateFloat(int columnIndex, float x)787     public void updateFloat(int columnIndex, float x) throws SQLException {
788         throw new SQLException(local.message("ERR_Should_Not_Occur"));
789     }
790 
updateFloat(String columnName, float x)791     public void updateFloat(String columnName, float x) throws SQLException {
792         throw new SQLException(local.message("ERR_Should_Not_Occur"));
793     }
794 
updateInt(int columnIndex, int x)795     public void updateInt(int columnIndex, int x) throws SQLException {
796         throw new SQLException(local.message("ERR_Should_Not_Occur"));
797     }
798 
updateInt(String columnName, int x)799     public void updateInt(String columnName, int x) throws SQLException {
800         throw new SQLException(local.message("ERR_Should_Not_Occur"));
801     }
802 
updateLong(int columnIndex, long x)803     public void updateLong(int columnIndex, long x) throws SQLException {
804         throw new SQLException(local.message("ERR_Should_Not_Occur"));
805     }
806 
updateLong(String columnName, long x)807     public void updateLong(String columnName, long x) throws SQLException {
808         throw new SQLException(local.message("ERR_Should_Not_Occur"));
809     }
810 
updateNCharacterStream(int columnIndex, Reader reader)811     public void updateNCharacterStream(int columnIndex, Reader reader) throws SQLException {
812         throw new SQLException(local.message("ERR_Should_Not_Occur"));
813     }
814 
updateNCharacterStream(String columnName, Reader reader)815     public void updateNCharacterStream(String columnName, Reader reader) throws SQLException {
816         throw new SQLException(local.message("ERR_Should_Not_Occur"));
817     }
818 
updateNCharacterStream(int columnIndex, Reader reader, long length)819     public void updateNCharacterStream(int columnIndex, Reader reader, long length) throws SQLException {
820         throw new SQLException(local.message("ERR_Should_Not_Occur"));
821     }
822 
updateNCharacterStream(String columnName, Reader reader, long length)823     public void updateNCharacterStream(String columnName, Reader reader, long length) throws SQLException {
824         throw new SQLException(local.message("ERR_Should_Not_Occur"));
825     }
826 
updateNClob(int columnIndex, NClob nclob)827     public void updateNClob(int columnIndex, NClob nclob) throws SQLException {
828         throw new SQLException(local.message("ERR_Should_Not_Occur"));
829     }
830 
updateNClob(String columnName, NClob nclob)831     public void updateNClob(String columnName, NClob nclob) throws SQLException {
832         throw new SQLException(local.message("ERR_Should_Not_Occur"));
833     }
834 
updateNClob(int columnIndex, Reader reader)835     public void updateNClob(int columnIndex, Reader reader) throws SQLException {
836         throw new SQLException(local.message("ERR_Should_Not_Occur"));
837     }
838 
updateNClob(String columnName, Reader reader)839     public void updateNClob(String columnName, Reader reader) throws SQLException {
840         throw new SQLException(local.message("ERR_Should_Not_Occur"));
841     }
842 
updateNClob(int columnIndex, Reader reader, long length)843     public void updateNClob(int columnIndex, Reader reader, long length) throws SQLException {
844         throw new SQLException(local.message("ERR_Should_Not_Occur"));
845     }
846 
updateNClob(String columnName, Reader reader, long length)847     public void updateNClob(String columnName, Reader reader, long length) throws SQLException {
848         throw new SQLException(local.message("ERR_Should_Not_Occur"));
849     }
850 
updateNString(int columnIndex, String string)851     public void updateNString(int columnIndex, String string) throws SQLException {
852         throw new SQLException(local.message("ERR_Should_Not_Occur"));
853     }
854 
updateNString(String columnName, String string)855     public void updateNString(String columnName, String string) throws SQLException {
856         throw new SQLException(local.message("ERR_Should_Not_Occur"));
857     }
858 
updateNull(int columnIndex)859     public void updateNull(int columnIndex) throws SQLException {
860         throw new SQLException(local.message("ERR_Should_Not_Occur"));
861     }
862 
updateNull(String columnName)863     public void updateNull(String columnName) throws SQLException {
864         throw new SQLException(local.message("ERR_Should_Not_Occur"));
865     }
866 
updateObject(int columnIndex, Object x)867     public void updateObject(int columnIndex, Object x) throws SQLException {
868         throw new SQLException(local.message("ERR_Should_Not_Occur"));
869     }
870 
updateObject(String columnName, Object x)871     public void updateObject(String columnName, Object x) throws SQLException {
872         throw new SQLException(local.message("ERR_Should_Not_Occur"));
873     }
874 
updateObject(int columnIndex, Object x, int scale)875     public void updateObject(int columnIndex, Object x, int scale)
876             throws SQLException {
877         throw new SQLException(local.message("ERR_Should_Not_Occur"));
878     }
879 
updateObject(String columnName, Object x, int scale)880     public void updateObject(String columnName, Object x, int scale)
881             throws SQLException {
882         throw new SQLException(local.message("ERR_Should_Not_Occur"));
883     }
884 
updateRef(int columnIndex, Ref x)885     public void updateRef(int columnIndex, Ref x) throws SQLException {
886         throw new SQLException(local.message("ERR_Should_Not_Occur"));
887     }
888 
updateRef(String columnName, Ref x)889     public void updateRef(String columnName, Ref x) throws SQLException {
890         throw new SQLException(local.message("ERR_Should_Not_Occur"));
891     }
892 
updateRow()893     public void updateRow() throws SQLException {
894         throw new SQLException(local.message("ERR_Should_Not_Occur"));
895     }
896 
updateRowId(int columnIndex, RowId x)897     public void updateRowId(int columnIndex, RowId x) throws SQLException {
898         throw new SQLException(local.message("ERR_Should_Not_Occur"));
899     }
900 
updateRowId(String columnLabel, RowId x)901     public void updateRowId(String columnLabel, RowId x) throws SQLException {
902         throw new SQLException(local.message("ERR_Should_Not_Occur"));
903     }
904 
updateShort(int columnIndex, short x)905     public void updateShort(int columnIndex, short x) throws SQLException {
906         throw new SQLException(local.message("ERR_Should_Not_Occur"));
907     }
908 
updateShort(String columnName, short x)909     public void updateShort(String columnName, short x) throws SQLException {
910         throw new SQLException(local.message("ERR_Should_Not_Occur"));
911     }
912 
updateSQLXML(String columnLabel, SQLXML xmlObject)913     public void updateSQLXML(String columnLabel, SQLXML xmlObject) throws SQLException {
914         throw new SQLException(local.message("ERR_Should_Not_Occur"));
915     }
916 
updateSQLXML(int columnIndex, SQLXML xmlObject)917     public void updateSQLXML(int columnIndex, SQLXML xmlObject) throws SQLException {
918         throw new SQLException(local.message("ERR_Should_Not_Occur"));
919     }
920 
updateString(int columnIndex, String x)921     public void updateString(int columnIndex, String x) throws SQLException {
922         throw new SQLException(local.message("ERR_Should_Not_Occur"));
923     }
924 
updateString(String columnName, String x)925     public void updateString(String columnName, String x) throws SQLException {
926         throw new SQLException(local.message("ERR_Should_Not_Occur"));
927     }
928 
updateTime(int columnIndex, Time x)929     public void updateTime(int columnIndex, Time x) throws SQLException {
930         throw new SQLException(local.message("ERR_Should_Not_Occur"));
931     }
932 
updateTime(String columnName, Time x)933     public void updateTime(String columnName, Time x) throws SQLException {
934         throw new SQLException(local.message("ERR_Should_Not_Occur"));
935     }
936 
updateTimestamp(int columnIndex, Timestamp x)937     public void updateTimestamp(int columnIndex, Timestamp x)
938             throws SQLException {
939         throw new SQLException(local.message("ERR_Should_Not_Occur"));
940     }
941 
updateTimestamp(String columnName, Timestamp x)942     public void updateTimestamp(String columnName, Timestamp x)
943             throws SQLException {
944         throw new SQLException(local.message("ERR_Should_Not_Occur"));
945     }
946 
wasNull()947     public boolean wasNull() throws SQLException {
948         throw new SQLException(local.message("ERR_Should_Not_Occur"));
949     }
950 
951 }
952