org.melati.poem.dbms.test.sql
Class ThrowingResultSetJdbc3

java.lang.Object
  extended by org.melati.poem.dbms.test.sql.Thrower
      extended by org.melati.poem.dbms.test.sql.ThrowingResultSetJdbc3
All Implemented Interfaces:
java.sql.ResultSet
Direct Known Subclasses:
ThrowingResultSetVariant

public abstract class ThrowingResultSetJdbc3
extends Thrower
implements java.sql.ResultSet

The JDBC3 methods of a ResultSet, decorated to throw an SQLException on command.

Since:
5 Feb 2008
Author:
timp

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

Constructor Detail

ThrowingResultSetJdbc3

public ThrowingResultSetJdbc3()
Method Detail

absolute

public boolean absolute(int row)
                 throws java.sql.SQLException

Specified by:
absolute in interface java.sql.ResultSet
Throws:
java.sql.SQLException
See Also:
ResultSet.absolute(int)

afterLast

public void afterLast()
               throws java.sql.SQLException

Specified by:
afterLast in interface java.sql.ResultSet
Throws:
java.sql.SQLException
See Also:
ResultSet.afterLast()

beforeFirst

public void beforeFirst()
                 throws java.sql.SQLException

Specified by:
beforeFirst in interface java.sql.ResultSet
Throws:
java.sql.SQLException
See Also:
ResultSet.beforeFirst()

cancelRowUpdates

public void cancelRowUpdates()
                      throws java.sql.SQLException

Specified by:
cancelRowUpdates in interface java.sql.ResultSet
Throws:
java.sql.SQLException
See Also:
ResultSet.cancelRowUpdates()

clearWarnings

public void clearWarnings()
                   throws java.sql.SQLException

Specified by:
clearWarnings in interface java.sql.ResultSet
Throws:
java.sql.SQLException
See Also:
ResultSet.clearWarnings()

close

public void close()
           throws java.sql.SQLException

Specified by:
close in interface java.sql.ResultSet
Throws:
java.sql.SQLException
See Also:
ResultSet.close()

deleteRow

public void deleteRow()
               throws java.sql.SQLException

Specified by:
deleteRow in interface java.sql.ResultSet
Throws:
java.sql.SQLException
See Also:
ResultSet.deleteRow()

findColumn

public int findColumn(java.lang.String columnName)
               throws java.sql.SQLException

Specified by:
findColumn in interface java.sql.ResultSet
Throws:
java.sql.SQLException
See Also:
ResultSet.findColumn(java.lang.String)

first

public boolean first()
              throws java.sql.SQLException

Specified by:
first in interface java.sql.ResultSet
Throws:
java.sql.SQLException
See Also:
ResultSet.first()

getArray

public java.sql.Array getArray(int i)
                        throws java.sql.SQLException

Specified by:
getArray in interface java.sql.ResultSet
Throws:
java.sql.SQLException
See Also:
ResultSet.getArray(int)

getArray

public java.sql.Array getArray(java.lang.String colName)
                        throws java.sql.SQLException

Specified by:
getArray in interface java.sql.ResultSet
Throws:
java.sql.SQLException
See Also:
ResultSet.getArray(java.lang.String)

getAsciiStream

public java.io.InputStream getAsciiStream(int columnIndex)
                                   throws java.sql.SQLException

Specified by:
getAsciiStream in interface java.sql.ResultSet
Throws:
java.sql.SQLException
See Also:
ResultSet.getAsciiStream(int)

getAsciiStream

public java.io.InputStream getAsciiStream(java.lang.String columnName)
                                   throws java.sql.SQLException

Specified by:
getAsciiStream in interface java.sql.ResultSet
Throws:
java.sql.SQLException
See Also:
ResultSet.getAsciiStream(java.lang.String)

getBigDecimal

public java.math.BigDecimal getBigDecimal(int columnIndex)
                                   throws java.sql.SQLException

Specified by:
getBigDecimal in interface java.sql.ResultSet
Throws:
java.sql.SQLException
See Also:
ResultSet.getBigDecimal(int)

getBigDecimal

public java.math.BigDecimal getBigDecimal(java.lang.String columnName)
                                   throws java.sql.SQLException

