com.interface21.jdbc.core
Class ReadOnlyResultSet

java.lang.Object
  |
  +--com.interface21.jdbc.core.ReadOnlyResultSet
All Implemented Interfaces:
java.sql.ResultSet

public class ReadOnlyResultSet
extends java.lang.Object
implements java.sql.ResultSet

A class that implements java.sql.ResultSet which is used in the JdbcTemplateclass. This is the ResultSet instance which is passed as a parameter to the extract() callback method of the ManualExtractionSqlQueryWithParameters and ManualExtractionSqlQuery classes. The objective is to be able to control that the user does not break the extraction mechanism by calling methods that disturb for instance the positioning of the cursor, such as next() or first(), or any other setter method. If such a call is made anyway, an InvalidDataAccessApiUsageException exception is thrown.

Overall, the class acts as a proxy to the actual ResultSet and filters out faulty calls to unauthorised methods behind the scenes. For that very reason, the wrapped methods are not documented here. Please refer to the official ResultSet Javadoc for more information.

Author:
Yann Caroff

Fields inherited from interface java.sql.ResultSet
CONCUR_READ_ONLY, CONCUR_UPDATABLE, FETCH_FORWARD, FETCH_REVERSE, FETCH_UNKNOWN, TYPE_FORWARD_ONLY, TYPE_SCROLL_INSENSITIVE, TYPE_SCROLL_SENSITIVE
 
Constructor Summary
ReadOnlyResultSet(java.sql.ResultSet rs)
          Constructor.
 
