--- /dev/null
+/*\r
+\r
+ Derby - Class org.apache.derby.vti.VTITemplate\r
+\r
+ Licensed to the Apache Software Foundation (ASF) under one or more\r
+ contributor license agreements. See the NOTICE file distributed with\r
+ this work for additional information regarding copyright ownership.\r
+ The ASF licenses this file to You under the Apache License, Version 2.0\r
+ (the "License"); you may not use this file except in compliance with\r
+ the License. You may obtain a copy of the License at\r
+\r
+ http://www.apache.org/licenses/LICENSE-2.0\r
+\r
+ Unless required by applicable law or agreed to in writing, software\r
+ distributed under the License is distributed on an "AS IS" BASIS,\r
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
+ See the License for the specific language governing permissions and\r
+ limitations under the License.\r
+\r
+ */\r
+\r
+package org.apache.derby.vti;\r
+\r
+import java.sql.Connection;\r
+import java.sql.Statement;\r
+import java.sql.ResultSet;\r
+import java.sql.ResultSetMetaData;\r
+import java.sql.SQLException;\r
+import java.sql.SQLWarning;\r
+import java.math.BigDecimal;\r
+\r
+import java.net.URL;\r
+import java.util.Calendar;\r
+import java.sql.Ref;\r
+import java.sql.Blob;\r
+import java.sql.Clob;\r
+import java.sql.Array;\r
+\r
+/**\r
+ An abstract implementation of ResultSet (JDK1.1/JDBC 1.2) that is useful\r
+ when writing a read-only VTI (virtual table interface) or for\r
+ the ResultSet returned by executeQuery in read-write VTI classes.\r
+ \r
+ This class implements most of the methods of the JDBC 1.2 interface java.sql.ResultSet,\r
+ each one throwing a SQLException with the name of the method. \r
+ A concrete subclass can then just implement the methods not implemented here \r
+ and override any methods it needs to implement for correct functionality.\r
+ <P>\r
+ The methods not implemented here are\r
+ <UL>\r
+ <LI>next()\r
+ <LI>close()\r
+ <LI>getMetaData()\r
+ </UL>\r
+ <P>\r
+\r
+ For virtual tables the database engine only calls methods defined\r
+ in the JDBC 1.2 definition of java.sql.ResultSet.\r
+ <BR>\r
+ Classes that implement a JDBC 2.0 conformant java.sql.ResultSet can be used\r
+ as virtual tables.\r
+ */\r
+public abstract class VTITemplate implements ResultSet {\r
+\r
+ //\r
+ // java.sql.ResultSet calls, passed through to our result set.\r
+ //\r
+\r
+ /**\r
+ * @see java.sql.ResultSet\r
+ *\r
+ * @exception SQLException on unexpected JDBC error\r
+ */\r
+ public boolean wasNull() throws SQLException {\r
+ throw new SQLException("wasNull");\r
+ }\r
+\r
+ /**\r
+ * @see java.sql.ResultSet\r
+ *\r
+ * @exception SQLException on unexpected JDBC error\r
+ */\r
+ public String getString(int columnIndex) throws SQLException {\r
+ throw new SQLException("getString");\r
+ }\r
+\r
+ /**\r
+ * @see java.sql.ResultSet\r
+ *\r
+ * @exception SQLException on unexpected JDBC error\r
+ */\r
+ public boolean getBoolean(int columnIndex) throws SQLException {\r
+ throw new SQLException("getBoolean");\r
+ }\r
+\r
+ /**\r
+ * @see java.sql.ResultSet\r
+ *\r
+ * @exception SQLException on unexpected JDBC error\r
+ */\r
+ public byte getByte(int columnIndex) throws SQLException {\r
+ throw new SQLException("getByte");\r
+ }\r
+\r
+ /**\r
+ * @see java.sql.ResultSet\r
+ *\r
+ * @exception SQLException on unexpected JDBC error\r
+ */\r
+ public short getShort(int columnIndex) throws SQLException {\r
+ throw new SQLException("getShort");\r
+ }\r
+\r
+ /**\r
+ * @see java.sql.ResultSet\r
+ *\r
+ * @exception SQLException on unexpected JDBC error\r
+ */\r
+ public int getInt(int columnIndex) throws SQLException {\r
+ throw new SQLException("getInt");\r
+ }\r
+\r
+ /**\r
+ * @see java.sql.ResultSet\r
+ *\r
+ * @exception SQLException on unexpected JDBC error\r
+ */\r
+ public long getLong(int columnIndex) throws SQLException {\r
+ throw new SQLException("getLong");\r
+ }\r
+\r
+ /**\r
+ * @see java.sql.ResultSet\r
+ *\r
+ * @exception SQLException on unexpected JDBC error\r
+ */\r
+ public float getFloat(int columnIndex) throws SQLException {\r
+ throw new SQLException("getFloat");\r
+ }\r
+\r
+ /**\r
+ * @see java.sql.ResultSet\r
+ *\r
+ * @exception SQLException on unexpected JDBC error\r
+ */\r
+ public double getDouble(int columnIndex) throws SQLException {\r
+ throw new SQLException("getDouble");\r
+ }\r
+\r
+ /**\r
+ * @see java.sql.ResultSet\r
+ *\r
+ * @exception SQLException on unexpected JDBC error\r
+ */\r
+ public BigDecimal getBigDecimal(int columnIndex, int scale) throws SQLException {\r
+ throw new SQLException("getBigDecimal");\r
+ }\r
+\r
+ /**\r
+ * @see java.sql.ResultSet\r
+ *\r
+ * @exception SQLException on unexpected JDBC error\r
+ */\r
+ public byte[] getBytes(int columnIndex) throws SQLException {\r
+ throw new SQLException("getBytes");\r
+ }\r
+\r
+ /**\r
+ * @see java.sql.ResultSet\r
+ *\r
+ * @exception SQLException on unexpected JDBC error\r
+ */\r
+ public java.sql.Date getDate(int columnIndex) throws SQLException {\r
+ throw new SQLException("getDate");\r
+ }\r
+\r
+ /**\r
+ * @see java.sql.ResultSet\r
+ *\r
+ * @exception SQLException on unexpected JDBC error\r
+ */\r
+ public java.sql.Time getTime(int columnIndex) throws SQLException {\r
+ throw new SQLException("getTime");\r
+ }\r
+\r
+ /**\r
+ * @see java.sql.ResultSet\r
+ *\r
+ * @exception SQLException on unexpected JDBC error\r
+ */\r
+ public java.sql.Timestamp getTimestamp(int columnIndex) throws SQLException {\r
+ throw new SQLException("getTimestamp");\r
+ }\r
+\r
+ /**\r
+ * @see java.sql.ResultSet\r
+ *\r
+ * @exception SQLException on unexpected JDBC error\r
+ */\r
+ public java.io.InputStream getAsciiStream(int columnIndex) throws SQLException {\r
+ throw new SQLException("getAsciiStream");\r
+ }\r
+\r
+ /**\r
+ * @see java.sql.ResultSet\r
+ *\r
+ * @exception SQLException on unexpected JDBC error\r
+ */\r
+ public java.io.InputStream getUnicodeStream(int columnIndex) throws SQLException {\r
+ throw new SQLException("getUnicodeStream");\r
+ }\r
+\r
+ /**\r
+ * @see java.sql.ResultSet\r
+ *\r
+ * @exception SQLException on unexpected JDBC error\r
+ */\r
+ public java.io.InputStream getBinaryStream(int columnIndex)\r
+ throws SQLException {\r
+ throw new SQLException("getBinaryStream");\r
+ }\r
+\r
+ /**\r
+ * @see java.sql.ResultSet\r
+ *\r
+ * @exception SQLException on unexpected JDBC error\r
+ */\r
+ public String getString(String columnName) throws SQLException {\r
+ return getString(findColumn(columnName));\r
+ }\r
+\r
+ /**\r
+ * @see java.sql.ResultSet\r
+ *\r
+ * @exception SQLException on unexpected JDBC error\r
+ */\r
+ public boolean getBoolean(String columnName) throws SQLException {\r
+ return getBoolean(findColumn(columnName));\r
+ }\r
+\r
+ /**\r
+ * @see java.sql.ResultSet\r
+ *\r
+ * @exception SQLException on unexpected JDBC error\r
+ */\r
+ public byte getByte(String columnName) throws SQLException {\r
+ return getByte(findColumn(columnName));\r
+ }\r
+\r
+ /**\r
+ * @see java.sql.ResultSet\r
+ *\r
+ * @exception SQLException on unexpected JDBC error\r
+ */\r
+ public short getShort(String columnName) throws SQLException {\r
+ return getShort(findColumn(columnName));\r
+ }\r
+\r
+ /**\r
+ * @see java.sql.ResultSet\r
+ *\r
+ * @exception SQLException on unexpected JDBC error\r
+ */\r
+ public int getInt(String columnName) throws SQLException {\r
+ return getInt(findColumn(columnName));\r
+ }\r
+\r
+ /**\r
+ * @see java.sql.ResultSet\r
+ *\r
+ * @exception SQLException on unexpected JDBC error\r
+ */\r
+ public long getLong(String columnName) throws SQLException {\r
+ return getLong(findColumn(columnName));\r
+ }\r
+\r
+ /**\r
+ * @see java.sql.ResultSet\r
+ *\r
+ * @exception SQLException on unexpected JDBC error\r
+ */\r
+ public float getFloat(String columnName) throws SQLException {\r
+ return getFloat(findColumn(columnName));\r
+ }\r
+\r
+ /**\r
+ * @see java.sql.ResultSet\r
+ *\r
+ * @exception SQLException on unexpected JDBC error\r
+ */\r
+ public double getDouble(String columnName) throws SQLException {\r
+ return getDouble(findColumn(columnName));\r
+ }\r
+\r
+ /**\r
+ * @see java.sql.ResultSet\r
+ *\r
+ * @exception SQLException on unexpected JDBC error\r
+ */\r
+ public BigDecimal getBigDecimal(String columnName, int scale) throws SQLException {\r
+ return getBigDecimal(findColumn(columnName), scale);\r
+ }\r
+\r
+ /**\r
+ * @see java.sql.ResultSet\r
+ *\r
+ * @exception SQLException on unexpected JDBC error\r
+ */\r
+ public byte[] getBytes(String columnName) throws SQLException {\r
+ return getBytes(findColumn(columnName));\r
+ }\r
+\r
+ /**\r
+ * @see java.sql.ResultSet\r
+ *\r
+ * @exception SQLException on unexpected JDBC error\r
+ */\r
+ public java.sql.Date getDate(String columnName) throws SQLException {\r
+ return getDate(findColumn(columnName));\r
+ }\r
+\r
+ /**\r
+ * @see java.sql.ResultSet\r
+ *\r
+ * @exception SQLException on unexpected JDBC error\r
+ */\r
+ public java.sql.Time getTime(String columnName) throws SQLException {\r
+ return getTime(findColumn(columnName));\r
+ }\r
+\r
+ /**\r
+ * @see java.sql.ResultSet\r
+ *\r
+ * @exception SQLException on unexpected JDBC error\r
+ */\r
+ public java.sql.Timestamp getTimestamp(String columnName) throws SQLException {\r
+ return getTimestamp(findColumn(columnName));\r
+ }\r
+\r
+ /**\r
+ * @see java.sql.ResultSet\r
+ *\r
+ * @exception SQLException on unexpected JDBC error\r
+ */\r
+ public java.io.InputStream getAsciiStream(String columnName) throws SQLException {\r
+ throw new SQLException("getAsciiStream");\r
+ }\r
+\r
+ /**\r
+ * @see java.sql.ResultSet\r
+ *\r
+ * @exception SQLException on unexpected JDBC error\r
+ */\r
+ public java.io.InputStream getUnicodeStream(String columnName) throws SQLException {\r
+ throw new SQLException("getUnicodeStream");\r
+ }\r
+\r
+ /**\r
+ * @see java.sql.ResultSet\r
+ *\r
+ * @exception SQLException on unexpected JDBC error\r
+ */\r
+ public java.io.InputStream getBinaryStream(String columnName)\r
+ throws SQLException {\r
+ throw new SQLException("getBinaryStream");\r
+ }\r
+\r
+ /**\r
+ * @exception SQLException if there is an error\r
+ */\r
+ public SQLWarning getWarnings() throws SQLException {\r
+ return null;\r
+ }\r
+\r
+ /**\r
+ * @exception SQLException if there is an error\r
+ */\r
+ public void clearWarnings() throws SQLException {\r
+ }\r
+\r
+ /**\r
+ * @see java.sql.ResultSet\r
+ *\r
+ * @exception SQLException on unexpected JDBC error\r
+ */\r
+ public String getCursorName() throws SQLException {\r
+ throw new SQLException("getCursorName");\r
+ }\r
+\r
+ /**\r
+ * @see java.sql.ResultSet\r
+ *\r
+ * @exception SQLException on unexpected JDBC error\r
+ */\r
+ public Object getObject(int columnIndex) throws SQLException {\r
+ throw new SQLException("getObject");\r
+ }\r
+\r
+ /**\r
+ * @see java.sql.ResultSet\r
+ *\r
+ * @exception SQLException on unexpected JDBC error\r
+ */\r
+ public Object getObject(String columnName) throws SQLException {\r
+ return getObject(findColumn(columnName));\r
+ }\r
+\r
+ /**\r
+ * @see java.sql.ResultSet\r
+ *\r
+ * @exception SQLException on unexpected JDBC error\r
+ */\r
+ public int findColumn(String columnName) throws SQLException {\r
+ throw new SQLException("findColumn");\r
+ }\r
+\r
+ /*\r
+ ** JDBC 2.0 methods\r
+ */\r
+\r
+ /**\r
+ * @see java.sql.ResultSet\r
+ *\r
+ * @exception SQLException on unexpected JDBC error\r
+ */\r
+ public java.io.Reader getCharacterStream(int columnIndex)\r
+ throws SQLException {\r
+ throw new SQLException("getCharacterStream");\r
+ }\r
+\r
+ /**\r
+ * @see java.sql.ResultSet\r
+ *\r
+ * @exception SQLException on unexpected JDBC error\r
+ */\r
+ public java.io.Reader getCharacterStream(String columnName)\r
+ throws SQLException {\r
+ throw new SQLException("getCharacterStream");\r
+ }\r
+\r
+ /**\r
+ * @see java.sql.ResultSet\r
+ *\r
+ * @exception SQLException on unexpected JDBC error\r
+ */\r
+ public BigDecimal getBigDecimal(int columnIndex)\r
+ throws SQLException {\r
+ throw new SQLException("getBigDecimal");\r
+ }\r
+\r
+ /**\r
+ * @see java.sql.ResultSet\r
+ *\r
+ * @exception SQLException on unexpected JDBC error\r
+ */\r
+ public BigDecimal getBigDecimal(String columnName)\r
+ throws SQLException {\r
+ return getBigDecimal(findColumn(columnName));\r
+ }\r
+\r
+ /**\r
+ * @see java.sql.ResultSet\r
+ *\r
+ * @exception SQLException on unexpected JDBC error\r
+ */\r
+ public boolean isBeforeFirst()\r
+ throws SQLException {\r
+ throw new SQLException("isBeforeFirst");\r
+ }\r
+\r
+ /**\r
+ * @see java.sql.ResultSet\r
+ *\r
+ * @exception SQLException on unexpected JDBC error\r
+ */\r
+ public boolean isAfterLast()\r
+ throws SQLException {\r
+ throw new SQLException("isAfterLast");\r
+ }\r
+\r
+ /**\r
+ * @see java.sql.ResultSet\r
+ *\r
+ * @exception SQLException on unexpected JDBC error\r
+ */\r
+ public boolean isFirst()\r
+ throws SQLException {\r
+ throw new SQLException("isFirst");\r
+ }\r
+\r
+ /**\r
+ * @see java.sql.ResultSet\r
+ *\r
+ * @exception SQLException on unexpected JDBC error\r
+ */\r
+ public boolean isLast()\r
+ throws SQLException {\r
+ throw new SQLException("isLast");\r
+ }\r
+\r
+ /**\r
+ * @see java.sql.ResultSet\r
+ *\r
+ * @exception SQLException on unexpected JDBC error\r
+ */\r
+ public void beforeFirst()\r
+ throws SQLException {\r
+ throw new SQLException("beforeFirst");\r
+ }\r
+\r
+ /**\r
+ * @see java.sql.ResultSet\r
+ *\r
+ * @exception SQLException on unexpected JDBC error\r
+ */\r
+ public void afterLast()\r
+ throws SQLException {\r
+ throw new SQLException("afterLast");\r
+ }\r
+\r
+ /**\r
+ * @see java.sql.ResultSet\r
+ *\r
+ * @exception SQLException on unexpected JDBC error\r
+ */\r
+ public boolean first()\r
+ throws SQLException {\r
+ throw new SQLException("first");\r
+ }\r
+\r
+ /**\r
+ * @see java.sql.ResultSet\r
+ *\r
+ * @exception SQLException on unexpected JDBC error\r
+ */\r
+ public boolean last()\r
+ throws SQLException {\r
+ throw new SQLException("last");\r
+ }\r
+\r
+ /**\r
+ * @see java.sql.ResultSet\r
+ *\r
+ * @exception SQLException on unexpected JDBC error\r
+ */\r
+ public int getRow()\r
+ throws SQLException {\r
+ throw new SQLException("getRow");\r
+ }\r
+\r
+ /**\r
+ * @see java.sql.ResultSet\r
+ *\r
+ * @exception SQLException on unexpected JDBC error\r
+ */\r
+ public boolean absolute(int row)\r
+ throws SQLException {\r
+ throw new SQLException("absolute");\r
+ }\r
+\r
+ /**\r
+ * @see java.sql.ResultSet\r
+ *\r
+ * @exception SQLException on unexpected JDBC error\r
+ */\r
+ public boolean relative(int rows)\r
+ throws SQLException {\r
+ throw new SQLException("relative");\r
+ }\r
+\r
+ /**\r
+ * @see java.sql.ResultSet\r
+ *\r
+ * @exception SQLException on unexpected JDBC error\r
+ */\r
+ public boolean previous()\r
+ throws SQLException {\r
+ throw new SQLException("previous");\r
+ }\r
+\r
+ /**\r
+ * @see java.sql.ResultSet\r
+ *\r
+ * @exception SQLException on unexpected JDBC error\r
+ */\r
+ public void setFetchDirection(int direction)\r
+ throws SQLException {\r
+ throw new SQLException("setFetchDirection");\r
+ }\r
+\r
+ /**\r
+ * @see java.sql.ResultSet\r
+ *\r
+ * @exception SQLException on unexpected JDBC error\r
+ */\r
+ public int getFetchDirection()\r
+ throws SQLException {\r
+ throw new SQLException("getFetchDirection");\r
+ }\r
+\r
+ /**\r
+ * @see java.sql.ResultSet\r
+ *\r
+ * @exception SQLException on unexpected JDBC error\r
+ */\r
+ public void setFetchSize(int rows)\r
+ throws SQLException {\r
+ throw new SQLException("setFetchSize");\r
+ }\r
+\r
+ /**\r
+ * @see java.sql.ResultSet\r
+ *\r
+ * @exception SQLException on unexpected JDBC error\r
+ */\r
+ public int getFetchSize()\r
+ throws SQLException {\r
+ throw new SQLException("getFetchSize");\r
+ }\r
+\r
+ /**\r
+ * @see java.sql.ResultSet\r
+ *\r
+ * @exception SQLException on unexpected JDBC error\r
+ */\r
+ public int getType()\r
+ throws SQLException {\r
+ throw new SQLException("getType");\r
+ }\r
+\r
+ /**\r
+ * @see java.sql.ResultSet\r
+ *\r
+ * @exception SQLException on unexpected JDBC error\r
+ */\r
+ public int getConcurrency()\r
+ throws SQLException {\r
+ throw new SQLException("getConcurrency");\r
+ }\r
+\r
+ /**\r
+ * @see java.sql.ResultSet\r
+ *\r
+ * @exception SQLException on unexpected JDBC error\r
+ */\r
+ public boolean rowUpdated()\r
+ throws SQLException {\r
+ throw new SQLException("rowUpdated");\r
+ }\r
+\r
+ /**\r
+ * @see java.sql.ResultSet\r
+ *\r
+ * @exception SQLException on unexpected JDBC error\r
+ */\r
+ public boolean rowInserted()\r
+ throws SQLException {\r
+ throw new SQLException("rowInserted");\r
+ }\r
+\r
+ /**\r
+ * @see java.sql.ResultSet\r
+ *\r
+ * @exception SQLException on unexpected JDBC error\r
+ */\r
+ public boolean rowDeleted()\r
+ throws SQLException {\r
+ throw new SQLException("rowDeleted");\r
+ }\r
+\r
+ /**\r
+ * @see java.sql.ResultSet\r
+ *\r
+ * @exception SQLException on unexpected JDBC error\r
+ */\r
+ public void updateNull(int columnIndex)\r
+ throws SQLException {\r
+ throw new SQLException("updateNull");\r
+ }\r
+\r
+ /**\r
+ * @see java.sql.ResultSet\r
+ *\r
+ * @exception SQLException on unexpected JDBC error\r
+ */\r
+ public void updateBoolean(int columnIndex, boolean x)\r
+ throws SQLException {\r
+ throw new SQLException("updateBoolean");\r
+ }\r
+\r
+ /**\r
+ * @see java.sql.ResultSet\r
+ *\r
+ * @exception SQLException on unexpected JDBC error\r
+ */\r
+ public void updateByte(int columnIndex, byte x)\r
+ throws SQLException {\r
+ throw new SQLException("updateByte");\r
+ }\r
+\r
+ /**\r
+ * @see java.sql.ResultSet\r
+ *\r
+ * @exception SQLException on unexpected JDBC error\r
+ */\r
+ public void updateShort(int columnIndex, short x)\r
+ throws SQLException {\r
+ throw new SQLException("updateShort");\r
+ }\r
+\r
+ /**\r
+ * @see java.sql.ResultSet\r
+ *\r
+ * @exception SQLException on unexpected JDBC error\r
+ */\r
+ public void updateInt(int columnIndex, int x)\r
+ throws SQLException {\r
+ throw new SQLException("updateInt");\r
+ }\r
+\r
+ /**\r
+ * @see java.sql.ResultSet\r
+ *\r
+ * @exception SQLException on unexpected JDBC error\r
+ */\r
+ public void updateLong(int columnIndex, long x)\r
+ throws SQLException {\r
+ throw new SQLException("updateLong");\r
+ }\r
+\r
+ /**\r
+ * @see java.sql.ResultSet\r
+ *\r
+ * @exception SQLException on unexpected JDBC error\r
+ */\r
+ public void updateFloat(int columnIndex, float x)\r
+ throws SQLException {\r
+ throw new SQLException("updateFloat");\r
+ }\r
+\r
+ /**\r
+ * @see java.sql.ResultSet\r
+ *\r
+ * @exception SQLException on unexpected JDBC error\r
+ */\r
+ public void updateDouble(int columnIndex, double x)\r
+ throws SQLException {\r
+ throw new SQLException("updateDouble");\r
+ }\r
+\r
+ /**\r
+ * @see java.sql.ResultSet\r
+ *\r
+ * @exception SQLException on unexpected JDBC error\r
+ */\r
+ public void updateBigDecimal(int columnIndex, BigDecimal x)\r
+ throws SQLException {\r
+ throw new SQLException("updateBigDecimal");\r
+ }\r
+\r
+ /**\r
+ * @see java.sql.ResultSet\r
+ *\r
+ * @exception SQLException on unexpected JDBC error\r
+ */\r
+ public void updateString(int columnIndex, String x)\r
+ throws SQLException {\r
+ throw new SQLException("updateString");\r
+ }\r
+\r
+ /**\r
+ * @see java.sql.ResultSet\r
+ *\r
+ * @exception SQLException on unexpected JDBC error\r
+ */\r
+ public void updateBytes(int columnIndex, byte[] x)\r
+ throws SQLException {\r
+ throw new SQLException("updateBytes");\r
+ }\r
+\r
+ /**\r
+ * @see java.sql.ResultSet\r
+ *\r
+ * @exception SQLException on unexpected JDBC error\r
+ */\r
+ public void updateDate(int columnIndex, java.sql.Date x)\r
+ throws SQLException {\r
+ throw new SQLException("updateDate");\r
+ }\r
+\r
+ /**\r
+ * @see java.sql.ResultSet\r
+ *\r
+ * @exception SQLException on unexpected JDBC error\r
+ */\r
+ public void updateTime(int columnIndex, java.sql.Time x)\r
+ throws SQLException {\r
+ throw new SQLException("updateTime");\r
+ }\r
+\r
+ /**\r
+ * @see java.sql.ResultSet\r
+ *\r
+ * @exception SQLException on unexpected JDBC error\r
+ */\r
+ public void updateTimestamp(int columnIndex, java.sql.Timestamp x)\r
+ throws SQLException {\r
+ throw new SQLException("updateTimestamp");\r
+ }\r
+\r
+ /**\r
+ * @see java.sql.ResultSet\r
+ *\r
+ * @exception SQLException on unexpected JDBC error\r
+ */\r
+ public void updateAsciiStream(int columnIndex,\r
+ java.io.InputStream x,\r
+ int length)\r
+ throws SQLException {\r
+ throw new SQLException("updateAsciiStream");\r
+ }\r
+\r
+ /**\r
+ * @see java.sql.ResultSet\r
+ *\r
+ * @exception SQLException on unexpected JDBC error\r
+ */\r
+ public void updateBinaryStream(int columnIndex,\r
+ java.io.InputStream x,\r
+ int length)\r
+ throws SQLException {\r
+ throw new SQLException("updateBinaryStream");\r
+ }\r
+\r
+ /**\r
+ * @see java.sql.ResultSet\r
+ *\r
+ * @exception SQLException on unexpected JDBC error\r
+ */\r
+ public void updateCharacterStream(int columnIndex,\r
+ java.io.Reader x,\r
+ int length)\r
+ throws SQLException {\r
+ throw new SQLException("updateCharacterStream");\r
+ }\r
+\r
+ /**\r
+ * @see java.sql.ResultSet\r
+ *\r
+ * @exception SQLException on unexpected JDBC error\r
+ */\r
+ public void updateObject(int columnIndex,\r
+ Object x,\r
+ int scale)\r
+ throws SQLException {\r
+ throw new SQLException("updateObject");\r
+ }\r
+\r
+ /**\r
+ * @see java.sql.ResultSet\r
+ *\r
+ * @exception SQLException on unexpected JDBC error\r
+ */\r
+ public void updateObject(int columnIndex, Object x)\r
+ throws SQLException {\r
+ throw new SQLException("updateObject");\r
+ }\r
+\r
+ /**\r
+ * @see java.sql.ResultSet\r
+ *\r
+ * @exception SQLException on unexpected JDBC error\r
+ */\r
+ public void updateNull(String columnName)\r
+ throws SQLException {\r
+ throw new SQLException("updateNull");\r
+ }\r
+\r
+ /**\r
+ * @see java.sql.ResultSet\r
+ *\r
+ * @exception SQLException on unexpected JDBC error\r
+ */\r
+ public void updateBoolean(String columnName, boolean x)\r
+ throws SQLException {\r
+ throw new SQLException("updateBoolean");\r
+ }\r
+\r
+ /**\r
+ * @see java.sql.ResultSet\r
+ *\r
+ * @exception SQLException on unexpected JDBC error\r
+ */\r
+ public void updateByte(String columnName, byte x)\r
+ throws SQLException {\r
+ throw new SQLException("updateByte");\r
+ }\r
+\r
+ /**\r
+ * @see java.sql.ResultSet\r
+ *\r
+ * @exception SQLException on unexpected JDBC error\r
+ */\r
+ public void updateShort(String columnName, short x)\r
+ throws SQLException {\r
+ throw new SQLException("updateShort");\r
+ }\r
+\r
+ /**\r
+ * @see java.sql.ResultSet\r
+ *\r
+ * @exception SQLException on unexpected JDBC error\r
+ */\r
+ public void updateInt(String columnName, int x)\r
+ throws SQLException {\r
+ throw new SQLException("updateInt");\r
+ }\r
+\r
+ /**\r
+ * @see java.sql.ResultSet\r
+ *\r
+ * @exception SQLException on unexpected JDBC error\r
+ */\r
+ public void updateLong(String columnName, long x)\r
+ throws SQLException {\r
+ throw new SQLException("updateLong");\r
+ }\r
+\r
+ /**\r
+ * @see java.sql.ResultSet\r
+ *\r
+ * @exception SQLException on unexpected JDBC error\r
+ */\r
+ public void updateFloat(String columnName, float x)\r
+ throws SQLException {\r
+ throw new SQLException("updateFloat");\r
+ }\r
+\r
+ /**\r
+ * @see java.sql.ResultSet\r
+ *\r
+ * @exception SQLException on unexpected JDBC error\r
+ */\r
+ public void updateDouble(String columnName, double x)\r
+ throws SQLException {\r
+ throw new SQLException("updateDouble");\r
+ }\r
+\r
+ /**\r
+ * @see java.sql.ResultSet\r
+ *\r
+ * @exception SQLException on unexpected JDBC error\r
+ */\r
+ public void updateBigDecimal(String columnName, BigDecimal x)\r
+ throws SQLException {\r
+ throw new SQLException("updateBigDecimal");\r
+ }\r
+\r
+ /**\r
+ * @see java.sql.ResultSet\r
+ *\r
+ * @exception SQLException on unexpected JDBC error\r
+ */\r
+ public void updateString(String columnName, String x)\r
+ throws SQLException {\r
+ throw new SQLException("updateString");\r
+ }\r
+\r
+ /**\r
+ * @see java.sql.ResultSet\r
+ *\r
+ * @exception SQLException on unexpected JDBC error\r
+ */\r
+ public void updateBytes(String columnName, byte[] x)\r
+ throws SQLException {\r
+ throw new SQLException("updateBytes");\r
+ }\r
+\r
+ /**\r
+ * @see java.sql.ResultSet\r
+ *\r
+ * @exception SQLException on unexpected JDBC error\r
+ */\r
+ public void updateDate(String columnName, java.sql.Date x)\r
+ throws SQLException {\r
+ throw new SQLException("updateDate");\r
+ }\r
+\r
+ /**\r
+ * @see java.sql.ResultSet\r
+ *\r
+ * @exception SQLException on unexpected JDBC error\r
+ */\r
+ public void updateTime(String columnName, java.sql.Time x)\r
+ throws SQLException {\r
+ throw new SQLException("updateTime");\r
+ }\r
+\r
+ /**\r
+ * @see java.sql.ResultSet\r
+ *\r
+ * @exception SQLException on unexpected JDBC error\r
+ */\r
+ public void updateTimestamp(String columnName, java.sql.Timestamp x)\r
+ throws SQLException {\r
+ throw new SQLException("updateTimestamp");\r
+ }\r
+\r
+ /**\r
+ * @see java.sql.ResultSet\r
+ *\r
+ * @exception SQLException on unexpected JDBC error\r
+ */\r
+ public void updateAsciiStream(String columnName,\r
+ java.io.InputStream x,\r
+ int length)\r
+ throws SQLException {\r
+ throw new SQLException("updateAsciiStream");\r
+ }\r
+\r
+ /**\r
+ * @see java.sql.ResultSet\r
+ *\r
+ * @exception SQLException on unexpected JDBC error\r
+ */\r
+ public void updateBinaryStream(String columnName,\r
+ java.io.InputStream x,\r
+ int length)\r
+ throws SQLException {\r
+ throw new SQLException("updateBinaryStream");\r
+ }\r
+\r
+ /**\r
+ * @see java.sql.ResultSet\r
+ *\r
+ * @exception SQLException on unexpected JDBC error\r
+ */\r
+ public void updateCharacterStream(String columnName,\r
+ java.io.Reader x,\r
+ int length)\r
+ throws SQLException {\r
+ throw new SQLException("updateCharacterStream");\r
+ }\r
+\r
+ /**\r
+ * @see java.sql.ResultSet\r
+ *\r
+ * @exception SQLException on unexpected JDBC error\r
+ */\r
+ public void updateObject(String columnName,\r
+ Object x,\r
+ int scale)\r
+ throws SQLException {\r
+ throw new SQLException("updateObject");\r
+ }\r
+\r
+ /**\r
+ * @see java.sql.ResultSet\r
+ *\r
+ * @exception SQLException on unexpected JDBC error\r
+ */\r
+ public void updateObject(String columnName, Object x)\r
+ throws SQLException {\r
+ throw new SQLException("updateObject");\r
+ }\r
+\r
+ /**\r
+ * @see java.sql.ResultSet\r
+ *\r
+ * @exception SQLException on unexpected JDBC error\r
+ */\r
+ public void insertRow()\r
+ throws SQLException {\r
+ throw new SQLException("insertRow");\r
+ }\r
+\r
+ /**\r
+ * @see java.sql.ResultSet\r
+ *\r
+ * @exception SQLException on unexpected JDBC error\r
+ */\r
+ public void updateRow()\r
+ throws SQLException {\r
+ throw new SQLException("updateRow");\r
+ }\r
+\r
+ /**\r
+ * @see java.sql.ResultSet\r
+ *\r
+ * @exception SQLException on unexpected JDBC error\r
+ */\r
+ public void deleteRow()\r
+ throws SQLException {\r
+ throw new SQLException("deleteRow");\r
+ }\r
+\r
+ /**\r
+ * @see java.sql.ResultSet\r
+ *\r
+ * @exception SQLException on unexpected JDBC error\r
+ */\r
+ public void refreshRow()\r
+ throws SQLException {\r
+ throw new SQLException("refreshRow");\r
+ }\r
+\r
+ /**\r
+ * @see java.sql.ResultSet\r
+ *\r
+ * @exception SQLException on unexpected JDBC error\r
+ */\r
+ public void cancelRowUpdates()\r
+ throws SQLException {\r
+ throw new SQLException("cancelRowUpdates");\r
+ }\r
+\r
+ /**\r
+ * @see java.sql.ResultSet\r
+ *\r
+ * @exception SQLException on unexpected JDBC error\r
+ */\r
+ public void moveToInsertRow()\r
+ throws SQLException {\r
+ throw new SQLException("moveToInsertRow");\r
+ }\r
+\r
+ /**\r
+ * @see java.sql.ResultSet\r
+ *\r
+ * @exception SQLException on unexpected JDBC error\r
+ */\r
+ public void moveToCurrentRow()\r
+ throws SQLException {\r
+ throw new SQLException("moveToCurrentRow");\r
+ }\r
+\r
+ /**\r
+ * @see java.sql.ResultSet\r
+ *\r
+ * @exception SQLException on unexpected JDBC error\r
+ */\r
+ public Statement getStatement()\r
+ throws SQLException {\r
+ throw new SQLException("getStatement");\r
+ }\r
+ /**\r
+ * @see java.sql.ResultSet\r
+ *\r
+ * @exception SQLException on unexpected JDBC error\r
+ */\r
+ public java.sql.Date getDate(int columnIndex, Calendar cal)\r
+ throws SQLException {\r
+ throw new SQLException("getDate");\r
+ }\r
+\r
+ /**\r
+ * @see java.sql.ResultSet\r
+ *\r
+ * @exception SQLException on unexpected JDBC error\r
+ */\r
+ public java.sql.Date getDate(String columnName, Calendar cal)\r
+ throws SQLException {\r
+ throw new SQLException("getDate");\r
+ }\r
+\r
+ /**\r
+ * @see java.sql.ResultSet\r
+ *\r
+ * @exception SQLException on unexpected JDBC error\r
+ */\r
+ public java.sql.Time getTime(int columnIndex, Calendar cal)\r
+ throws SQLException {\r
+ throw new SQLException("getTime");\r
+ }\r
+\r
+ /**\r
+ * @see java.sql.ResultSet\r
+ *\r
+ * @exception SQLException on unexpected JDBC error\r
+ */\r
+ public java.sql.Time getTime(String columnName, Calendar cal)\r
+ throws SQLException {\r
+ throw new SQLException("getTime");\r
+ }\r
+\r
+ /**\r
+ * @see java.sql.ResultSet\r
+ *\r
+ * @exception SQLException on unexpected JDBC error\r
+ */\r
+ public java.sql.Timestamp getTimestamp(int columnIndex, Calendar cal)\r
+ throws SQLException {\r
+ throw new SQLException("getTimestamp");\r
+ }\r
+\r
+ /**\r
+ * @see java.sql.ResultSet\r
+ *\r
+ * @exception SQLException on unexpected JDBC error\r
+ */\r
+ public java.sql.Timestamp getTimestamp(String columnName, Calendar cal)\r
+ throws SQLException {\r
+ throw new SQLException("getTimestamp");\r
+ }\r
+ /*\r
+ ** JDBC 3.0 methods\r
+ */\r
+ \r
+ /**\r
+ * @see java.sql.ResultSet\r
+ *\r
+ * @exception SQLException on unexpected JDBC error\r
+ */\r
+ public URL getURL(int columnIndex)\r
+ throws SQLException\r
+ {\r
+ throw new SQLException("getURL");\r
+ }\r
+\r
+ /**\r
+ * @see java.sql.ResultSet\r
+ *\r
+ * @exception SQLException on unexpected JDBC error\r
+ */\r
+ public URL getURL(String columnName)\r
+ throws SQLException {\r
+ throw new SQLException("getURL");\r
+ }\r
+\r
+ /**\r
+ * @see java.sql.ResultSet\r
+ *\r
+ * @exception SQLException on unexpected JDBC error\r
+ */\r
+ public Object getObject(int i, java.util.Map map)\r
+ throws SQLException {\r
+ throw new SQLException("getObject");\r
+ }\r
+\r
+ /**\r
+ * @see java.sql.ResultSet\r
+ *\r
+ * @exception SQLException on unexpected JDBC error\r
+ */\r
+ public Ref getRef(int i)\r
+ throws SQLException {\r
+ throw new SQLException("getRef");\r
+ }\r
+\r
+ /**\r
+ * @see java.sql.ResultSet\r
+ *\r
+ * @exception SQLException on unexpected JDBC error\r
+ */\r
+ public Blob getBlob(int i)\r
+ throws SQLException {\r
+ throw new SQLException("getBlob");\r
+ }\r
+\r
+ /**\r
+ * @see java.sql.ResultSet\r
+ *\r
+ * @exception SQLException on unexpected JDBC error\r
+ */\r
+ public Clob getClob(int i)\r
+ throws SQLException {\r
+ throw new SQLException("getClob");\r
+ }\r
+\r
+ /**\r
+ * @see java.sql.ResultSet\r
+ *\r
+ * @exception SQLException on unexpected JDBC error\r
+ */\r
+ public Array getArray(int i)\r
+ throws SQLException {\r
+ throw new SQLException("getArray");\r
+ }\r
+\r
+ /**\r
+ * @see java.sql.ResultSet\r
+ *\r
+ * @exception SQLException on unexpected JDBC error\r
+ */\r
+ public Object getObject(String colName, java.util.Map map)\r
+ throws SQLException {\r
+ throw new SQLException("getObject");\r
+ }\r
+\r
+ /**\r
+ * @see java.sql.ResultSet\r
+ *\r
+ * @exception SQLException on unexpected JDBC error\r
+ */\r
+ public Ref getRef(String colName)\r
+ throws SQLException {\r
+ throw new SQLException("getRef");\r
+ }\r
+\r
+ /**\r
+ * @see java.sql.ResultSet\r
+ *\r
+ * @exception SQLException on unexpected JDBC error\r
+ */\r
+ public Blob getBlob(String colName)\r
+ throws SQLException {\r
+ throw new SQLException("getBlob");\r
+ }\r
+\r
+ /**\r
+ * @see java.sql.ResultSet\r
+ *\r
+ * @exception SQLException on unexpected JDBC error\r
+ */\r
+ public Clob getClob(String colName)\r
+ throws SQLException {\r
+ throw new SQLException("getClob");\r
+ }\r
+\r
+ /**\r
+ * @see java.sql.ResultSet\r
+ *\r
+ * @exception SQLException on unexpected JDBC error\r
+ */\r
+ public Array getArray(String colName)\r
+ throws SQLException {\r
+ throw new SQLException("getArray");\r
+ }\r
+\r
+\r
+ // JDBC 3.0 methods - not implemented\r
+\r
+ /**\r
+ * @see java.sql.ResultSet\r
+ *\r
+ * @exception SQLException on unexpected JDBC error\r
+ */\r
+ public void updateRef(int columnIndex, Ref x)\r
+ throws SQLException {\r
+ throw new SQLException("updateRef");\r
+ }\r
+\r
+ /**\r
+ * @see java.sql.ResultSet\r
+ *\r
+ * @exception SQLException on unexpected JDBC error\r
+ */\r
+ public void updateRef(String columnName, Ref x)\r
+ throws SQLException {\r
+ throw new SQLException("updateRef");\r
+ }\r
+\r
+ /**\r
+ * @see java.sql.ResultSet\r
+ *\r
+ * @exception SQLException on unexpected JDBC error\r
+ */\r
+ public void updateBlob(int columnIndex, Blob x)\r
+ throws SQLException {\r
+ throw new SQLException("updateBlob");\r
+ }\r
+\r
+ /**\r
+ * @see java.sql.ResultSet\r
+ *\r
+ * @exception SQLException on unexpected JDBC error\r
+ */\r
+ public void updateBlob(String columnName, Blob x)\r
+ throws SQLException {\r
+ throw new SQLException("updateBlob");\r
+ }\r
+\r
+ /**\r
+ * @see java.sql.ResultSet\r
+ *\r
+ * @exception SQLException on unexpected JDBC error\r
+ */\r
+ public void updateClob(int columnIndex, Clob x)\r
+ throws SQLException {\r
+ throw new SQLException("updateClob");\r
+ }\r
+\r
+ /**\r
+ * @see java.sql.ResultSet\r
+ *\r
+ * @exception SQLException on unexpected JDBC error\r
+ */\r
+ public void updateClob(String columnName, Clob x)\r
+ throws SQLException {\r
+ throw new SQLException("updateClob");\r
+ }\r
+\r
+ /**\r
+ * @see java.sql.ResultSet\r
+ *\r
+ * @exception SQLException on unexpected JDBC error\r
+ */\r
+ public void updateArray(int columnIndex, Array x)\r
+ throws SQLException {\r
+ throw new SQLException("updateArray");\r
+ }\r
+\r
+ /**\r
+ * @see java.sql.ResultSet\r
+ *\r
+ * @exception SQLException on unexpected JDBC error\r
+ */\r
+ public void updateArray(String columnName, Array x)\r
+ throws SQLException {\r
+ throw new SQLException("updateArray");\r
+ }\r
+}\r