Specified by:
getBigDecimal in interface java.sql.ResultSet
Throws:
java.sql.SQLException
See Also:
ResultSet.getBigDecimal(java.lang.String)

getBigDecimal

public java.math.BigDecimal getBigDecimal(int columnIndex,
                                          int scale)
                                   throws java.sql.SQLException

Specified by:
getBigDecimal in interface java.sql.ResultSet
Throws:
java.sql.SQLException
See Also:
ResultSet.getBigDecimal(int, int)

getBigDecimal

public java.math.BigDecimal getBigDecimal(java.lang.String columnName,
                                          int scale)
                                   throws java.sql.SQLException

Specified by:
getBigDecimal in interface java.sql.ResultSet
Throws:
java.sql.SQLException
See Also:
ResultSet.getBigDecimal(java.lang.String, int)

getBinaryStream

public java.io.InputStream getBinaryStream(int columnIndex)
                                    throws java.sql.SQLException

Specified by:
getBinaryStream in interface java.sql.ResultSet
Throws:
java.sql.SQLException
See Also:
ResultSet.getBinaryStream(int)

getBinaryStream

public java.io.InputStream getBinaryStream(java.lang.String columnName)
                                    throws java.sql.SQLException

Specified by:
getBinaryStream in interface java.sql.ResultSet
Throws:
java.sql.SQLException
See Also:
ResultSet.getBinaryStream(java.lang.String)

getBlob

public java.sql.Blob getBlob(int i)
                      throws java.sql.SQLException

Specified by:
getBlob in interface java.sql.ResultSet
Throws:
java.sql.SQLException
See Also:
ResultSet.getBlob(int)

getBlob

public java.sql.Blob getBlob(java.lang.String colName)
                      throws java.sql.SQLException

Specified by:
getBlob in interface java.sql.ResultSet
Throws:
java.sql.SQLException
See Also:
ResultSet.getBlob(java.lang.String)

getBoolean

public boolean getBoolean(int columnIndex)
                   throws java.sql.SQLException

Specified by:
getBoolean in interface java.sql.ResultSet
Throws:
java.sql.SQLException
See Also:
ResultSet.getBoolean(int)

getBoolean

public boolean getBoolean(java.lang.String columnName)
                   throws java.sql.SQLException

Specified by:
getBoolean in interface java.sql.ResultSet
Throws:
java.sql.SQLException
See Also:
ResultSet.getBoolean(java.lang.String)

getByte

public byte getByte(int columnIndex)
             throws java.sql.SQLException

Specified by:
getByte in interface java.sql.ResultSet
Throws:
java.sql.SQLException
See Also:
ResultSet.getByte(int)

getByte

public byte getByte(java.lang.String columnName)
             throws java.sql.SQLException

Specified by:
getByte in interface java.sql.ResultSet
Throws:
java.sql.SQLException
See Also:
ResultSet.getByte(java.lang.String)

getBytes

public byte[] getBytes(int columnIndex)
                throws java.sql.SQLException

Specified by:
getBytes in interface java.sql.ResultSet
Throws:
java.sql.SQLException
See Also:
ResultSet.getBytes(int)

getBytes

public byte[] getBytes(java.lang.String columnName)
                throws java.sql.SQLException

Specified by:
getBytes in interface java.sql.ResultSet
Throws:
java.sql.SQLException
See Also:
ResultSet.getBytes(java.lang.String)

getCharacterStream

public java.io.Reader getCharacterStream(int columnIndex)
                                  throws java.sql.SQLException

Specified by:
getCharacterStream in interface java.sql.ResultSet
Throws:
java.sql.SQLException
See Also:
ResultSet.getCharacterStream(int)

getCharacterStream

public java.io.Reader getCharacterStream(java.lang.String columnName)
                                  throws java.sql.SQLException

Specified by:
getCharacterStream in interface java.sql.ResultSet
Throws:
java.sql.SQLException
See Also:
ResultSet.getCharacterStream(java.lang.String)

getClob

public java.sql.Clob getClob(int i)
                      throws java.sql.SQLException

Specified by:
getClob in interface java.sql.ResultSet
Throws:
java.sql.SQLException
See Also:
ResultSet.getClob(int)

getClob