Method Summary
 boolean absolute(int row)
          Not authorised.
 void afterLast()
          Not authorised.
 void beforeFirst()
          Not authorised.
 void cancelRowUpdates()
          Not authorised.
 void clearWarnings()
          Not authorised.
 void close()
          Not authorised.
 void deleteRow()
          Not authorised.
 int findColumn(java.lang.String columnName)
          Authorised.
 boolean first()
          Not authorised.
 java.sql.Array getArray(int columnIndex)
          Authorised.
 java.sql.Array getArray(java.lang.String columnName)
          Authorised.
 java.io.InputStream getAsciiStream(int columnIndex)
          Authorised.
 java.io.InputStream getAsciiStream(java.lang.String columnName)
          Authorised.
 java.math.BigDecimal getBigDecimal(int columnIndex)
          Authorised.
 java.math.BigDecimal getBigDecimal(int columnIndex, int scale)
          Authorised.
 java.math.BigDecimal getBigDecimal(java.lang.String columnName)
          Authorised.
 java.math.BigDecimal getBigDecimal(java.lang.String columnName, int scale)
          Authorised.
 java.io.InputStream getBinaryStream(int columnIndex)
          Authorised.
 java.io.InputStream getBinaryStream(java.lang.String columnName)
          Authorised.
 java.sql.Blob getBlob(int columnIndex)
          Authorised.
 java.sql.Blob getBlob(java.lang.String columnName)
          Authorised.
 boolean getBoolean(int columnIndex)
          Authorised.
 boolean getBoolean(java.lang.String columnName)
          Authorised.
 byte getByte(int columnIndex)
          Authorised.
 byte getByte(java.lang.String columnName)
          Authorised.
 byte[] getBytes(int columnIndex)
          Authorised.
 byte[] getBytes(java.lang.String columnName)
          Authorised.
 java.io.Reader getCharacterStream(int columnIndex)
          Authorised.
 java.io.Reader getCharacterStream(java.lang.String columnName)
          Authorised.
 java.sql.Clob getClob(int columnIndex)
          Authorised.
 java.sql.Clob getClob(java.lang.String columnName)
          Authorised.
 int getConcurrency()
          Authorised.
 java.lang.String getCursorName()
          Not authorised.
 java.sql.Date getDate(int columnIndex)
          Authorised.
 java.sql.Date getDate(int columnIndex, java.util.Calendar cal)
          Authorised.
 java.sql.Date getDate(java.lang.String columnName)
          Authorised.
 java.sql.Date getDate(java.lang.String columnName, java.util.Calendar cal)
          Authorised.
 double getDouble(int columnIndex)
          Authorised.
 double getDouble(java.lang.String columnName)
          Authorised.
 int getFetchDirection()
          Authorised.
 int getFetchSize()
          Authorised.
 float getFloat(int columnIndex)
          Authorised.
 float getFloat(java.lang.String columnName)
          Authorised.
 int getInt(int columnIndex)
          Authorised.
 int getInt(java.lang.String columnName)
          Authorised.
 long getLong(int columnIndex)
           
 long getLong(java.lang.String columnName)
          Authorised.
 java.sql.ResultSetMetaData getMetaData()
          Authorised.
 java.lang.Object getObject(int columnIndex)
          Authorised.
 java.lang.Object getObject(int columnIndex, java.util.Map map)
          Authorised.
 java.lang.Object getObject(java.lang.String columnName)
          Authorised.
 java.lang.Object getObject(java.lang.String columnName, java.util.Map map)
          Authorised.
 java.sql.Ref getRef(int columnIndex)
          Authorised.
 java.sql.Ref getRef(java.lang.String columnName)
          Authorised.
 int getRow()
          Authorised.
 short getShort(int columnIndex)
          Authorised.
 short getShort(java.lang.String columnName)
          Authorised.
 java.sql.Statement getStatement()
          Authorised.
 java.lang.String getString(int columnIndex)
          Authorised.
 java.lang.String getString(java.lang.String columnName)
          Authorised.
 java.sql.Time getTime(int columnIndex)
          Authorised.
 java.sql.Time getTime(int columnIndex, java.util.Calendar cal)
          Authorised.
 java.sql.Time getTime(java.lang.String columnName)
          Authorised.
 java.sql.Time getTime(java.lang.String columnName, java.util.Calendar cal)
          Authorised.
 java.sql.Timestamp getTimestamp(int columnIndex)
          Authorised.
 java.sql.Timestamp getTimestamp(int columnIndex, java.util.Calendar cal)
          Authorised.
 java.sql.Timestamp getTimestamp(java.lang.String columnName)
          Authorised.
 java.sql.Timestamp getTimestamp(java.lang.String columnName, java.util.Calendar cal)
          Authorised.
 int getType()
          Authorised.
 java.io.InputStream getUnicodeStream(int columnIndex)
          Authorised.
 java.io.InputStream getUnicodeStream(java.lang.String columnName)
          Authorised.
 java.net.URL getURL(int columnIndex)
           
 java.net.URL getURL(java.lang.String columnName)
           
 java.sql.SQLWarning getWarnings()
          Not authorised.
 void insertRow()
          Not authorised.
 boolean isAfterLast()
          Authorised.
 boolean isBeforeFirst()
          Authorised.
 boolean isFirst()
          Authorised.
 boolean isLast()
          Authorised.
 boolean last()
          Not authorised.
 void moveToCurrentRow()
          Not authorised.
 void moveToInsertRow()
          Not authorised.
 boolean next()
          Not authorised.
 boolean previous()
          Not authorised.
 void refreshRow()
          Not authorised.
 boolean relative(int rows)
          Not authorised.
 boolean rowDeleted()
          Authorised.
 boolean rowInserted()
          Authorised.
 boolean rowUpdated()
          Authorised.
 void setFetchDirection(int direction)
          Not authorised.
 void setFetchSize(int rows)
          Not authorised.
 void updateArray(int columnIndex, java.sql.Array x)
           
 void updateArray(java.lang.String columnName, java.sql.Array x)
           
 void updateAsciiStream(int columnIndex, java.io.InputStream x, int length)
          Not authorised.
 void updateAsciiStream(java.lang.String columnName, java.io.InputStream x, int length)
          Not authorised.
 void updateBigDecimal(int columnIndex, java.math.BigDecimal x)
          Not authorised.
 void updateBigDecimal(java.lang.String columnName, java.math.BigDecimal x)
          Not authorised.
 void updateBinaryStream(int columnIndex, java.io.InputStream x, int length)
          Not authorised.
 void updateBinaryStream(java.lang.String columnName, java.io.InputStream x, int length)
          Not authorised.
 void updateBlob(int columnIndex, java.sql.Blob x)
           
 void updateBlob(java.lang.String columnName, java.sql.Blob x)
           
 void updateBoolean(int columnIndex, boolean x)
          Not authorised.
 void updateBoolean(java.lang.String columnName, boolean x)
          Not authorised.
 void updateByte(int columnIndex, byte x)
          Not authorised.
 void updateByte(java.lang.String columnName, byte x)
          Not authorised.
 void updateBytes(int columnIndex, byte[] x)
          Not authorised.
 void updateBytes(java.lang.String columnName, byte[] x)
          Not authorised.
 void updateCharacterStream(int columnIndex, java.io.Reader x, int length)
          Not authorised.
 void updateCharacterStream(java.lang.String columnName, java.io.Reader reader, int length)
          Not authorised.
 void updateClob(int columnIndex, java.sql.Clob x)
           
 void updateClob(java.lang.String columnName, java.sql.Clob x)
           
 void updateDate(int columnIndex, java.sql.Date x)
          Not authorised.
 void updateDate(java.lang.String columnName, java.sql.Date x)
          Not authorised.
 void updateDouble(int columnIndex, double x)
          Not authorised.
 void updateDouble(java.lang.String columnName, double x)
          Not authorised.
 void updateFloat(int columnIndex, float x)
          Not authorised.
 void updateFloat(java.lang.String columnName, float x)
          Not authorised.
 void updateInt(int columnIndex, int x)
          Not authorised.
 void updateInt(java.lang.String columnName, int x)
          Not authorised.
 void updateLong(int columnIndex, long x)
          Not authorised.
 void updateLong(java.lang.String columnName, long x)
          Not authorised.
 void updateNull(int columnIndex)
          Not authorised.
 void updateNull(java.lang.String columnName)
          Not authorised.
 void updateObject(int columnIndex, java.lang.Object x)
          Not authorised.
 void updateObject(int columnIndex, java.lang.Object x, int scale)
          Not authorised.
 void updateObject(java.lang.String columnName, java.lang.Object x)
          Not authorised.
 void updateObject(java.lang.String columnName, java.lang.Object x, int scale)
          Not authorised.
 void updateRef(int columnIndex, java.sql.Ref x)
           
 void updateRef(java.lang.String columnName, java.sql.Ref x)
           
 void updateRow()
          Not authorised.
 void updateShort(int columnIndex, short x)
          Not authorised.
 void updateShort(java.lang.String columnName, short x)
          Not authorised.
 void updateString(int columnIndex, java.lang.String x)
          Not authorised.
 void updateString(java.lang.String columnName, java.lang.String x)
          Not authorised.
 void updateTime(int columnIndex, java.sql.Time x)
          Not authorised.
 void updateTime(java.lang.String columnName, java.sql.Time x)
          Not authorised.
 void updateTimestamp(int columnIndex, java.sql.Timestamp x)
          Not authorised.
 void updateTimestamp(java.lang.String columnName, java.sql.Timestamp x)
          Not authorised.
 boolean wasNull()
          Authorised.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReadOnlyResultSet

public ReadOnlyResultSet(java.sql.ResultSet rs)
Constructor. Creates an instance of the ResultSet wrapper using the ResultSet to be wrapped as a parameter.
Parameters:
rs - The wrapped ResultSet instance
Throws:
InvalidParameterException - when the wrapped ResultSet instance is null.
Method Detail

next

public boolean next()
             throws java.sql.SQLException
