提交 87dc0a20 authored 作者: Thomas Mueller's avatar Thomas Mueller

Prepare for updateable simple result set (for TriggerAdapter)

上级 3dfa0fae
...@@ -777,16 +777,6 @@ public class SimpleResultSet implements ResultSet, ResultSetMetaData { ...@@ -777,16 +777,6 @@ public class SimpleResultSet implements ResultSet, ResultSetMetaData {
return getTimestamp(findColumn(columnLabel)); return getTimestamp(findColumn(columnLabel));
} }
/**
* Returns the value as a java.sql.Array.
*
* @param columnLabel the column label
* @return the value
*/
public Array getArray(String columnLabel) throws SQLException {
return getArray(findColumn(columnLabel));
}
/** /**
* Returns the value as a java.io.Reader. * Returns the value as a java.io.Reader.
* This is only supported if the * This is only supported if the
...@@ -1050,8 +1040,6 @@ public class SimpleResultSet implements ResultSet, ResultSetMetaData { ...@@ -1050,8 +1040,6 @@ public class SimpleResultSet implements ResultSet, ResultSetMetaData {
return null; return null;
} }
// ---- unsupported / result set ---------------------------------------------
/** /**
* INTERNAL * INTERNAL
*/ */
...@@ -1059,199 +1047,230 @@ public class SimpleResultSet implements ResultSet, ResultSetMetaData { ...@@ -1059,199 +1047,230 @@ public class SimpleResultSet implements ResultSet, ResultSetMetaData {
// nothing to do // nothing to do
} }
// ---- unsupported / result set ---------------------------------------------
/** /**
* INTERNAL * INTERNAL
*/ */
public void afterLast() throws SQLException { public void updateArray(int columnIndex, Array x) throws SQLException {
throw getUnsupportedException(); throw getUnsupportedException();
} }
/** /**
* INTERNAL * Returns the value as a java.sql.Array.
*
* @param columnLabel the column label
* @return the value
*/ */
public void cancelRowUpdates() throws SQLException { public Array getArray(String columnLabel) throws SQLException {
throw getUnsupportedException(); return getArray(findColumn(columnLabel));
} }
/** /**
* INTERNAL * INTERNAL
*/ */
public void updateNull(String columnLabel) throws SQLException { //## Java 1.6 ##
public void updateAsciiStream(int columnIndex, InputStream x)
throws SQLException {
throw getUnsupportedException(); throw getUnsupportedException();
} }
//*/
/** /**
* INTERNAL * INTERNAL
*/ */
public void deleteRow() throws SQLException { //## Java 1.6 ##
public void updateAsciiStream(String columnLabel, InputStream x)
throws SQLException {
throw getUnsupportedException(); throw getUnsupportedException();
} }
//*/
/** /**
* INTERNAL * INTERNAL
*/ */
public void insertRow() throws SQLException { public void updateAsciiStream(int columnIndex, InputStream x, int length) throws SQLException {
throw getUnsupportedException(); throw getUnsupportedException();
} }
/** /**
* INTERNAL * INTERNAL
*/ */
public void moveToCurrentRow() throws SQLException { public void updateAsciiStream(String columnLabel, InputStream x, int length) throws SQLException {
throw getUnsupportedException(); throw getUnsupportedException();
} }
/** /**
* INTERNAL * INTERNAL
*/ */
public void moveToInsertRow() throws SQLException { //## Java 1.6 ##
public void updateAsciiStream(int columnIndex, InputStream x, long length)
throws SQLException {
throw getUnsupportedException(); throw getUnsupportedException();
} }
//*/
/** /**
* INTERNAL * INTERNAL
*/ */
public void refreshRow() throws SQLException { //## Java 1.6 ##
public void updateAsciiStream(String columnLabel, InputStream x, long length)
throws SQLException {
throw getUnsupportedException(); throw getUnsupportedException();
} }
//*/
/** /**
* INTERNAL * INTERNAL
*/ */
public void updateRow() throws SQLException { public void updateBigDecimal(int columnIndex, BigDecimal x) throws SQLException {
throw getUnsupportedException(); throw getUnsupportedException();
} }
/** /**
* INTERNAL * INTERNAL
*/ */
public boolean first() throws SQLException { public void updateBigDecimal(String columnLabel, BigDecimal x) throws SQLException {
throw getUnsupportedException(); throw getUnsupportedException();
} }
/** /**
* INTERNAL * INTERNAL
*/ */
public boolean isAfterLast() throws SQLException { //## Java 1.6 ##
public void updateBinaryStream(int columnLabel, InputStream x)
throws SQLException {
throw getUnsupportedException(); throw getUnsupportedException();
} }
//*/
/** /**
* INTERNAL * INTERNAL
*/ */
public boolean isBeforeFirst() throws SQLException { //## Java 1.6 ##
public void updateBinaryStream(String columnLabel, InputStream x)
throws SQLException {
throw getUnsupportedException(); throw getUnsupportedException();
} }
//*/
/** /**
* INTERNAL * INTERNAL
*/ */
public boolean isFirst() throws SQLException { public void updateBinaryStream(int columnIndex, InputStream x, int length) throws SQLException {
throw getUnsupportedException(); throw getUnsupportedException();
} }
/** /**
* INTERNAL * INTERNAL
*/ */
public boolean isLast() throws SQLException { public void updateBinaryStream(String columnLabel, InputStream x, int length) throws SQLException {
throw getUnsupportedException(); throw getUnsupportedException();
} }
/** /**
* INTERNAL * INTERNAL
*/ */
public boolean last() throws SQLException { //## Java 1.6 ##
public void updateBinaryStream(int columnIndex, InputStream x, long length)
throws SQLException {
throw getUnsupportedException(); throw getUnsupportedException();
} }
//*/
/** /**
* INTERNAL * INTERNAL
*/ */
public boolean previous() throws SQLException { //## Java 1.6 ##
public void updateBinaryStream(String columnLabel, InputStream x, long length)
throws SQLException {
throw getUnsupportedException(); throw getUnsupportedException();
} }
//*/
/** /**
* INTERNAL * INTERNAL
*/ */
public boolean rowDeleted() throws SQLException { public void updateBlob(int columnIndex, Blob x) throws SQLException {
throw getUnsupportedException(); throw getUnsupportedException();
} }
/** /**
* INTERNAL * INTERNAL
*/ */
public boolean rowInserted() throws SQLException { public void updateBlob(String columnLabel, Blob x) throws SQLException {
throw getUnsupportedException(); throw getUnsupportedException();
} }
/** /**
* INTERNAL * INTERNAL
*/ */
public boolean rowUpdated() throws SQLException { public void updateBoolean(int columnIndex, boolean x) throws SQLException {
throw getUnsupportedException(); throw getUnsupportedException();
} }
/** /**
* INTERNAL * INTERNAL
*/ */
public void setFetchDirection(int direction) throws SQLException { public void updateBoolean(String columnLabel, boolean x) throws SQLException {
throw getUnsupportedException(); throw getUnsupportedException();
} }
// intest
/** /**
* INTERNAL * INTERNAL
*/ */
public void setFetchSize(int rows) throws SQLException { public void updateNull(int columnIndex) throws SQLException {
throw getUnsupportedException(); throw getUnsupportedException();
} }
/** /**
* INTERNAL * INTERNAL
*/ */
public void updateNull(int columnIndex) throws SQLException { public void updateNull(String columnLabel) throws SQLException {
throw getUnsupportedException(); throw getUnsupportedException();
} }
/** /**
* INTERNAL * INTERNAL
*/ */
public boolean absolute(int row) throws SQLException { public void updateByte(int columnIndex, byte x) throws SQLException {
throw getUnsupportedException(); throw getUnsupportedException();
} }
/** /**
* INTERNAL * INTERNAL
*/ */
public boolean relative(int offset) throws SQLException { public void updateByte(String columnLabel, byte x) throws SQLException {
throw getUnsupportedException(); throw getUnsupportedException();
} }
/** /**
* INTERNAL * INTERNAL
*/ */
public void updateByte(int columnIndex, byte x) throws SQLException { public void updateShort(int columnIndex, short x) throws SQLException {
throw getUnsupportedException(); throw getUnsupportedException();
} }
/** /**
* INTERNAL * INTERNAL
*/ */
public void updateDouble(int columnIndex, double x) throws SQLException { public void updateShort(String columnLabel, short x) throws SQLException {
throw getUnsupportedException(); throw getUnsupportedException();
} }
/** /**
* INTERNAL * INTERNAL
*/ */
public void updateFloat(int columnIndex, float x) throws SQLException { public void updateInt(int columnIndex, int x) throws SQLException {
throw getUnsupportedException(); throw getUnsupportedException();
} }
/** /**
* INTERNAL * INTERNAL
*/ */
public void updateInt(int columnIndex, int x) throws SQLException { public void updateInt(String columnLabel, int x) throws SQLException {
throw getUnsupportedException(); throw getUnsupportedException();
} }
...@@ -1265,371 +1284,717 @@ public class SimpleResultSet implements ResultSet, ResultSetMetaData { ...@@ -1265,371 +1284,717 @@ public class SimpleResultSet implements ResultSet, ResultSetMetaData {
/** /**
* INTERNAL * INTERNAL
*/ */
public void updateShort(int columnIndex, short x) throws SQLException { public void updateLong(String columnLabel, long x) throws SQLException {
throw getUnsupportedException(); throw getUnsupportedException();
} }
/** /**
* INTERNAL * INTERNAL
*/ */
public void updateBoolean(int columnIndex, boolean x) throws SQLException { public void updateFloat(int columnIndex, float x) throws SQLException {
throw getUnsupportedException(); throw getUnsupportedException();
} }
/** /**
* INTERNAL * INTERNAL
*/ */
public void updateBytes(int columnIndex, byte[] x) throws SQLException { public void updateFloat(String columnLabel, float x) throws SQLException {
throw getUnsupportedException(); throw getUnsupportedException();
} }
/** /**
* INTERNAL * INTERNAL
*/ */
public InputStream getAsciiStream(int columnIndex) { public void updateDouble(int columnIndex, double x) throws SQLException {
return null; throw getUnsupportedException();
} }
/** /**
* @deprecated INTERNAL * INTERNAL
*/ */
public InputStream getUnicodeStream(int columnIndex) { public void updateDouble(String columnLabel, double x) throws SQLException {
return null; throw getUnsupportedException();
} }
/**
* INTERNAL
*/
public void updateString(int columnIndex, String x) throws SQLException {
throw getUnsupportedException();
}
/** /**
* INTERNAL * INTERNAL
*/ */
public void updateAsciiStream(int columnIndex, InputStream x, int length) throws SQLException { public void updateString(String columnLabel, String x) throws SQLException {
throw getUnsupportedException(); throw getUnsupportedException();
} }
/** /**
* INTERNAL * INTERNAL
*/ */
public void updateBinaryStream(int columnIndex, InputStream x, int length) throws SQLException { public void updateDate(int columnIndex, Date x) throws SQLException {
throw getUnsupportedException(); throw getUnsupportedException();
} }
/** /**
* INTERNAL * INTERNAL
*/ */
public void updateCharacterStream(int columnIndex, Reader x, int length) throws SQLException { public void updateDate(String columnLabel, Date x) throws SQLException {
throw getUnsupportedException(); throw getUnsupportedException();
} }
/** /**
* INTERNAL * INTERNAL
*/ */
public void updateObject(int columnIndex, Object x) throws SQLException { public void updateTime(int columnIndex, Time x) throws SQLException {
throw getUnsupportedException(); throw getUnsupportedException();
} }
/** /**
* INTERNAL * INTERNAL
*/ */
public void updateObject(int columnIndex, Object x, int scale) throws SQLException { public void updateTime(String columnLabel, Time x) throws SQLException {
throw getUnsupportedException(); throw getUnsupportedException();
} }
/** /**
* INTERNAL * INTERNAL
*/ */
public String getCursorName() throws SQLException { public void updateTimestamp(int columnIndex, Timestamp x) throws SQLException {
throw getUnsupportedException(); throw getUnsupportedException();
} }
/** /**
* INTERNAL * INTERNAL
*/ */
public void updateString(int columnIndex, String x) throws SQLException { public void updateTimestamp(String columnLabel, Timestamp x) throws SQLException {
throw getUnsupportedException(); throw getUnsupportedException();
} }
/** /**
* INTERNAL * INTERNAL
*/ */
public void updateByte(String columnLabel, byte x) throws SQLException { public void updateObject(int columnIndex, Object x) throws SQLException {
throw getUnsupportedException(); throw getUnsupportedException();
} }
/** /**
* INTERNAL * INTERNAL
*/ */
public void updateDouble(String columnLabel, double x) throws SQLException { public void updateObject(String columnLabel, Object x) throws SQLException {
throw getUnsupportedException(); throw getUnsupportedException();
} }
/** /**
* INTERNAL * INTERNAL
*/ */
public void updateFloat(String columnLabel, float x) throws SQLException { public void updateObject(int columnIndex, Object x, int scale) throws SQLException {
throw getUnsupportedException(); throw getUnsupportedException();
} }
/** /**
* INTERNAL * INTERNAL
*/ */
public void updateInt(String columnLabel, int x) throws SQLException { public void updateObject(String columnLabel, Object x, int scale) throws SQLException {
throw getUnsupportedException(); throw getUnsupportedException();
} }
/** /**
* INTERNAL * INTERNAL
*/ */
public void updateLong(String columnLabel, long x) throws SQLException { public void updateBytes(int columnIndex, byte[] x) throws SQLException {
throw getUnsupportedException(); throw getUnsupportedException();
} }
/** /**
* INTERNAL * INTERNAL
*/ */
public void updateShort(String columnLabel, short x) throws SQLException { public void updateBytes(String columnLabel, byte[] x) throws SQLException {
throw getUnsupportedException(); throw getUnsupportedException();
} }
/** /**
* INTERNAL * INTERNAL
*/ */
public void updateBoolean(String columnLabel, boolean x) throws SQLException { public void updateCharacterStream(int columnIndex, Reader x, int length) throws SQLException {
throw getUnsupportedException(); throw getUnsupportedException();
} }
/**
* INTERNAL
*/
public URL getURL(int columnIndex) throws SQLException {
throw getUnsupportedException();
}
/**
* INTERNAL
*/
public void updateClob(int columnIndex, Clob x) throws SQLException {
throw getUnsupportedException();
}
/**
* INTERNAL
*/
public void updateRef(int columnIndex, Ref x) throws SQLException {
throw getUnsupportedException();
}
/**
* INTERNAL
*/
public void updateRef(String columnLabel, Ref x) throws SQLException {
throw getUnsupportedException();
}
/**
* INTERNAL
*/
public void updateCharacterStream(String columnLabel, Reader reader, int length) throws SQLException {
throw getUnsupportedException();
}
/**
* INTERNAL
*/
public void updateArray(String columnLabel, Array x) throws SQLException {
throw getUnsupportedException();
}
/**
* INTERNAL
*/
public void updateClob(String columnLabel, Clob x) throws SQLException {
throw getUnsupportedException();
}
/**
* INTERNAL
*/
//## Java 1.6 ##
public void updateRowId(int columnIndex, RowId x) throws SQLException {
throw getUnsupportedException();
}
//*/
/**
* INTERNAL
*/
//## Java 1.6 ##
public void updateRowId(String columnLabel, RowId x) throws SQLException {
throw getUnsupportedException();
}
//*/
/**
* INTERNAL
*/
//## Java 1.6 ##
public void updateNString(int columnIndex, String nString)
throws SQLException {
throw getUnsupportedException();
}
//*/
/**
* INTERNAL
*/
//## Java 1.6 ##
public void updateNString(String columnLabel, String nString)
throws SQLException {
throw getUnsupportedException();
}
//*/
/**
* INTERNAL
*/
//## Java 1.6 ##
public void updateNClob(int columnIndex, NClob nClob)
throws SQLException {
throw getUnsupportedException();
}
//*/
/**
* INTERNAL
*/
//## Java 1.6 ##
public void updateNClob(String columnLabel, NClob nClob)
throws SQLException {
throw getUnsupportedException();
}
//*/
/**
* INTERNAL
*/
//## Java 1.6 ##
public void updateSQLXML(int columnIndex, SQLXML xmlObject)
throws SQLException {
throw getUnsupportedException();
}
//*/
/**
* INTERNAL
*/
//## Java 1.6 ##
public void updateSQLXML(String columnLabel, SQLXML xmlObject)
throws SQLException {
throw getUnsupportedException();
}
//*/
/**
* INTERNAL
*/
//## Java 1.6 ##
public void updateBlob(int columnIndex, InputStream x) throws SQLException {
throw getUnsupportedException();
}
//*/
/**
* INTERNAL
*/
//## Java 1.6 ##
public void updateBlob(String columnLabel, InputStream x) throws SQLException {
throw getUnsupportedException();
}
//*/
/**
* INTERNAL
*/
//## Java 1.6 ##
public void updateBlob(int columnIndex, InputStream x, long length)
throws SQLException {
throw getUnsupportedException();
}
//*/
/**
* INTERNAL
*/
//## Java 1.6 ##
public void updateBlob(String columnLabel, InputStream x, long length)
throws SQLException {
throw getUnsupportedException();
}
//*/
/**
* INTERNAL
*/
//## Java 1.6 ##
public void updateCharacterStream(int columnIndex, Reader x)
throws SQLException {
throw getUnsupportedException();
}
//*/
/**
* INTERNAL
*/
//## Java 1.6 ##
public void updateCharacterStream(String columnLabel, Reader x)
throws SQLException {
throw getUnsupportedException();
}
//*/
/**
* INTERNAL
*/
//## Java 1.6 ##
public void updateCharacterStream(int columnIndex, Reader x, long length)
throws SQLException {
throw getUnsupportedException();
}
//*/
/**
* INTERNAL
*/
//## Java 1.6 ##
public void updateCharacterStream(String columnLabel, Reader x, long length)
throws SQLException {
throw getUnsupportedException();
}
//*/
/**
* INTERNAL
*/
//## Java 1.6 ##
public void updateClob(int columnIndex, Reader x) throws SQLException {
throw getUnsupportedException();
}
//*/
/**
* INTERNAL
*/
//## Java 1.6 ##
public void updateClob(String columnLabel, Reader x) throws SQLException {
throw getUnsupportedException();
}
//*/
/**
* INTERNAL
*/
//## Java 1.6 ##
public void updateClob(int columnIndex, Reader x, long length)
throws SQLException {
throw getUnsupportedException();
}
//*/
/**
* INTERNAL
*/
//## Java 1.6 ##
public void updateClob(String columnLabel, Reader x, long length)
throws SQLException {
throw getUnsupportedException();
}
//*/
/**
* INTERNAL
*/
//## Java 1.6 ##
public void updateNCharacterStream(int columnIndex, Reader x)
throws SQLException {
throw getUnsupportedException();
}
//*/
/**
* INTERNAL
*/
//## Java 1.6 ##
public void updateNCharacterStream(String columnLabel, Reader x)
throws SQLException {
throw getUnsupportedException();
}
//*/
/**
* INTERNAL
*/
//## Java 1.6 ##
public void updateNCharacterStream(int columnIndex, Reader x, long length)
throws SQLException {
throw getUnsupportedException();
}
//*/
/**
* INTERNAL
*/
//## Java 1.6 ##
public void updateNCharacterStream(String columnLabel, Reader x, long length)
throws SQLException {
throw getUnsupportedException();
}
//*/
/**
* INTERNAL
*/
//## Java 1.6 ##
public void updateNClob(int columnIndex, Reader x) throws SQLException {
throw getUnsupportedException();
}
//*/
/**
* INTERNAL
*/
//## Java 1.6 ##
public void updateNClob(String columnLabel, Reader x) throws SQLException {
throw getUnsupportedException();
}
//*/
/**
* INTERNAL
*/
//## Java 1.6 ##
public void updateNClob(int columnIndex, Reader x, long length)
throws SQLException {
throw getUnsupportedException();
}
//*/
/**
* INTERNAL
*/
//## Java 1.6 ##
public void updateNClob(String columnLabel, Reader x, long length)
throws SQLException {
throw getUnsupportedException();
}
//*/
/**
* INTERNAL
*/
public Time getTime(int columnIndex, Calendar cal) throws SQLException {
throw getUnsupportedException();
}
/** /**
* INTERNAL * INTERNAL
*/ */
public void updateBytes(String columnLabel, byte[] x) throws SQLException { public void afterLast() throws SQLException {
throw getUnsupportedException(); throw getUnsupportedException();
} }
/** /**
* @deprecated INTERNAL * INTERNAL
*/ */
public BigDecimal getBigDecimal(int columnIndex, int scale) throws SQLException { public void cancelRowUpdates() throws SQLException {
throw getUnsupportedException(); throw getUnsupportedException();
} }
/** /**
* INTERNAL * INTERNAL
*/ */
public void updateBigDecimal(int columnIndex, BigDecimal x) throws SQLException { public void deleteRow() throws SQLException {
throw getUnsupportedException(); throw getUnsupportedException();
} }
/** /**
* INTERNAL * INTERNAL
*/ */
public URL getURL(int columnIndex) throws SQLException { public void insertRow() throws SQLException {
throw getUnsupportedException(); throw getUnsupportedException();
} }
/** /**
* INTERNAL * INTERNAL
*/ */
public void updateArray(int columnIndex, Array x) throws SQLException { public void moveToCurrentRow() throws SQLException {
throw getUnsupportedException(); throw getUnsupportedException();
} }
/** /**
* INTERNAL * INTERNAL
*/ */
public void updateBlob(int columnIndex, Blob x) throws SQLException { public void moveToInsertRow() throws SQLException {
throw getUnsupportedException(); throw getUnsupportedException();
} }
/** /**
* INTERNAL * INTERNAL
*/ */
public void updateClob(int columnIndex, Clob x) throws SQLException { public void refreshRow() throws SQLException {
throw getUnsupportedException(); throw getUnsupportedException();
} }
/** /**
* INTERNAL * INTERNAL
*/ */
public void updateDate(int columnIndex, Date x) throws SQLException { public void updateRow() throws SQLException {
throw getUnsupportedException(); throw getUnsupportedException();
} }
/** /**
* INTERNAL * INTERNAL
*/ */
public Ref getRef(int columnIndex) throws SQLException { public boolean first() throws SQLException {
throw getUnsupportedException(); throw getUnsupportedException();
} }
/** /**
* INTERNAL * INTERNAL
*/ */
public void updateRef(int columnIndex, Ref x) throws SQLException { public boolean isAfterLast() throws SQLException {
throw getUnsupportedException(); throw getUnsupportedException();
} }
/** /**
* INTERNAL * INTERNAL
*/ */
public void updateTime(int columnIndex, Time x) throws SQLException { public boolean isBeforeFirst() throws SQLException {
throw getUnsupportedException(); throw getUnsupportedException();
} }
/** /**
* INTERNAL * INTERNAL
*/ */
public void updateTimestamp(int columnIndex, Timestamp x) throws SQLException { public boolean isFirst() throws SQLException {
throw getUnsupportedException(); throw getUnsupportedException();
} }
/** /**
* INTERNAL * INTERNAL
*/ */
public InputStream getAsciiStream(String columnLabel) throws SQLException { public boolean isLast() throws SQLException {
throw getUnsupportedException(); throw getUnsupportedException();
} }
/** /**
* @deprecated INTERNAL * INTERNAL
*/ */
public InputStream getUnicodeStream(String columnLabel) throws SQLException { public boolean last() throws SQLException {
throw getUnsupportedException(); throw getUnsupportedException();
} }
/** /**
* INTERNAL * INTERNAL
*/ */
public void updateAsciiStream(String columnLabel, InputStream x, int length) throws SQLException { public boolean previous() throws SQLException {
throw getUnsupportedException(); throw getUnsupportedException();
} }
/** /**
* INTERNAL * INTERNAL
*/ */
public void updateBinaryStream(String columnLabel, InputStream x, int length) throws SQLException { public boolean rowDeleted() throws SQLException {
throw getUnsupportedException(); throw getUnsupportedException();
} }
/** /**
* INTERNAL * INTERNAL
*/ */
public void updateCharacterStream(String columnLabel, Reader reader, int length) throws SQLException { public boolean rowInserted() throws SQLException {
throw getUnsupportedException(); throw getUnsupportedException();
} }
/** /**
* INTERNAL * INTERNAL
*/ */
public void updateObject(String columnLabel, Object x) throws SQLException { public boolean rowUpdated() throws SQLException {
throw getUnsupportedException(); throw getUnsupportedException();
} }
/** /**
* INTERNAL * INTERNAL
*/ */
public void updateObject(String columnLabel, Object x, int scale) throws SQLException { public void setFetchDirection(int direction) throws SQLException {
throw getUnsupportedException(); throw getUnsupportedException();
} }
/** /**
* INTERNAL * INTERNAL
*/ */
public Object getObject(int columnIndex, Map<String, Class<?>> map) throws SQLException { public void setFetchSize(int rows) throws SQLException {
throw getUnsupportedException(); throw getUnsupportedException();
} }
/** /**
* INTERNAL * INTERNAL
*/ */
public void updateString(String columnLabel, String x) throws SQLException { public boolean absolute(int row) throws SQLException {
throw getUnsupportedException(); throw getUnsupportedException();
} }
/** /**
* @deprecated INTERNAL * INTERNAL
*/ */
public BigDecimal getBigDecimal(String columnLabel, int scale) throws SQLException { public boolean relative(int offset) throws SQLException {
throw getUnsupportedException(); throw getUnsupportedException();
} }
/** /**
* INTERNAL * INTERNAL
*/ */
public void updateBigDecimal(String columnLabel, BigDecimal x) throws SQLException { public InputStream getAsciiStream(int columnIndex) {
throw getUnsupportedException(); return null;
} }
/** /**
* INTERNAL * @deprecated INTERNAL
*/ */
public URL getURL(String columnLabel) throws SQLException { public InputStream getUnicodeStream(int columnIndex) {
throw getUnsupportedException(); return null;
} }
/** /**
* INTERNAL * INTERNAL
*/ */
public void updateArray(String columnLabel, Array x) throws SQLException { public String getCursorName() throws SQLException {
throw getUnsupportedException(); throw getUnsupportedException();
} }
/** /**
* INTERNAL /**
* @deprecated INTERNAL
*/ */
public void updateBlob(String columnLabel, Blob x) throws SQLException { public BigDecimal getBigDecimal(int columnIndex, int scale) throws SQLException {
throw getUnsupportedException(); throw getUnsupportedException();
} }
/** /**
* INTERNAL * INTERNAL
*/ */
public void updateClob(String columnLabel, Clob x) throws SQLException { public Ref getRef(int columnIndex) throws SQLException {
throw getUnsupportedException(); throw getUnsupportedException();
} }
/** /**
* INTERNAL * INTERNAL
*/ */
public void updateDate(String columnLabel, Date x) throws SQLException { public InputStream getAsciiStream(String columnLabel) throws SQLException {
throw getUnsupportedException(); throw getUnsupportedException();
} }
/** /**
* INTERNAL * @deprecated INTERNAL
*/ */
public Date getDate(int columnIndex, Calendar cal) throws SQLException { public InputStream getUnicodeStream(String columnLabel) throws SQLException {
throw getUnsupportedException(); throw getUnsupportedException();
} }
/** /**
* INTERNAL * INTERNAL
*/ */
public Ref getRef(String colName) throws SQLException { public Object getObject(int columnIndex, Map<String, Class<?>> map) throws SQLException {
throw getUnsupportedException(); throw getUnsupportedException();
} }
/** /**
* INTERNAL * @deprecated INTERNAL
*/ */
public void updateRef(String columnLabel, Ref x) throws SQLException { public BigDecimal getBigDecimal(String columnLabel, int scale) throws SQLException {
throw getUnsupportedException(); throw getUnsupportedException();
} }
/** /**
* INTERNAL * INTERNAL
*/ */
public void updateTime(String columnLabel, Time x) throws SQLException { public URL getURL(String columnLabel) throws SQLException {
throw getUnsupportedException(); throw getUnsupportedException();
} }
/** /**
* INTERNAL * INTERNAL
*/ */
public Time getTime(int columnIndex, Calendar cal) throws SQLException { public Date getDate(int columnIndex, Calendar cal) throws SQLException {
throw getUnsupportedException(); throw getUnsupportedException();
} }
/** /**
* INTERNAL * INTERNAL
*/ */
public void updateTimestamp(String columnLabel, Timestamp x) throws SQLException { public Ref getRef(String colName) throws SQLException {
throw getUnsupportedException(); throw getUnsupportedException();
} }
...@@ -1717,24 +2082,6 @@ public class SimpleResultSet implements ResultSet, ResultSetMetaData { ...@@ -1717,24 +2082,6 @@ public class SimpleResultSet implements ResultSet, ResultSetMetaData {
} }
//*/ //*/
/**
* INTERNAL
*/
//## Java 1.6 ##
public void updateRowId(int columnIndex, RowId x) throws SQLException {
throw getUnsupportedException();
}
//*/
/**
* INTERNAL
*/
//## Java 1.6 ##
public void updateRowId(String columnLabel, RowId x) throws SQLException {
throw getUnsupportedException();
}
//*/
/** /**
* Returns the current result set holdability. * Returns the current result set holdability.
* *
...@@ -1753,46 +2100,6 @@ public class SimpleResultSet implements ResultSet, ResultSetMetaData { ...@@ -1753,46 +2100,6 @@ public class SimpleResultSet implements ResultSet, ResultSetMetaData {
return rows == null; return rows == null;
} }
/**
* INTERNAL
*/
//## Java 1.6 ##
public void updateNString(int columnIndex, String nString)
throws SQLException {
throw getUnsupportedException();
}
//*/
/**
* INTERNAL
*/
//## Java 1.6 ##
public void updateNString(String columnLabel, String nString)
throws SQLException {
throw getUnsupportedException();
}
//*/
/**
* INTERNAL
*/
//## Java 1.6 ##
public void updateNClob(int columnIndex, NClob nClob)
throws SQLException {
throw getUnsupportedException();
}
//*/
/**
* INTERNAL
*/
//## Java 1.6 ##
public void updateNClob(String columnLabel, NClob nClob)
throws SQLException {
throw getUnsupportedException();
}
//*/
/** /**
* INTERNAL * INTERNAL
*/ */
...@@ -1829,26 +2136,6 @@ public class SimpleResultSet implements ResultSet, ResultSetMetaData { ...@@ -1829,26 +2136,6 @@ public class SimpleResultSet implements ResultSet, ResultSetMetaData {
} }
//*/ //*/
/**
* INTERNAL
*/
//## Java 1.6 ##
public void updateSQLXML(int columnIndex, SQLXML xmlObject)
throws SQLException {
throw getUnsupportedException();
}
//*/
/**
* INTERNAL
*/
//## Java 1.6 ##
public void updateSQLXML(String columnLabel, SQLXML xmlObject)
throws SQLException {
throw getUnsupportedException();
}
//*/
/** /**
* INTERNAL * INTERNAL
*/ */
...@@ -1904,280 +2191,6 @@ public class SimpleResultSet implements ResultSet, ResultSetMetaData { ...@@ -1904,280 +2191,6 @@ public class SimpleResultSet implements ResultSet, ResultSetMetaData {
} }
//*/ //*/
/**
* INTERNAL
*/
//## Java 1.6 ##
public void updateAsciiStream(int columnIndex, InputStream x)
throws SQLException {
throw getUnsupportedException();
}
//*/
/**
* INTERNAL
*/
//## Java 1.6 ##
public void updateAsciiStream(String columnLabel, InputStream x)
throws SQLException {
throw getUnsupportedException();
}
//*/
/**
* INTERNAL
*/
//## Java 1.6 ##
public void updateAsciiStream(int columnIndex, InputStream x, long length)
throws SQLException {
throw getUnsupportedException();
}
//*/
/**
* INTERNAL
*/
//## Java 1.6 ##
public void updateAsciiStream(String columnLabel, InputStream x, long length)
throws SQLException {
throw getUnsupportedException();
}
//*/
/**
* INTERNAL
*/
//## Java 1.6 ##
public void updateBinaryStream(int columnLabel, InputStream x)
throws SQLException {
throw getUnsupportedException();
}
//*/
/**
* INTERNAL
*/
//## Java 1.6 ##
public void updateBinaryStream(String columnLabel, InputStream x)
throws SQLException {
throw getUnsupportedException();
}
//*/
/**
* INTERNAL
*/
//## Java 1.6 ##
public void updateBinaryStream(int columnIndex, InputStream x, long length)
throws SQLException {
throw getUnsupportedException();
}
//*/
/**
* INTERNAL
*/
//## Java 1.6 ##
public void updateBinaryStream(String columnLabel, InputStream x, long length)
throws SQLException {
throw getUnsupportedException();
}
//*/
/**
* INTERNAL
*/
//## Java 1.6 ##
public void updateBlob(int columnIndex, InputStream x) throws SQLException {
throw getUnsupportedException();
}
//*/
/**
* INTERNAL
*/
//## Java 1.6 ##
public void updateBlob(String columnLabel, InputStream x) throws SQLException {
throw getUnsupportedException();
}
//*/
/**
* INTERNAL
*/
//## Java 1.6 ##
public void updateBlob(int columnIndex, InputStream x, long length)
throws SQLException {
throw getUnsupportedException();
}
//*/
/**
* INTERNAL
*/
//## Java 1.6 ##
public void updateBlob(String columnLabel, InputStream x, long length)
throws SQLException {
throw getUnsupportedException();
}
//*/
/**
* INTERNAL
*/
//## Java 1.6 ##
public void updateCharacterStream(int columnIndex, Reader x)
throws SQLException {
throw getUnsupportedException();
}
//*/
/**
* INTERNAL
*/
//## Java 1.6 ##
public void updateCharacterStream(String columnLabel, Reader x)
throws SQLException {
throw getUnsupportedException();
}
//*/
/**
* INTERNAL
*/
//## Java 1.6 ##
public void updateCharacterStream(int columnIndex, Reader x, long length)
throws SQLException {
throw getUnsupportedException();
}
//*/
/**
* INTERNAL
*/
//## Java 1.6 ##
public void updateCharacterStream(String columnLabel, Reader x, long length)
throws SQLException {
throw getUnsupportedException();
}
//*/
/**
* INTERNAL
*/
//## Java 1.6 ##
public void updateClob(int columnIndex, Reader x) throws SQLException {
throw getUnsupportedException();
}
//*/
/**
* INTERNAL
*/
//## Java 1.6 ##
public void updateClob(String columnLabel, Reader x) throws SQLException {
throw getUnsupportedException();
}
//*/
/**
* INTERNAL
*/
//## Java 1.6 ##
public void updateClob(int columnIndex, Reader x, long length)
throws SQLException {
throw getUnsupportedException();
}
//*/
/**
* INTERNAL
*/
//## Java 1.6 ##
public void updateClob(String columnLabel, Reader x, long length)
throws SQLException {
throw getUnsupportedException();
}
//*/
/**
* INTERNAL
*/
//## Java 1.6 ##
public void updateNCharacterStream(int columnIndex, Reader x)
throws SQLException {
throw getUnsupportedException();
}
//*/
/**
* INTERNAL
*/
//## Java 1.6 ##
public void updateNCharacterStream(String columnLabel, Reader x)
throws SQLException {
throw getUnsupportedException();
}
//*/
/**
* INTERNAL
*/
//## Java 1.6 ##
public void updateNCharacterStream(int columnIndex, Reader x, long length)
throws SQLException {
throw getUnsupportedException();
}
//*/
/**
* INTERNAL
*/
//## Java 1.6 ##
public void updateNCharacterStream(String columnLabel, Reader x, long length)
throws SQLException {
throw getUnsupportedException();
}
//*/
/**
* INTERNAL
*/
//## Java 1.6 ##
public void updateNClob(int columnIndex, Reader x) throws SQLException {
throw getUnsupportedException();
}
//*/
/**
* INTERNAL
*/
//## Java 1.6 ##
public void updateNClob(String columnLabel, Reader x) throws SQLException {
throw getUnsupportedException();
}
//*/
/**
* INTERNAL
*/
//## Java 1.6 ##
public void updateNClob(int columnIndex, Reader x, long length)
throws SQLException {
throw getUnsupportedException();
}
//*/
/**
* INTERNAL
*/
//## Java 1.6 ##
public void updateNClob(String columnLabel, Reader x, long length)
throws SQLException {
throw getUnsupportedException();
}
//*/
/** /**
* INTERNAL * INTERNAL
* *
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论