public java.sql.Clob getClob(java.lang.String colName)
                      throws java.sql.SQLException

Specified by:
getClob in interface java.sql.ResultSet
Throws:
java.sql.SQLException
See Also:
ResultSet.getClob(java.lang.String)

getConcurrency

public int getConcurrency()
                   throws java.sql.SQLException

Specified by:
getConcurrency in interface java.sql.ResultSet
Throws:
java.sql.SQLException
See Also:
ResultSet.getConcurrency()

getCursorName

public java.lang.String getCursorName()
                               throws java.sql.SQLException

Specified by:
getCursorName in interface java.sql.ResultSet
Throws:
java.sql.SQLException
See Also:
ResultSet.getCursorName()

getDate

public java.sql.Date getDate(int columnIndex)
                      throws java.sql.SQLException

Specified by:
getDate in interface java.sql.ResultSet
Throws:
java.sql.SQLException
See Also:
ResultSet.getDate(int)

getDate

public java.sql.Date getDate(java.lang.String columnName)
                      throws java.sql.SQLException

Specified by:
getDate in interface java.sql.ResultSet
Throws:
java.sql.SQLException
See Also:
ResultSet.getDate(java.lang.String)

getDate

public java.sql.Date getDate(int columnIndex,
                             java.util.Calendar cal)
                      throws java.sql.SQLException

Specified by:
getDate in interface java.sql.ResultSet
Throws:
java.sql.SQLException
See Also:
ResultSet.getDate(int, java.util.Calendar)

getDate

public java.sql.Date getDate(java.lang.String columnName,
                             java.util.Calendar cal)
                      throws java.sql.SQLException

Specified by:
getDate in interface java.sql.ResultSet
Throws:
java.sql.SQLException
See Also:
ResultSet.getDate(java.lang.String, java.util.Calendar)

getDouble

public double getDouble(int columnIndex)
                 throws java.sql.SQLException

Specified by:
getDouble in interface java.sql.ResultSet
Throws:
java.sql.SQLException
See Also:
ResultSet.getDouble(int)

getDouble

public double getDouble(java.lang.String columnName)
                 throws java.sql.SQLException

Specified by:
getDouble in interface java.sql.ResultSet
Throws:
java.sql.SQLException
See Also:
ResultSet.getDouble(java.lang.String)

getFetchDirection

public int getFetchDirection()
                      throws java.sql.SQLException

Specified by:
getFetchDirection in interface java.sql.ResultSet
Throws:
java.sql.SQLException
See Also:
ResultSet.getFetchDirection()

getFetchSize

public int getFetchSize()
                 throws java.sql.SQLException

Specified by:
getFetchSize in interface java.sql.ResultSet
Throws:
java.sql.SQLException
See Also:
ResultSet.getFetchSize()

getFloat

public float getFloat(int columnIndex)
               throws java.sql.SQLException

Specified by:
getFloat in interface java.sql.ResultSet
Throws:
java.sql.SQLException
See Also:
ResultSet.getFloat(int)

getFloat

public float getFloat(java.lang.String columnName)
               throws java.sql.SQLException

Specified by:
getFloat in interface java.sql.ResultSet
Throws:
java.sql.SQLException
See Also:
ResultSet.getFloat(java.lang.String)

getInt

public int getInt(int columnIndex)
           throws java.sql.SQLException

Specified by:
getInt in interface java.sql.ResultSet
Throws:
java.sql.SQLException
See Also:
ResultSet.getInt(int)

getInt

public int getInt(java.lang.String columnName)
           throws java.sql.SQLException

Specified by:
getInt in interface java.sql.ResultSet
Throws:
java.sql.SQLException
See Also:
ResultSet.getInt(java.lang.String)

getLong

public long getLong(int columnIndex)
             throws java.sql.SQLException

Specified by:
getLong in interface java.sql.ResultSet
Throws:
java.sql.SQLException
See Also:
ResultSet.getLong(int)

getLong

public long getLong(java.lang.String columnName)
             throws java.sql.SQLException

Specified by:
getLong in interface java.sql.ResultSet
Throws:
java.sql.SQLException
See Also:
ResultSet.getLong(java.lang.String)

getMetaData