Not authorised.
Specified by:
next in interface java.sql.ResultSet
Throws:
InvalidResultSetMethodInvocationException -  
See Also:
ResultSet.next()

close

public void close()
           throws java.sql.SQLException
Not authorised.
Specified by:
close in interface java.sql.ResultSet
Throws:
InvalidResultSetMethodInvocationException -  
See Also:
ResultSet.close()

wasNull

public boolean wasNull()
                throws java.sql.SQLException
Authorised.
Specified by:
wasNull in interface java.sql.ResultSet
See Also:
ResultSet.wasNull()

getString

public java.lang.String getString(int columnIndex)
                           throws java.sql.SQLException
Authorised.
Specified by:
getString in interface java.sql.ResultSet
See Also:
ResultSet.getString(int)

getBoolean

public boolean getBoolean(int columnIndex)
                   throws java.sql.SQLException
Authorised.
Specified by:
getBoolean in interface java.sql.ResultSet
See Also:
ResultSet.getBoolean(int)

getByte

public byte getByte(int columnIndex)
             throws java.sql.SQLException
Authorised.
Specified by:
getByte in interface java.sql.ResultSet
See Also:
ResultSet.getByte(int)

getShort

public short getShort(int columnIndex)
               throws java.sql.SQLException
Authorised.
Specified by:
getShort in interface java.sql.ResultSet
See Also:
ResultSet.getShort(int)

getInt

public int getInt(int columnIndex)
           throws java.sql.SQLException
Authorised.
Specified by:
getInt in interface java.sql.ResultSet
See Also:
ResultSet.getInt(int)

getLong

public long getLong(int columnIndex)
             throws java.sql.SQLException
Specified by:
getLong in interface java.sql.ResultSet
See Also:
ResultSet.getLong(int)

getFloat

public float getFloat(int columnIndex)
               throws java.sql.SQLException
Authorised.
Specified by:
getFloat in interface java.sql.ResultSet
See Also:
ResultSet.getFloat(int)

getDouble

public double getDouble(int columnIndex)
                 throws java.sql.SQLException
Authorised.
Specified by:
getDouble in interface java.sql.ResultSet
See Also:
ResultSet.getDouble(int)

getBigDecimal

public java.math.BigDecimal getBigDecimal(int columnIndex,
                                          int scale)
                                   throws java.sql.SQLException
Authorised.
Specified by:
getBigDecimal in interface java.sql.ResultSet
See Also:
ResultSet.getBigDecimal(int, int)

getBytes

public byte[] getBytes(int columnIndex)
                throws java.sql.SQLException
Authorised.
Specified by:
getBytes in interface java.sql.ResultSet
See Also:
ResultSet.getBytes(int)

getDate

public java.sql.Date getDate(int columnIndex)
                      throws java.sql.SQLException
Authorised.
Specified by:
getDate in interface java.sql.ResultSet
See Also:
ResultSet.getDate(int)

getTime

public java.sql.Time getTime(int columnIndex)
                      throws java.sql.SQLException
Authorised.
Specified by:
getTime in interface java.sql.ResultSet
See Also:
ResultSet.getTime(int)

getTimestamp

public java.sql.Timestamp getTimestamp(int columnIndex)
                                throws java.sql.SQLException
Authorised.
Specified by:
getTimestamp in interface java.sql.ResultSet
See Also:
ResultSet.getTimestamp(int)

getAsciiStream

public java.io.InputStream getAsciiStream(int columnIndex)
                                   throws java.sql.SQLException
Authorised.
Specified by:
getAsciiStream in interface java.sql.ResultSet
See Also:
ResultSet.getAsciiStream(int)

getUnicodeStream

public java.io.InputStream getUnicodeStream(int columnIndex)
                                     throws java.sql.SQLException
Authorised.
Specified by:
getUnicodeStream in interface java.sql.ResultSet
See Also:
ResultSet.getUnicodeStream(int)

getBinaryStream

public java.io.InputStream getBinaryStream(int columnIndex)
                                    throws java.sql.SQLException
Authorised.
Specified by:
getBinaryStream in interface java.sql.ResultSet
See Also:
ResultSet.getBinaryStream(int)

getString

public java.lang.String getString(java.lang.String columnName)
                           throws java.sql.SQLException
Authorised.
Specified by:
getString in interface java.sql.ResultSet
See Also:
ResultSet.getString(int)

getBoolean

public boolean getBoolean(java.lang.String columnName)
                   throws java.sql.SQLException
Authorised.
Specified by:
getBoolean in interface java.sql.ResultSet
See Also:
ResultSet.getBoolean(int)

getByte

public byte getByte(java.lang.String columnName)
             throws java.sql.SQLException
Authorised.
Specified by:
getByte in interface java.sql.ResultSet
See Also:
ResultSet.getByte(int)

getShort

public short getShort(java.lang.String columnName)
               throws java.sql.SQLException
Authorised.
Specified by:
getShort in interface java.sql.ResultSet
See Also:
ResultSet.getShort(int)

getInt

public int getInt(java.lang.String columnName)
           throws java.sql.SQLException
Authorised.
Specified by:
getInt in interface java.sql.ResultSet
See Also:
ResultSet.getInt(int)

getLong

public long getLong(java.lang.String columnName)
             throws java.sql.SQLException
Authorised.
Specified by:
getLong in interface java.sql.ResultSet
See Also:
ResultSet.getLong(String)

getFloat

public float getFloat(java.lang.String columnName)
               throws java.sql.SQLException
Authorised.
Specified by:
getFloat in interface java.sql.ResultSet
See Also:
ResultSet.getFloat(String)

getDouble

public double getDouble(java.lang.String columnName)
                 throws java.sql.SQLException
Authorised.
Specified by:
getDouble in interface java.sql.ResultSet
See Also:
ResultSet.getDouble(String)

getBigDecimal

public java.math.BigDecimal getBigDecimal(java.lang.String columnName,
                                          int scale)
                                   throws java.sql.SQLException
Authorised.
Specified by:
getBigDecimal in interface java.sql.ResultSet
See Also:
ResultSet.getBigDecimal(String, int)

getBytes

public byte[] getBytes(java.lang.String columnName)
                throws java.sql.SQLException
Authorised.
Specified by:
getBytes in interface java.sql.ResultSet
See Also:
ResultSet.getBytes(String)

getDate

public java.sql.Date getDate(java.lang.String columnName)
                      throws java.sql.SQLException
Authorised.
Specified by:
getDate in interface java.sql.ResultSet
See Also:
ResultSet.getDate(String)

getTime

public java.sql.Time getTime(java.lang.String columnName)
                      throws java.sql.SQLException
Authorised.
Specified by:
getTime in interface java.sql.ResultSet
See Also:
ResultSet.getTime(String)

getTimestamp

public java.sql.Timestamp getTimestamp(java.lang.String columnName)
                                throws java.sql.SQLException
Authorised.
Specified by:
getTimestamp in interface java.sql.ResultSet
See Also:
ResultSet.getTimestamp(String)

getAsciiStream

public java.io.InputStream getAsciiStream(java.lang.String columnName)
                                   throws java.sql.SQLException
Authorised.
Specified by:
getAsciiStream in interface java.sql.ResultSet
See Also:
ResultSet.getAsciiStream(String)

getUnicodeStream

public java.io.InputStream getUnicodeStream(java.lang.String columnName)
                                     throws java.sql.SQLException
Authorised.
Specified by:
getUnicodeStream in interface java.sql.ResultSet
See Also:
ResultSet.getUnicodeStream(String)

getBinaryStream

public java.io.InputStream getBinaryStream(java.lang.String columnName)
                                    throws java.sql.SQLException
Authorised.
Specified by:
getBinaryStream in interface java.sql.ResultSet
See Also:
ResultSet.getBinaryStream(String)

getWarnings

public java.sql.SQLWarning getWarnings()
                                throws java.sql.SQLException
Not authorised.
Specified by:
getWarnings in interface java.sql.ResultSet
Throws:
InvalidResultSetMethodInvocationException -  
See Also:
ResultSet.getWarnings()

clearWarnings

public void clearWarnings()
                   throws java.sql.SQLException
Not authorised.
Specified by:
clearWarnings in interface java.sql.ResultSet
Throws:
InvalidResultSetMethodInvocationException -  
See Also:
ResultSet.clearWarnings()

getCursorName

public java.lang.String getCursorName()
                               throws java.sql.SQLException
Not authorised.
Specified by:
getCursorName in interface java.sql.ResultSet
Throws:
InvalidResultSetMethodInvocationException -  
See Also:
ResultSet.getCursorName()

getMetaData

public java.sql.ResultSetMetaData getMetaData()
                                       throws java.sql.SQLException
Authorised.
Specified by:
getMetaData in interface java.sql.ResultSet
See Also:
ResultSet.getMetaData()

getObject

public java.lang.Object getObject(int columnIndex)
                           throws java.sql.SQLException
Authorised.
Specified by:
getObject in interface java.sql.ResultSet
See Also:
ResultSet.getObject(int)

getObject

public java.lang.Object getObject(java.lang.String columnName)
                           throws java.sql.SQLException
Authorised.
Specified by:
getObject in interface java.sql.ResultSet
See Also:
ResultSet.getObject(String)

findColumn

public int findColumn(java.lang.String columnName)
               throws java.sql.SQLException
Authorised.
Specified by:
findColumn in interface java.sql.ResultSet
See Also:
ResultSet.findColumn(String)

getCharacterStream

public java.io.Reader getCharacterStream(int columnIndex)
                                  throws java.sql.SQLException
Authorised.
Specified by:
getCharacterStream in interface java.sql.ResultSet
See Also:
ResultSet.getCharacterStream(int)

getCharacterStream

public java.io.Reader getCharacterStream(java.lang.String columnName)
                                  throws java.sql.SQLException
Authorised.
Specified by:
getCharacterStream in interface java.sql.ResultSet
See Also:
ResultSet.getCharacterStream(String)

getBigDecimal

public java.math.BigDecimal getBigDecimal(int columnIndex)
                                   throws java.sql.SQLException
Authorised.
Specified by:
getBigDecimal in interface java.sql.ResultSet
See Also:
ResultSet.getBigDecimal(int)

getBigDecimal

public java.math.BigDecimal getBigDecimal(java.lang.String columnName)
                                   throws java.sql.SQLException
Authorised.
Specified by:
getBigDecimal in interface java.sql.ResultSet
See Also:
ResultSet.getBigDecimal(String)

isBeforeFirst

public boolean isBeforeFirst()
                      throws java.sql.SQLException
Authorised.
Specified by:
isBeforeFirst in interface java.sql.ResultSet
See Also:
ResultSet.isBeforeFirst()

isAfterLast

public boolean isAfterLast()
                    throws java.sql.SQLException
Authorised.
Specified by:
isAfterLast in interface java.sql.ResultSet
See Also:
ResultSet.isAfterLast()

isFirst

public boolean isFirst()
                throws java.sql.SQLException
Authorised.
Specified by:
isFirst in interface java.sql.ResultSet
See Also:
ResultSet.isFirst()

isLast

public boolean isLast()
               throws java.sql.SQLException
Authorised.
Specified by:
isLast in interface java.sql.ResultSet
See Also:
ResultSet.isLast()

beforeFirst

public void beforeFirst()
                 throws java.sql.SQLException
Not authorised.
Specified by:
beforeFirst in interface java.sql.ResultSet
Throws:
InvalidResultSetMethodInvocationException -  
See Also:
ResultSet.beforeFirst()