public java.sql.ResultSetMetaData getMetaData()
                                       throws java.sql.SQLException

Specified by:
getMetaData in interface java.sql.ResultSet
Throws:
java.sql.SQLException
See Also:
ResultSet.getMetaData()

getObject

public java.lang.Object getObject(int columnIndex)
                           throws java.sql.SQLException

Specified by:
getObject in interface java.sql.ResultSet
Throws:
java.sql.SQLException
See Also:
ResultSet.getObject(int)

getObject

public java.lang.Object getObject(java.lang.String columnName)
                           throws java.sql.SQLException

Specified by:
getObject in interface java.sql.ResultSet
Throws:
java.sql.SQLException
See Also:
ResultSet.getObject(java.lang.String)

getObject

public java.lang.Object getObject(int i,
                                  java.util.Map map)
                           throws java.sql.SQLException

Specified by:
getObject in interface java.sql.ResultSet
Throws:
java.sql.SQLException
See Also:
ResultSet.getObject(int, java.util.Map)

getObject

public java.lang.Object getObject(java.lang.String colName,
                                  java.util.Map map)
                           throws java.sql.SQLException

Specified by:
getObject in interface java.sql.ResultSet
Throws:
java.sql.SQLException
See Also:
ResultSet.getObject(java.lang.String, java.util.Map)

getRef

public java.sql.Ref getRef(int i)
                    throws java.sql.SQLException

Specified by:
getRef in interface java.sql.ResultSet
Throws:
java.sql.SQLException
See Also:
ResultSet.getRef(int)

getRef

public java.sql.Ref getRef(java.lang.String colName)
                    throws java.sql.SQLException

Specified by:
getRef in interface java.sql.ResultSet
Throws:
java.sql.SQLException
See Also:
ResultSet.getRef(java.lang.String)

getRow

public int getRow()
           throws java.sql.SQLException

Specified by:
getRow in interface java.sql.ResultSet
Throws:
java.sql.SQLException
See Also:
ResultSet.getRow()

getShort

public short getShort(int columnIndex)
               throws java.sql.SQLException

Specified by:
getShort in interface java.sql.ResultSet
Throws:
java.sql.SQLException
See Also:
ResultSet.getShort(int)

getShort

public short getShort(java.lang.String columnName)
               throws java.sql.SQLException

Specified by:
getShort in interface java.sql.ResultSet
Throws:
java.sql.SQLException
See Also:
ResultSet.getShort(java.lang.String)

getStatement

public java.sql.Statement getStatement()
                                throws java.sql.SQLException

Specified by:
getStatement in interface java.sql.ResultSet
Throws:
java.sql.SQLException
See Also:
ResultSet.getStatement()

getString

public java.lang.String getString(int columnIndex)
                           throws java.sql.SQLException

Specified by:
getString in interface java.sql.ResultSet
Throws:
java.sql.SQLException
See Also:
ResultSet.getString(int)

getString

public java.lang.String getString(java.lang.String columnName)
                           throws java.sql.SQLException

Specified by:
getString in interface java.sql.ResultSet
Throws:
java.sql.SQLException
See Also:
ResultSet.getString(java.lang.String)

getTime

public java.sql.Time getTime(int columnIndex)
                      throws java.sql.SQLException

Specified by:
getTime in interface java.sql.ResultSet
Throws:
java.sql.SQLException
See Also:
ResultSet.getTime(int)

getTime

public java.sql.Time getTime(java.lang.String columnName)
                      throws java.sql.SQLException

Specified by:
getTime in interface java.sql.ResultSet
Throws:
java.sql.SQLException
See Also:
ResultSet.getTime(java.lang.String)

getTime

public java.sql.Time getTime(int columnIndex,
                             java.util.Calendar cal)
                      throws java.sql.SQLException

Specified by:
getTime in interface java.sql.ResultSet
Throws:
java.sql.SQLException
See Also:
ResultSet.getTime(int, java.util.Calendar)

getTime

public java.sql.Time getTime(java.lang.String columnName,
                             java.util.Calendar cal)
                      throws java.sql.SQLException

Specified by:
getTime in interface java.sql.ResultSet
Throws:
java.sql.SQLException
See Also:
ResultSet.getTime(java.lang.String, java.util.Calendar)