afterLast

public void afterLast()
               throws java.sql.SQLException
Not authorised.
Specified by:
afterLast in interface java.sql.ResultSet
Throws:
InvalidResultSetMethodInvocationException -  
See Also:
ResultSet.afterLast()

first

public boolean first()
              throws java.sql.SQLException
Not authorised.
Specified by:
first in interface java.sql.ResultSet
Throws:
InvalidResultSetMethodInvocationException -  
See Also:
ResultSet.first()

last

public boolean last()
             throws java.sql.SQLException
Not authorised.
Specified by:
last in interface java.sql.ResultSet
Throws:
InvalidResultSetMethodInvocationException -  
See Also:
ResultSet.last()

getRow

public int getRow()
           throws java.sql.SQLException
Authorised.
Specified by:
getRow in interface java.sql.ResultSet
See Also:
ResultSet.getRow()

absolute

public boolean absolute(int row)
                 throws java.sql.SQLException
Not authorised.
Specified by:
absolute in interface java.sql.ResultSet
Throws:
InvalidResultSetMethodInvocationException -  
See Also:
ResultSet.absolute(int)

relative

public boolean relative(int rows)
                 throws java.sql.SQLException
Not authorised.
Specified by:
relative in interface java.sql.ResultSet
Throws:
InvalidResultSetMethodInvocationException -  
See Also:
ResultSet.relative(int)

previous

public boolean previous()
                 throws java.sql.SQLException
Not authorised.
Specified by:
previous in interface java.sql.ResultSet
Throws:
InvalidResultSetMethodInvocationException -  
See Also:
ResultSet.previous()

setFetchDirection

public void setFetchDirection(int direction)
                       throws java.sql.SQLException
Not authorised.
Specified by:
setFetchDirection in interface java.sql.ResultSet
Throws:
InvalidResultSetMethodInvocationException -  
See Also:
ResultSet.setFetchDirection(int)

getFetchDirection

public int getFetchDirection()
                      throws java.sql.SQLException
Authorised.
Specified by:
getFetchDirection in interface java.sql.ResultSet
See Also:
ResultSet.getFetchDirection()

setFetchSize

public void setFetchSize(int rows)
                  throws java.sql.SQLException
Not authorised.
Specified by:
setFetchSize in interface java.sql.ResultSet
Throws:
InvalidResultSetMethodInvocationException -  
See Also:
ResultSet.setFetchSize(int)

getFetchSize

public int getFetchSize()
                 throws java.sql.SQLException
Authorised.
Specified by:
getFetchSize in interface java.sql.ResultSet
See Also:
ResultSet.getFetchSize()

getType

public int getType()
            throws java.sql.SQLException
Authorised.
Specified by:
getType in interface java.sql.ResultSet
See Also:
ResultSet.getType()

getConcurrency

public int getConcurrency()
                   throws java.sql.SQLException
Authorised.
Specified by:
getConcurrency in interface java.sql.ResultSet
See Also:
ResultSet.getConcurrency()

rowUpdated

public boolean rowUpdated()
                   throws java.sql.SQLException
Authorised.
Specified by:
rowUpdated in interface java.sql.ResultSet
See Also:
ResultSet.rowUpdated()

rowInserted

public boolean rowInserted()
                    throws java.sql.SQLException
Authorised.
Specified by:
rowInserted in interface java.sql.ResultSet
See Also:
ResultSet.rowInserted()

rowDeleted

public boolean rowDeleted()
                   throws java.sql.SQLException
Authorised.
Specified by:
rowDeleted in interface java.sql.ResultSet
See Also:
ResultSet.rowDeleted()

updateNull

public void updateNull(int columnIndex)
                throws java.sql.SQLException
Not authorised.
Specified by:
updateNull in interface java.sql.ResultSet
Throws:
InvalidResultSetMethodInvocationException -  
See Also:
ResultSet.updateNull(int)

updateBoolean

public void updateBoolean(int columnIndex,
                          boolean x)
                   throws java.sql.SQLException
Not authorised.
Specified by:
updateBoolean in interface java.sql.ResultSet
Throws:
InvalidResultSetMethodInvocationException -  
See Also:
ResultSet.updateBoolean(int, boolean)

updateByte

public void updateByte(int columnIndex,
                       byte x)
                throws java.sql.SQLException
Not authorised.
Specified by:
updateByte in interface java.sql.ResultSet
Throws:
InvalidResultSetMethodInvocationException -  
See Also:
ResultSet.updateByte(int, byte)

updateShort

public void updateShort(int columnIndex,
                        short x)
                 throws java.sql.SQLException
Not authorised.
Specified by:
updateShort in interface java.sql.ResultSet
Throws:
InvalidResultSetMethodInvocationException -  
See Also:
ResultSet.updateShort(int, short)

updateInt

public void updateInt(int columnIndex,
                      int x)
               throws java.sql.SQLException
Not authorised.
Specified by:
updateInt in interface java.sql.ResultSet
Throws:
InvalidResultSetMethodInvocationException -  
See Also:
ResultSet.updateInt(int, int)

updateLong

public void updateLong(int columnIndex,
                       long x)
                throws java.sql.SQLException
Not authorised.
Specified by:
updateLong in interface java.sql.ResultSet
Throws:
InvalidResultSetMethodInvocationException -  
See Also:
ResultSet.updateLong(int, long)

updateFloat

public void updateFloat(int columnIndex,
                        float x)
                 throws java.sql.SQLException
Not authorised.
Specified by:
updateFloat in interface java.sql.ResultSet
Throws:
InvalidResultSetMethodInvocationException -  
See Also:
ResultSet.updateFloat(int, float)

updateDouble

public void updateDouble(int columnIndex,
                         double x)
                  throws java.sql.SQLException
Not authorised.
Specified by:
updateDouble in interface java.sql.ResultSet
Throws:
InvalidResultSetMethodInvocationException -  
See Also:
ResultSet.updateDouble(int, double)

updateBigDecimal

public void updateBigDecimal(int columnIndex,
                             java.math.BigDecimal x)
                      throws java.sql.SQLException
Not authorised.
Specified by:
updateBigDecimal in interface java.sql.ResultSet
Throws:
InvalidResultSetMethodInvocationException -  
See Also:
ResultSet.updateBigDecimal(int, BigDecimal)

updateString

public void updateString(int columnIndex,
                         java.lang.String x)
                  throws java.sql.SQLException
Not authorised.
Specified by:
updateString in interface java.sql.ResultSet
Throws:
InvalidResultSetMethodInvocationException -  
See Also:
ResultSet.updateString(int, String)

updateBytes

public void updateBytes(int columnIndex,
                        byte[] x)
                 throws java.sql.SQLException
Not authorised.
Specified by:
updateBytes in interface java.sql.ResultSet
Throws:
InvalidResultSetMethodInvocationException -  
See Also:
ResultSet.updateBytes(int, byte[])

updateDate

public void updateDate(int columnIndex,
                       java.sql.Date x)
                throws java.sql.SQLException
Not authorised.
Specified by:
updateDate in interface java.sql.ResultSet
Throws:
InvalidResultSetMethodInvocationException -  
See Also:
ResultSet.updateDate(int, java.sql.Date)

updateTime

public void updateTime(int columnIndex,
                       java.sql.Time x)
                throws java.sql.SQLException
Not authorised.
Specified by:
updateTime in interface java.sql.ResultSet
Throws:
InvalidResultSetMethodInvocationException -  
See Also:
ResultSet.updateTime(int, java.sql.Time)

updateTimestamp

public void updateTimestamp(int columnIndex,
                            java.sql.Timestamp x)
                     throws java.sql.SQLException
Not authorised.
Specified by:
updateTimestamp in interface java.sql.ResultSet
Throws:
InvalidResultSetMethodInvocationException -  
See Also:
ResultSet.updateTimestamp(int, java.sql.Timestamp)

updateAsciiStream

public void updateAsciiStream(int columnIndex,
                              java.io.InputStream x,
                              int length)
                       throws java.sql.SQLException
Not authorised.
Specified by:
updateAsciiStream in interface java.sql.ResultSet
Throws:
InvalidResultSetMethodInvocationException -  
See Also:
ResultSet.updateAsciiStream(int, java.io.InputStream, int)

updateBinaryStream

public void updateBinaryStream(int columnIndex,
                               java.io.InputStream x,
                               int length)
                        throws java.sql.SQLException
Not authorised.
Specified by:
updateBinaryStream in interface java.sql.ResultSet
Throws:
InvalidResultSetMethodInvocationException -  
See Also:
java.sql.ResultSet#(int, java.io.InputStream, int)

updateCharacterStream

public void updateCharacterStream(int columnIndex,
                                  java.io.Reader x,
                                  int length)
                           throws java.sql.SQLException
Not authorised.
Specified by:
updateCharacterStream in interface java.sql.ResultSet
Throws:
InvalidResultSetMethodInvocationException -  
See Also:
ResultSet.updateCharacterStream(int, java.io.Reader, int)

updateObject

public void updateObject(int columnIndex,
                         java.lang.Object x,
                         int scale)
                  throws java.sql.SQLException
Not authorised.
Specified by:
updateObject in interface java.sql.ResultSet
Throws:
InvalidResultSetMethodInvocationException -  
See Also:
ResultSet.updateObject(int, Object, int)

updateObject

public void updateObject(int columnIndex,
                         java.lang.Object x)
                  throws java.sql.SQLException
Not authorised.
Specified by:
updateObject in interface java.sql.ResultSet
Throws:
InvalidResultSetMethodInvocationException -  
See Also:
ResultSet.updateObject(int, Object)

updateNull

public void updateNull(java.lang.String columnName)
                throws java.sql.SQLException
Not authorised.
Specified by:
updateNull in interface java.sql.ResultSet
Throws:
InvalidResultSetMethodInvocationException -  
See Also:
ResultSet.updateNull(String)

updateBoolean

public void updateBoolean(java.lang.String columnName,
                          boolean x)
                   throws java.sql.SQLException
Not authorised.
Specified by:
updateBoolean in interface java.sql.ResultSet
Throws:
InvalidResultSetMethodInvocationException -  
See Also:
ResultSet.updateBoolean(String, boolean)

updateByte

public void updateByte(java.lang.String columnName,
                       byte x)
                throws java.sql.SQLException
Not authorised.
Specified by:
updateByte in interface java.sql.ResultSet
Throws:
InvalidResultSetMethodInvocationException -  
See Also:
ResultSet.updateByte(String, byte)

updateShort

public void updateShort(java.lang.String columnName,
                        short x)
                 throws java.sql.SQLException
Not authorised.
Specified by:
updateShort in interface java.sql.ResultSet
Throws:
InvalidResultSetMethodInvocationException -  
See Also:
ResultSet.updateShort(String, short)

updateInt

public void updateInt(java.lang.String columnName,
                      int x)
               throws java.sql.SQLException
Not authorised.
Specified by:
updateInt in interface java.sql.ResultSet
Throws:
InvalidResultSetMethodInvocationException -  
See Also:
ResultSet.updateInt(String, int)

updateLong

public void updateLong(java.lang.String columnName,
                       long x)
                throws java.sql.SQLException
Not authorised.
Specified by:
updateLong in interface java.sql.ResultSet
Throws:
InvalidResultSetMethodInvocationException -  
See Also:
ResultSet.updateLong(String, long)

updateFloat

public void updateFloat(java.lang.String columnName,
                        float x)
                 throws java.sql.SQLException