getTimestamp

public java.sql.Timestamp getTimestamp(int columnIndex)
                                throws java.sql.SQLException

Specified by:
getTimestamp in interface java.sql.ResultSet
Throws:
java.sql.SQLException
See Also:
ResultSet.getTimestamp(int)

getTimestamp

public java.sql.Timestamp getTimestamp(java.lang.String columnName)
                                throws java.sql.SQLException

Specified by:
getTimestamp in interface java.sql.ResultSet
Throws:
java.sql.SQLException
See Also:
ResultSet.getTimestamp(java.lang.String)

getTimestamp

public java.sql.Timestamp getTimestamp(int columnIndex,
                                       java.util.Calendar cal)
                                throws java.sql.SQLException

Specified by:
getTimestamp in interface java.sql.ResultSet
Throws:
java.sql.SQLException
See Also:
ResultSet.getTimestamp(int, java.util.Calendar)

getTimestamp

public java.sql.Timestamp getTimestamp(java.lang.String columnName,
                                       java.util.Calendar cal)
                                throws java.sql.SQLException

Specified by:
getTimestamp in interface java.sql.ResultSet
Throws:
java.sql.SQLException
See Also:
ResultSet.getTimestamp(java.lang.String, java.util.Calendar)

getType

public int getType()
            throws java.sql.SQLException

Specified by:
getType in interface java.sql.ResultSet
Throws:
java.sql.SQLException
See Also:
ResultSet.getType()

getURL

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

Specified by:
getURL in interface java.sql.ResultSet
Throws:
java.sql.SQLException
See Also:
ResultSet.getURL(int)

getURL

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

Specified by:
getURL in interface java.sql.ResultSet
Throws:
java.sql.SQLException
See Also:
ResultSet.getURL(java.lang.String)

getUnicodeStream

public java.io.InputStream getUnicodeStream(int columnIndex)
                                     throws java.sql.SQLException

Specified by:
getUnicodeStream in interface java.sql.ResultSet
Throws:
java.sql.SQLException
See Also:
ResultSet.getUnicodeStream(int)

getUnicodeStream

public java.io.InputStream getUnicodeStream(java.lang.String columnName)
                                     throws java.sql.SQLException

Specified by:
getUnicodeStream in interface java.sql.ResultSet
Throws:
java.sql.SQLException
See Also:
ResultSet.getUnicodeStream(java.lang.String)

getWarnings

public java.sql.SQLWarning getWarnings()
                                throws java.sql.SQLException

Specified by:
getWarnings in interface java.sql.ResultSet
Throws:
java.sql.SQLException
See Also:
ResultSet.getWarnings()

insertRow

public void insertRow()
               throws java.sql.SQLException

Specified by:
insertRow in interface java.sql.ResultSet
Throws:
java.sql.SQLException
See Also:
ResultSet.insertRow()

isAfterLast

public boolean isAfterLast()
                    throws java.sql.SQLException

Specified by:
isAfterLast in interface java.sql.ResultSet
Throws:
java.sql.SQLException
See Also:
ResultSet.isAfterLast()

isBeforeFirst

public boolean isBeforeFirst()
                      throws java.sql.SQLException

Specified by:
isBeforeFirst in interface java.sql.ResultSet
Throws:
java.sql.SQLException
See Also:
ResultSet.isBeforeFirst()

isFirst

public boolean isFirst()
                throws java.sql.SQLException

Specified by:
isFirst in interface java.sql.ResultSet
Throws:
java.sql.SQLException
See Also:
ResultSet.isFirst()

isLast

public boolean isLast()
               throws java.sql.SQLException

Specified by:
isLast in interface java.sql.ResultSet
Throws:
java.sql.SQLException
See Also:
ResultSet.isLast()

last

public boolean last()
             throws java.sql.SQLException

Specified by:
last in interface java.sql.ResultSet
Throws:
java.sql.SQLException
See Also:
ResultSet.last()

moveToCurrentRow

public void moveToCurrentRow()
                      throws java.sql.SQLException

Specified by:
moveToCurrentRow in interface java.sql.ResultSet
Throws:
java.sql.SQLException
See Also:
ResultSet.moveToCurrentRow()