Not authorised.
Specified by:
updateFloat in interface java.sql.ResultSet
Throws:
InvalidResultSetMethodInvocationException -  
See Also:
ResultSet.updateFloat(String, float)

updateDouble

public void updateDouble(java.lang.String columnName,
                         double x)
                  throws java.sql.SQLException
Not authorised.
Specified by:
updateDouble in interface java.sql.ResultSet
Throws:
InvalidResultSetMethodInvocationException -  
See Also:
ResultSet.updateDouble(String, double)

updateBigDecimal

public void updateBigDecimal(java.lang.String columnName,
                             java.math.BigDecimal x)
                      throws java.sql.SQLException
Not authorised.
Specified by:
updateBigDecimal in interface java.sql.ResultSet
Throws:
InvalidResultSetMethodInvocationException -  
See Also:
ResultSet.updateBigDecimal(String, BigDecimal)

updateString

public void updateString(java.lang.String columnName,
                         java.lang.String x)
                  throws java.sql.SQLException
Not authorised.
Specified by:
updateString in interface java.sql.ResultSet
Throws:
InvalidResultSetMethodInvocationException -  
See Also:
ResultSet.updateString(String, String)

updateBytes

public void updateBytes(java.lang.String columnName,
                        byte[] x)
                 throws java.sql.SQLException
Not authorised.
Specified by:
updateBytes in interface java.sql.ResultSet
Throws:
InvalidResultSetMethodInvocationException -  
See Also:
ResultSet.updateBytes(String, byte[])

updateDate

public void updateDate(java.lang.String columnName,
                       java.sql.Date x)
                throws java.sql.SQLException
Not authorised.
Specified by:
updateDate in interface java.sql.ResultSet
Throws:
InvalidResultSetMethodInvocationException -  
See Also:
ResultSet.updateDate(String, java.sql.Date)

updateTime

public void updateTime(java.lang.String columnName,
                       java.sql.Time x)
                throws java.sql.SQLException
Not authorised.
Specified by:
updateTime in interface java.sql.ResultSet
Throws:
InvalidResultSetMethodInvocationException -  
See Also:
ResultSet.updateTime(String, java.sql.Time)

updateTimestamp

public void updateTimestamp(java.lang.String columnName,
                            java.sql.Timestamp x)
                     throws java.sql.SQLException
Not authorised.
Specified by:
updateTimestamp in interface java.sql.ResultSet
Throws:
InvalidResultSetMethodInvocationException -  
See Also:
ResultSet.updateTimestamp(String, java.sql.Timestamp)

updateAsciiStream

public void updateAsciiStream(java.lang.String columnName,
                              java.io.InputStream x,
                              int length)
                       throws java.sql.SQLException
Not authorised.
Specified by:
updateAsciiStream in interface java.sql.ResultSet
Throws:
InvalidResultSetMethodInvocationException -  
See Also:
ResultSet.updateAsciiStream(String, java.io.InputStream, int)

updateBinaryStream

public void updateBinaryStream(java.lang.String columnName,
                               java.io.InputStream x,
                               int length)
                        throws java.sql.SQLException
Not authorised.
Specified by:
updateBinaryStream in interface java.sql.ResultSet
Throws:
InvalidResultSetMethodInvocationException -  
See Also:
ResultSet.updateBinaryStream(String, java.io.InputStream, int)

updateCharacterStream

public void updateCharacterStream(java.lang.String columnName,
                                  java.io.Reader reader,
                                  int length)
                           throws java.sql.SQLException
Not authorised.
Specified by:
updateCharacterStream in interface java.sql.ResultSet
Throws:
InvalidResultSetMethodInvocationException -  
See Also:
ResultSet.updateCharacterStream(String, java.io.Reader, int)

updateObject

public void updateObject(java.lang.String columnName,
                         java.lang.Object x,
                         int scale)
                  throws java.sql.SQLException
Not authorised.
Specified by:
updateObject in interface java.sql.ResultSet
Throws:
InvalidResultSetMethodInvocationException -  
See Also:
ResultSet.updateObject(String, Object, int)

updateObject

public void updateObject(java.lang.String columnName,
                         java.lang.Object x)
                  throws java.sql.SQLException
Not authorised.
Specified by:
updateObject in interface java.sql.ResultSet
Throws:
InvalidResultSetMethodInvocationException -  
See Also:
ResultSet.updateObject(String, Object)

insertRow

public void insertRow()
               throws java.sql.SQLException
Not authorised.
Specified by:
insertRow in interface java.sql.ResultSet
Throws:
InvalidResultSetMethodInvocationException -  
See Also:
ResultSet.insertRow()

updateRow

public void updateRow()
               throws java.sql.SQLException
Not authorised.
Specified by:
updateRow in interface java.sql.ResultSet
Throws:
InvalidResultSetMethodInvocationException -  
See Also:
ResultSet.updateRow()

deleteRow

public void deleteRow()
               throws java.sql.SQLException
Not authorised.
Specified by:
deleteRow in interface java.sql.ResultSet
Throws:
InvalidResultSetMethodInvocationException -  
See Also:
ResultSet.deleteRow()

refreshRow

public void refreshRow()
                throws java.sql.SQLException
Not authorised.
Specified by:
refreshRow in interface java.sql.ResultSet
Throws:
InvalidResultSetMethodInvocationException -  
See Also:
ResultSet.refreshRow()

cancelRowUpdates

public void cancelRowUpdates()
                      throws java.sql.SQLException
Not authorised.
Specified by:
cancelRowUpdates in interface java.sql.ResultSet
Throws:
InvalidResultSetMethodInvocationException -  
See Also:
ResultSet.cancelRowUpdates()

moveToInsertRow

public void moveToInsertRow()
                     throws java.sql.SQLException