moveToInsertRow

public void moveToInsertRow()
                     throws java.sql.SQLException

Specified by:
moveToInsertRow in interface java.sql.ResultSet
Throws:
java.sql.SQLException
See Also:
ResultSet.moveToInsertRow()

next

public boolean next()
             throws java.sql.SQLException

Specified by:
next in interface java.sql.ResultSet
Throws:
java.sql.SQLException
See Also:
ResultSet.next()

previous

public boolean previous()
                 throws java.sql.SQLException

Specified by:
previous in interface java.sql.ResultSet
Throws:
java.sql.SQLException
See Also:
ResultSet.previous()

refreshRow

public void refreshRow()
                throws java.sql.SQLException

Specified by:
refreshRow in interface java.sql.ResultSet
Throws:
java.sql.SQLException
See Also:
ResultSet.refreshRow()

relative

public boolean relative(int rows)
                 throws java.sql.SQLException

Specified by:
relative in interface java.sql.ResultSet
Throws:
java.sql.SQLException
See Also:
ResultSet.relative(int)

rowDeleted

public boolean rowDeleted()
                   throws java.sql.SQLException

Specified by:
rowDeleted in interface java.sql.ResultSet
Throws:
java.sql.SQLException
See Also:
ResultSet.rowDeleted()

rowInserted

public boolean rowInserted()
                    throws java.sql.SQLException

Specified by:
rowInserted in interface java.sql.ResultSet
Throws:
java.sql.SQLException
See Also:
ResultSet.rowInserted()

rowUpdated

public boolean rowUpdated()
                   throws java.sql.SQLException

Specified by:
rowUpdated in interface java.sql.ResultSet
Throws:
java.sql.SQLException
See Also:
ResultSet.rowUpdated()

setFetchDirection

public void setFetchDirection(int direction)
                       throws java.sql.SQLException

Specified by:
setFetchDirection in interface java.sql.ResultSet
Throws:
java.sql.SQLException
See Also:
ResultSet.setFetchDirection(int)

setFetchSize

public void setFetchSize(int rows)
                  throws java.sql.SQLException

Specified by:
setFetchSize in interface java.sql.ResultSet
Throws:
java.sql.SQLException
See Also:
ResultSet.setFetchSize(int)

updateArray

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

Specified by:
updateArray in interface java.sql.ResultSet
Throws:
java.sql.SQLException
See Also:
ResultSet.updateArray(int, java.sql.Array)

updateArray

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

Specified by:
updateArray in interface java.sql.ResultSet
Throws:
java.sql.SQLException
See Also:
ResultSet.updateArray(java.lang.String, java.sql.Array)

updateAsciiStream

public void updateAsciiStream(int columnIndex,
                              java.io.InputStream x,
                              int length)
                       throws java.sql.SQLException

Specified by:
updateAsciiStream in interface java.sql.ResultSet
Throws:
java.sql.SQLException
See Also:
ResultSet.updateAsciiStream(int, java.io.InputStream, int)

updateAsciiStream

public void updateAsciiStream(java.lang.String columnName,
                              java.io.InputStream x,
                              int length)
                       throws java.sql.SQLException

Specified by:
updateAsciiStream in interface java.sql.ResultSet
Throws:
java.sql.SQLException
See Also:
ResultSet.updateAsciiStream(java.lang.String, java.io.InputStream, int)

updateBigDecimal

public void updateBigDecimal(int columnIndex,
                             java.math.BigDecimal x)
                      throws java.sql.SQLException

Specified by:
updateBigDecimal in interface java.sql.ResultSet
Throws:
java.sql.SQLException
See Also:
ResultSet.updateBigDecimal(int, java.math.BigDecimal)

updateBigDecimal

public void updateBigDecimal(java.lang.String columnName,
                             java.math.BigDecimal x)
                      throws java.sql.SQLException

Specified by:
updateBigDecimal in interface java.sql.ResultSet
Throws:
java.sql.SQLException
See Also:
ResultSet.updateBigDecimal(java.lang.String, java.math.BigDecimal)

updateBinaryStream

public void updateBinaryStream(int columnIndex,
                               java.io.InputStream x,
                               int length)
                        throws java.sql.SQLException

Specified by:
updateBinaryStream in interface java.sql.ResultSet
Throws:
java.sql.SQLException
See Also:
ResultSet.updateBinaryStream(int, java.io.InputStream, int)

updateBinaryStream

public void updateBinaryStream(java.lang.String columnName,
                               java.io.InputStream x,
                               int length)
                        throws java.sql.SQLException

Specified by:
updateBinaryStream in interface java.sql.ResultSet
Throws:
java.sql.SQLException
See Also:
ResultSet.updateBinaryStream(java.lang.String, java.io.InputStream, int)

updateBlob

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

Specified by:
updateBlob in interface java.sql.ResultSet
Throws:
java.sql.SQLException
See Also:
ResultSet.updateBlob(int, java.sql.Blob)

updateBlob

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

Specified by:
updateBlob in interface java.sql.ResultSet
Throws:
java.sql.SQLException
See Also:
ResultSet.updateBlob(java.lang.String, java.sql.Blob)

updateBoolean

public void updateBoolean(int columnIndex,
                          boolean x)
                   throws java.sql.SQLException

Specified by:
updateBoolean in interface java.sql.ResultSet
Throws:
java.sql.SQLException
See Also:
ResultSet.updateBoolean(int, boolean)

updateBoolean

public void updateBoolean(java.lang.String columnName,
                          boolean x)
                   throws java.sql.SQLException

Specified by:
updateBoolean in interface java.sql.ResultSet
Throws:
java.sql.SQLException
See Also:
ResultSet.updateBoolean(java.lang.String, boolean)

updateByte

public void updateByte(int columnIndex,
                       byte x)
                throws java.sql.SQLException

Specified by:
updateByte in interface java.sql.ResultSet
Throws:
java.sql.SQLException
See Also:
ResultSet.updateByte(int, byte)

updateByte

public void updateByte(java.lang.String columnName,
                       byte x)
                throws java.sql.SQLException

Specified by:
updateByte in interface java.sql.ResultSet
Throws:
java.sql.SQLException
See Also:
ResultSet.updateByte(java.lang.String, byte)

updateBytes

public void updateBytes(int columnIndex,
                        byte[] x)
                 throws java.sql.SQLException

Specified by:
updateBytes in interface java.sql.ResultSet
Throws:
java.sql.SQLException
See Also:
ResultSet.updateBytes(int, byte[])

updateBytes

public void updateBytes(java.lang.String columnName,
                        byte[] x)
                 throws java.sql.SQLException

Specified by:
updateBytes in interface java.sql.ResultSet
Throws:
java.sql.SQLException
See Also:
ResultSet.updateBytes(java.lang.String, byte[])

updateCharacterStream

public void updateCharacterStream(int columnIndex,
                                  java.io.Reader x,
                                  int length)
                           throws java.sql.SQLException

Specified by:
updateCharacterStream in interface java.sql.ResultSet
Throws:
java.sql.SQLException
See Also:
ResultSet.updateCharacterStream(int, java.io.Reader, int)

updateCharacterStream

public void updateCharacterStream(java.lang.String columnName,
                                  java.io.Reader reader,
                                  int length)
                           throws java.sql.SQLException

Specified by:
updateCharacterStream in interface java.sql.ResultSet
Throws:
java.sql.SQLException
See Also:
ResultSet.updateCharacterStream(java.lang.String, java.io.Reader, int)

updateClob

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

Specified by:
updateClob in interface java.sql.ResultSet
Throws:
java.sql.SQLException
See Also:
ResultSet.updateClob(int, java.sql.Clob)

updateClob

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

Specified by:
updateClob in interface java.sql.ResultSet
Throws:
java.sql.SQLException
See Also:
ResultSet.updateClob(java.lang.String, java.sql.Clob)

updateDate

public void updateDate(int columnIndex,
                       java.sql.Date x)
                throws java.sql.SQLException

Specified by:
updateDate in interface java.sql.ResultSet
Throws:
java.sql.SQLException
See Also:
ResultSet.updateDate(int, java.sql.Date)

updateDate

public void updateDate(java.lang.String columnName,
                       java.sql.Date x)
                throws java.sql.SQLException