Not authorised.
Specified by:
moveToInsertRow in interface java.sql.ResultSet
Throws:
InvalidResultSetMethodInvocationException -  
See Also:
ResultSet.moveToInsertRow()

moveToCurrentRow

public void moveToCurrentRow()
                      throws java.sql.SQLException
Not authorised.
Specified by:
moveToCurrentRow in interface java.sql.ResultSet
Throws:
InvalidResultSetMethodInvocationException -  
See Also:
ResultSet.moveToCurrentRow()

getStatement

public java.sql.Statement getStatement()
                                throws java.sql.SQLException
Authorised.
Specified by:
getStatement in interface java.sql.ResultSet
See Also:
ResultSet.getStatement()

getObject

public java.lang.Object getObject(int columnIndex,
                                  java.util.Map map)
                           throws java.sql.SQLException
Authorised.
Specified by:
getObject in interface java.sql.ResultSet
See Also:
ResultSet.getObject(int, java.util.Map)

getRef

public java.sql.Ref getRef(int columnIndex)
                    throws java.sql.SQLException
Authorised.
Specified by:
getRef in interface java.sql.ResultSet
See Also:
ResultSet.getRef(int)

getBlob

public java.sql.Blob getBlob(int columnIndex)
                      throws java.sql.SQLException
Authorised.
Specified by:
getBlob in interface java.sql.ResultSet
See Also:
ResultSet.getBlob(int)

getClob

public java.sql.Clob getClob(int columnIndex)
                      throws java.sql.SQLException
Authorised.
Specified by:
getClob in interface java.sql.ResultSet
See Also:
ResultSet.getClob(int)

getArray

public java.sql.Array getArray(int columnIndex)
                        throws java.sql.SQLException
Authorised.
Specified by:
getArray in interface java.sql.ResultSet
See Also:
ResultSet.getArray(int)

getObject

public java.lang.Object getObject(java.lang.String columnName,
                                  java.util.Map map)
                           throws java.sql.SQLException
Authorised.
Specified by:
getObject in interface java.sql.ResultSet
See Also:
ResultSet.getObject(String, java.util.Map)

getRef

public java.sql.Ref getRef(java.lang.String columnName)
                    throws java.sql.SQLException
Authorised.
Specified by:
getRef in interface java.sql.ResultSet
See Also:
ResultSet.getRef(String)

getBlob

public java.sql.Blob getBlob(java.lang.String columnName)
                      throws java.sql.SQLException
Authorised.
Specified by:
getBlob in interface java.sql.ResultSet
See Also:
ResultSet.getBlob(String)

getClob

public java.sql.Clob getClob(java.lang.String columnName)
                      throws java.sql.SQLException
Authorised.
Specified by:
getClob in interface java.sql.ResultSet
See Also:
ResultSet.getClob(String)

getArray

public java.sql.Array getArray(java.lang.String columnName)
                        throws java.sql.SQLException
Authorised.
Specified by:
getArray in interface java.sql.ResultSet
See Also:
ResultSet.getArray(String)

getDate

public java.sql.Date getDate(int columnIndex,
                             java.util.Calendar cal)
                      throws java.sql.SQLException
Authorised.
Specified by:
getDate in interface java.sql.ResultSet
See Also:
ResultSet.getDate(int, Calendar)

getDate

public java.sql.Date getDate(java.lang.String columnName,
                             java.util.Calendar cal)
                      throws java.sql.SQLException
Authorised.
Specified by:
getDate in interface java.sql.ResultSet
See Also:
ResultSet.getDate(String, Calendar)

getTime

public java.sql.Time getTime(int columnIndex,
                             java.util.Calendar cal)
                      throws java.sql.SQLException
Authorised.
Specified by:
getTime in interface java.sql.ResultSet
See Also:
ResultSet.getTime(int, Calendar)

getTime

public java.sql.Time getTime(java.lang.String columnName,
                             java.util.Calendar cal)
                      throws java.sql.SQLException
Authorised.
Specified by:
getTime in interface java.sql.ResultSet
See Also:
ResultSet.getTime(String, Calendar)

getTimestamp

public java.sql.Timestamp getTimestamp(int columnIndex,
                                       java.util.Calendar cal)
                                throws java.sql.SQLException
Authorised.
Specified by:
getTimestamp in interface java.sql.ResultSet
See Also:
ResultSet.getTimestamp(int, Calendar)

getTimestamp

public java.sql.Timestamp getTimestamp(java.lang.String columnName,
                                       java.util.Calendar cal)
                                throws java.sql.SQLException
Authorised.
Specified by:
getTimestamp in interface java.sql.ResultSet
See Also:
ResultSet.getTimestamp(String, Calendar)

getURL

public java.net.URL getURL(int columnIndex)
                    throws java.sql.SQLException

getURL

public java.net.URL getURL(java.lang.String columnName)
                    throws java.sql.SQLException

updateRef

public void updateRef(int columnIndex,
                      java.sql.Ref x)
               throws java.sql.SQLException

updateRef

public void updateRef(java.lang.String columnName,
                      java.sql.Ref x)
               throws java.sql.SQLException

updateBlob

public void updateBlob(int columnIndex,
                       java.sql.Blob x)
                throws java.sql.SQLException

updateBlob

public void updateBlob(java.lang.String columnName,
                       java.sql.Blob x)
                throws java.sql.SQLException

updateClob

public void updateClob(int columnIndex,
                       java.sql.Clob x)
                throws java.sql.SQLException

updateClob

public void updateClob(java.lang.String columnName,
                       java.sql.Clob x)
                throws java.sql.SQLException

updateArray

public void updateArray(int columnIndex,
                        java.sql.Array x)
                 throws java.sql.SQLException

updateArray

public void updateArray(java.lang.String columnName,
                        java.sql.Array x)
                 throws java.sql.SQLException


Rod Johnson and Spring contributors 2001-2003.