Specified by:
updateDate in interface java.sql.ResultSet
Throws:
java.sql.SQLException
See Also:
ResultSet.updateDate(java.lang.String, java.sql.Date)

updateDouble

public void updateDouble(int columnIndex,
                         double x)
                  throws java.sql.SQLException

Specified by:
updateDouble in interface java.sql.ResultSet
Throws:
java.sql.SQLException
See Also:
ResultSet.updateDouble(int, double)

updateDouble

public void updateDouble(java.lang.String columnName,
                         double x)
                  throws java.sql.SQLException

Specified by:
updateDouble in interface java.sql.ResultSet
Throws:
java.sql.SQLException
See Also:
ResultSet.updateDouble(java.lang.String, double)

updateFloat

public void updateFloat(int columnIndex,
                        float x)
                 throws java.sql.SQLException

Specified by:
updateFloat in interface java.sql.ResultSet
Throws:
java.sql.SQLException
See Also:
ResultSet.updateFloat(int, float)

updateFloat

public void updateFloat(java.lang.String columnName,
                        float x)
                 throws java.sql.SQLException

Specified by:
updateFloat in interface java.sql.ResultSet
Throws:
java.sql.SQLException
See Also:
ResultSet.updateFloat(java.lang.String, float)

updateInt

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

Specified by:
updateInt in interface java.sql.ResultSet
Throws:
java.sql.SQLException
See Also:
ResultSet.updateInt(int, int)

updateInt

public void updateInt(java.lang.String columnName,
                      int x)
               throws java.sql.SQLException

Specified by:
updateInt in interface java.sql.ResultSet
Throws:
java.sql.SQLException
See Also:
ResultSet.updateInt(java.lang.String, int)

updateLong

public void updateLong(int columnIndex,
                       long x)
                throws java.sql.SQLException

Specified by:
updateLong in interface java.sql.ResultSet
Throws:
java.sql.SQLException
See Also:
ResultSet.updateLong(int, long)

updateLong

public void updateLong(java.lang.String columnName,
                       long x)
                throws java.sql.SQLException

Specified by:
updateLong in interface java.sql.ResultSet
Throws:
java.sql.SQLException
See Also:
ResultSet.updateLong(java.lang.String, long)

updateNull

public void updateNull(int columnIndex)
                throws java.sql.SQLException

Specified by:
updateNull in interface java.sql.ResultSet
Throws:
java.sql.SQLException
See Also:
ResultSet.updateNull(int)

updateNull

public void updateNull(java.lang.String columnName)
                throws java.sql.SQLException

Specified by:
updateNull in interface java.sql.ResultSet
Throws:
java.sql.SQLException
See Also:
ResultSet.updateNull(java.lang.String)

updateObject

public void updateObject(int columnIndex,
                         java.lang.Object x)
                  throws java.sql.SQLException

Specified by:
updateObject in interface java.sql.ResultSet
Throws:
java.sql.SQLException
See Also:
ResultSet.updateObject(int, java.lang.Object)

updateObject

public void updateObject(java.lang.String columnName,
                         java.lang.Object x)
                  throws java.sql.SQLException

Specified by:
updateObject in interface java.sql.ResultSet
Throws:
java.sql.SQLException
See Also:
ResultSet.updateObject(java.lang.String, java.lang.Object)

updateObject

public void updateObject(int columnIndex,
                         java.lang.Object x,
                         int scale)
                  throws java.sql.SQLException

Specified by:
updateObject in interface java.sql.ResultSet
Throws:
java.sql.SQLException
See Also:
ResultSet.updateObject(int, java.lang.Object, int)

updateObject

public void updateObject(java.lang.String columnName,
                         java.lang.Object x,
                         int scale)
                  throws java.sql.SQLException

Specified by:
updateObject in interface java.sql.ResultSet
Throws:
java.sql.SQLException
See Also:
ResultSet.updateObject(java.lang.String, java.lang.Object, int)

updateRef

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

Specified by:
updateRef in interface java.sql.ResultSet
Throws:
java.sql.SQLException
See Also:
ResultSet.updateRef(int, java.sql.Ref)

updateRef

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

Specified by:
updateRef in interface java.sql.ResultSet
Throws:
java.sql.SQLException