tribble.sql
Class ResultSetAdapter

java.lang.Object
  extended by tribble.sql.ResultSetAdapter
All Implemented Interfaces:
java.sql.ResultSet
Direct Known Subclasses:
FakeResultSet

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

JDBC result set adapter class. Provides all the methods required by the java.sql.ResultSet class, most of which do nothing but throw an UnsupportedOperationException. Subclasses that extend this base class can then implement only the methods that they need.

Source code:
Available at: http://david.tribble.com/src/java/tribble/sql/ResultSetAdapter.java
Documentation:
Available at: http://david.tribble.com/docs/tribble/sql/ResultSetAdapter.html

Since:
2008-09-02
Version:
@(#)$Revision: 1.4 $ $Date: 2008/09/15 17:13:51 $
Author:
David R. Tribble (david@tribble.com)

Copyright ©2008 by David R. Tribble, all rights reserved.
Permission is granted to any person or entity except those designated by by the United States Department of State as a terrorist, or terrorist government or agency, to use and distribute this source code provided that the original copyright notice remains present and unaltered.


Field Summary
static int CLOSE_CURSORS_AT_COMMIT
          Constant indicating that ResultSet objects should be closed when the method Connection.commit() is called.
static int CONCUR_READ_ONLY
          Constant indicating the concurrency mode for a ResultSet object that may not be updated.
static int CONCUR_UPDATABLE
          Constant indicating the concurrency mode for a ResultSet object that may be updated.
static int FETCH_FORWARD
          Constant indicating that the rows in a result set will be processed in a forward direction; first-to-last.
static int FETCH_REVERSE
          Constant indicating that the rows in a result set will be processed in a reverse direction; last-to-first.
static int FETCH_UNKNOWN
          Constant indicating that the order in which rows in a result set will be processed is unknown.
static int HOLD_CURSORS_OVER_COMMIT
          Constant indicating that ResultSet objects should not be closed when the method Connection.commit() is called.
(package private) static java.lang.String REV
           
static int TYPE_FORWARD_ONLY
          Constant indicating the type for a ResultSet object whose cursor may move only forward.
static int TYPE_SCROLL_INSENSITIVE
          Constant indicating the type for a ResultSet object that is scrollable but generally not sensitive to changes made by others.
static int TYPE_SCROLL_SENSITIVE
          Constant indicating the type for a ResultSet object that is scrollable but sensitive to changes made by others.
 
Constructor Summary
ResultSetAdapter()
          Constructor.
 
Method Summary
 boolean absolute(int rows)
           
 void afterLast()
           
 void beforeFirst()
           
 void cancelRowUpdates()
           
 void clearWarnings()
           
 void close()
           
 void deleteRow()
           
 int findColumn(java.lang.String col)
           
 boolean first()
           
 java.sql.Array getArray(int col)
           
 java.sql.Array getArray(java.lang.String col)
           
 java.io.InputStream getAsciiStream(int col)
           
 java.io.InputStream getAsciiStream(java.lang.String col)
           
 java.math.BigDecimal getBigDecimal(int col)
           
 java.math.BigDecimal getBigDecimal(int col, int n)
          Deprecated.  
 java.math.BigDecimal getBigDecimal(java.lang.String col)
           
 java.math.BigDecimal getBigDecimal(java.lang.String col, int n)
          Deprecated.  
 java.io.InputStream getBinaryStream(int col)
           
 java.io.InputStream getBinaryStream(java.lang.String col)
           
 java.sql.Blob getBlob(int col)
           
 java.sql.Blob getBlob(java.lang.String col)
           
 boolean getBoolean(int col)
           
 boolean getBoolean(java.lang.String col)
           
 byte getByte(int col)
           
 byte getByte(java.lang.String col)
           
 byte[] getBytes(int col)
           
 byte[] getBytes(java.lang.String col)
           
 java.io.Reader getCharacterStream(int col)
           
 java.io.Reader getCharacterStream(java.lang.String col)
           
 java.sql.Clob getClob(int col)
           
 java.sql.Clob getClob(java.lang.String col)
           
 int getConcurrency()
           
 java.lang.String getCursorName()
           
 java.sql.Date getDate(int col)
           
 java.sql.Date getDate(int col, java.util.Calendar cal)
           
 java.sql.Date getDate(java.lang.String col)
           
 java.sql.Date getDate(java.lang.String col, java.util.Calendar cal)
           
 double getDouble(int col)
           
 double getDouble(java.lang.String col)
           
 int getFetchDirection()
           
 int getFetchSize()
           
 float getFloat(int col)
           
 float getFloat(java.lang.String col)
           
 int getInt(int col)
           
 int getInt(java.lang.String col)
           
 long getLong(int col)
           
 long getLong(java.lang.String col)
           
 java.sql.ResultSetMetaData getMetaData()
           
 java.lang.Object getObject(int col)
           
 java.lang.Object getObject(int s, java.util.Map m)
           
 java.lang.Object getObject(java.lang.String col)
           
 java.lang.Object getObject(java.lang.String s, java.util.Map m)
           
 java.sql.Ref getRef(int col)
           
 java.sql.Ref getRef(java.lang.String col)
           
 int getRow()
           
 short getShort(int col)
           
 short getShort(java.lang.String col)
           
 java.sql.Statement getStatement()
           
 java.lang.String getString(int col)
           
 java.lang.String getString(java.lang.String col)
           
 java.sql.Time getTime(int col)
           
 java.sql.Time getTime(int col, java.util.Calendar cal)
           
 java.sql.Time getTime(java.lang.String col)
           
 java.sql.Time getTime(java.lang.String col, java.util.Calendar cal)
           
 java.sql.Timestamp getTimestamp(int col)
           
 java.sql.Timestamp getTimestamp(int col, java.util.Calendar cal)
           
 java.sql.Timestamp getTimestamp(java.lang.String col)
           
 java.sql.Timestamp getTimestamp(java.lang.String col, java.util.Calendar cal)
           
 int getType()
           
 java.io.InputStream getUnicodeStream(int col)
          Deprecated.  
 java.io.InputStream getUnicodeStream(java.lang.String col)
          Deprecated.  
 java.net.URL getURL(int col)
           
 java.net.URL getURL(java.lang.String col)
           
 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 d)
           
 void setFetchSize(int rows)
           
 void updateArray(int col, java.sql.Array val)
           
 void updateArray(java.lang.String col, java.sql.Array val)
           
 void updateAsciiStream(int col, java.io.InputStream in, int n)
           
 void updateAsciiStream(java.lang.String col, java.io.InputStream in, int n)
           
 void updateBigDecimal(int col, java.math.BigDecimal val)
           
 void updateBigDecimal(java.lang.String col, java.math.BigDecimal val)
           
 void updateBinaryStream(int col, java.io.InputStream in, int n)
           
 void updateBinaryStream(java.lang.String col, java.io.InputStream in, int n)
           
 void updateBlob(int col, java.sql.Blob val)
           
 void updateBlob(java.lang.String col, java.sql.Blob val)
           
 void updateBoolean(int col, boolean val)
           
 void updateBoolean(java.lang.String col, boolean val)
           
 void updateByte(int col, byte val)
           
 void updateByte(java.lang.String col, byte val)
           
 void updateBytes(int s, byte[] val)
           
 void updateBytes(java.lang.String s, byte[] val)
           
 void updateCharacterStream(int col, java.io.Reader in, int n)
           
 void updateCharacterStream(java.lang.String col, java.io.Reader in, int n)
           
 void updateClob(int col, java.sql.Clob val)
           
 void updateClob(java.lang.String col, java.sql.Clob val)
           
 void updateDate(int col, java.sql.Date val)
           
 void updateDate(java.lang.String col, java.sql.Date val)
           
 void updateDouble(int col, double val)
           
 void updateDouble(java.lang.String col, double val)
           
 void updateFloat(int col, float val)
           
 void updateFloat(java.lang.String col, float val)
           
 void updateInt(int col, int val)
           
 void updateInt(java.lang.String col, int val)
           
 void updateLong(int col, long val)
           
 void updateLong(java.lang.String col, long val)
           
 void updateNull(int col)
           
 void updateNull(java.lang.String col)
           
 void updateObject(int col, java.lang.Object val)
           
 void updateObject(int col, java.lang.Object val, int n)
           
 void updateObject(java.lang.String col, java.lang.Object val)
           
 void updateObject(java.lang.String col, java.lang.Object val, int n)
           
 void updateRef(int col, java.sql.Ref val)
           
 void updateRef(java.lang.String col, java.sql.Ref val)
           
 void updateRow()
           
 void updateShort(int col, short val)
           
 void updateShort(java.lang.String col, short val)
           
 void updateString(int col, java.lang.String val)
           
 void updateString(java.lang.String col, java.lang.String val)
           
 void updateTime(int col, java.sql.Time val)
           
 void updateTime(java.lang.String col, java.sql.Time val)
           
 void updateTimestamp(int col, java.sql.Timestamp val)
           
 void updateTimestamp(java.lang.String col, java.sql.Timestamp val)
           
 void updateUnicodeStream(int col, java.io.InputStream in, int n)
           
 void updateUnicodeStream(java.lang.String col, java.io.InputStream in, int n)
           
 void updateURL(int col, java.net.URL val)
           
 void updateURL(java.lang.String col, java.net.URL val)
           
 boolean wasNull()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

REV

static final java.lang.String REV
See Also:
Constant Field Values

CLOSE_CURSORS_AT_COMMIT

public static final int CLOSE_CURSORS_AT_COMMIT
Constant indicating that ResultSet objects should be closed when the method Connection.commit() is called.

See Also:
Constant Field Values

HOLD_CURSORS_OVER_COMMIT

public static final int HOLD_CURSORS_OVER_COMMIT
Constant indicating that ResultSet objects should not be closed when the method Connection.commit() is called.

See Also:
Constant Field Values

CONCUR_READ_ONLY

public static final int CONCUR_READ_ONLY
Constant indicating the concurrency mode for a ResultSet object that may not be updated.

See Also:
Constant Field Values

CONCUR_UPDATABLE

public static final int CONCUR_UPDATABLE
Constant indicating the concurrency mode for a ResultSet object that may be updated.

See Also:
Constant Field Values

FETCH_FORWARD

public static final int FETCH_FORWARD
Constant indicating that the rows in a result set will be processed in a forward direction; first-to-last.

See Also:
Constant Field Values

FETCH_REVERSE

public static final int FETCH_REVERSE
Constant indicating that the rows in a result set will be processed in a reverse direction; last-to-first.

See Also:
Constant Field Values

FETCH_UNKNOWN

public static final int FETCH_UNKNOWN
Constant indicating that the order in which rows in a result set will be processed is unknown.

See Also:
Constant Field Values

TYPE_FORWARD_ONLY

public static final int TYPE_FORWARD_ONLY
Constant indicating the type for a ResultSet object whose cursor may move only forward.

See Also:
Constant Field Values

TYPE_SCROLL_INSENSITIVE

public static final int TYPE_SCROLL_INSENSITIVE
Constant indicating the type for a ResultSet object that is scrollable but generally not sensitive to changes made by others.

See Also:
Constant Field Values

TYPE_SCROLL_SENSITIVE

public static final int TYPE_SCROLL_SENSITIVE
Constant indicating the type for a ResultSet object that is scrollable but sensitive to changes made by others.

See Also:
Constant Field Values
Constructor Detail

ResultSetAdapter

public ResultSetAdapter()
Constructor.

Since:
1.1, 2008-09-02
Method Detail

close

public void close()
           throws java.sql.SQLException
Specified by:
close in interface java.sql.ResultSet
Throws:
java.sql.SQLException

getType

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

getConcurrency

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

next

public boolean next()
             throws java.sql.SQLException
Specified by:
next in interface java.sql.ResultSet
Throws:
java.sql.SQLException

previous

public boolean previous()
                 throws java.sql.SQLException
Specified by:
previous in interface java.sql.ResultSet
Throws:
java.sql.SQLException

first

public boolean first()
              throws java.sql.SQLException
Specified by:
first in interface java.sql.ResultSet
Throws:
java.sql.SQLException

last

public boolean last()
             throws java.sql.SQLException
Specified by:
last in interface java.sql.ResultSet
Throws:
java.sql.SQLException

absolute

public boolean absolute(int rows)
                 throws java.sql.SQLException
Specified by:
absolute in interface java.sql.ResultSet
Throws:
java.sql.SQLException

relative

public boolean relative(int rows)
                 throws java.sql.SQLException
Specified by:
relative in interface java.sql.ResultSet
Throws:
java.sql.SQLException

beforeFirst

public void beforeFirst()
                 throws java.sql.SQLException
Specified by:
beforeFirst in interface java.sql.ResultSet
Throws:
java.sql.SQLException

afterLast

public void afterLast()
               throws java.sql.SQLException
Specified by:
afterLast in interface java.sql.ResultSet
Throws:
java.sql.SQLException

isFirst

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

isLast

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

isBeforeFirst

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

isAfterLast

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

getRow

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

getStatement

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

getFetchSize

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

getFetchDirection

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

getWarnings

public java.sql.SQLWarning getWarnings()
                                throws java.sql.SQLException
Specified by:
getWarnings in interface java.sql.ResultSet
Throws:
java.sql.SQLException

clearWarnings

public void clearWarnings()
                   throws java.sql.SQLException
Specified by:
clearWarnings in interface java.sql.ResultSet
Throws:
java.sql.SQLException

getMetaData

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

setFetchDirection

public void setFetchDirection(int d)
                       throws java.sql.SQLException
Specified by:
setFetchDirection in interface java.sql.ResultSet
Throws:
java.sql.SQLException

setFetchSize

public void setFetchSize(int rows)
                  throws java.sql.SQLException
Specified by:
setFetchSize in interface java.sql.ResultSet
Throws:
java.sql.SQLException

wasNull

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

rowDeleted

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

rowInserted

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

rowUpdated

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

cancelRowUpdates

public void cancelRowUpdates()
                      throws java.sql.SQLException
Specified by:
cancelRowUpdates in interface java.sql.ResultSet
Throws:
java.sql.SQLException

moveToCurrentRow

public void moveToCurrentRow()
                      throws java.sql.SQLException
Specified by:
moveToCurrentRow in interface java.sql.ResultSet
Throws:
java.sql.SQLException

moveToInsertRow

public void moveToInsertRow()
                     throws java.sql.SQLException
Specified by:
moveToInsertRow in interface java.sql.ResultSet
Throws:
java.sql.SQLException

insertRow

public void insertRow()
               throws java.sql.SQLException
Specified by:
insertRow in interface java.sql.ResultSet
Throws:
java.sql.SQLException

refreshRow

public void refreshRow()
                throws java.sql.SQLException
Specified by:
refreshRow in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateRow

public void updateRow()
               throws java.sql.SQLException
Specified by:
updateRow in interface java.sql.ResultSet
Throws:
java.sql.SQLException

deleteRow

public void deleteRow()
               throws java.sql.SQLException
Specified by:
deleteRow in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateNull

public void updateNull(int col)
                throws java.sql.SQLException
Specified by:
updateNull in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateNull

public void updateNull(java.lang.String col)
                throws java.sql.SQLException
Specified by:
updateNull in interface java.sql.ResultSet
Throws:
java.sql.SQLException

findColumn

public int findColumn(java.lang.String col)
               throws java.sql.SQLException
Specified by:
findColumn in interface java.sql.ResultSet
Throws:
java.sql.SQLException

getCursorName

public java.lang.String getCursorName()
                               throws java.sql.SQLException
Specified by:
getCursorName in interface java.sql.ResultSet
Throws:
java.sql.SQLException

getBoolean

public boolean getBoolean(int col)
                   throws java.sql.SQLException
Specified by:
getBoolean in interface java.sql.ResultSet
Throws:
java.sql.SQLException

getBoolean

public boolean getBoolean(java.lang.String col)
                   throws java.sql.SQLException
Specified by:
getBoolean in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateBoolean

public void updateBoolean(int col,
                          boolean val)
                   throws java.sql.SQLException
Specified by:
updateBoolean in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateBoolean

public void updateBoolean(java.lang.String col,
                          boolean val)
                   throws java.sql.SQLException
Specified by:
updateBoolean in interface java.sql.ResultSet
Throws:
java.sql.SQLException

getByte

public byte getByte(int col)
             throws java.sql.SQLException
Specified by:
getByte in interface java.sql.ResultSet
Throws:
java.sql.SQLException

getByte

public byte getByte(java.lang.String col)
             throws java.sql.SQLException
Specified by:
getByte in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateByte

public void updateByte(int col,
                       byte val)
                throws java.sql.SQLException
Specified by:
updateByte in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateByte

public void updateByte(java.lang.String col,
                       byte val)
                throws java.sql.SQLException
Specified by:
updateByte in interface java.sql.ResultSet
Throws:
java.sql.SQLException

getShort

public short getShort(int col)
               throws java.sql.SQLException
Specified by:
getShort in interface java.sql.ResultSet
Throws:
java.sql.SQLException

getShort

public short getShort(java.lang.String col)
               throws java.sql.SQLException
Specified by:
getShort in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateShort

public void updateShort(int col,
                        short val)
                 throws java.sql.SQLException
Specified by:
updateShort in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateShort

public void updateShort(java.lang.String col,
                        short val)
                 throws java.sql.SQLException
Specified by:
updateShort in interface java.sql.ResultSet
Throws:
java.sql.SQLException

getInt

public int getInt(int col)
           throws java.sql.SQLException
Specified by:
getInt in interface java.sql.ResultSet
Throws:
java.sql.SQLException

getInt

public int getInt(java.lang.String col)
           throws java.sql.SQLException
Specified by:
getInt in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateInt

public void updateInt(int col,
                      int val)
               throws java.sql.SQLException
Specified by:
updateInt in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateInt

public void updateInt(java.lang.String col,
                      int val)
               throws java.sql.SQLException
Specified by:
updateInt in interface java.sql.ResultSet
Throws:
java.sql.SQLException

getLong

public long getLong(int col)
             throws java.sql.SQLException
Specified by:
getLong in interface java.sql.ResultSet
Throws:
java.sql.SQLException

getLong

public long getLong(java.lang.String col)
             throws java.sql.SQLException
Specified by:
getLong in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateLong

public void updateLong(int col,
                       long val)
                throws java.sql.SQLException
Specified by:
updateLong in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateLong

public void updateLong(java.lang.String col,
                       long val)
                throws java.sql.SQLException
Specified by:
updateLong in interface java.sql.ResultSet
Throws:
java.sql.SQLException

getFloat

public float getFloat(int col)
               throws java.sql.SQLException
Specified by:
getFloat in interface java.sql.ResultSet
Throws:
java.sql.SQLException

getFloat

public float getFloat(java.lang.String col)
               throws java.sql.SQLException
Specified by:
getFloat in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateFloat

public void updateFloat(int col,
                        float val)
                 throws java.sql.SQLException
Specified by:
updateFloat in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateFloat

public void updateFloat(java.lang.String col,
                        float val)
                 throws java.sql.SQLException
Specified by:
updateFloat in interface java.sql.ResultSet
Throws:
java.sql.SQLException

getDouble

public double getDouble(int col)
                 throws java.sql.SQLException
Specified by:
getDouble in interface java.sql.ResultSet
Throws:
java.sql.SQLException

getDouble

public double getDouble(java.lang.String col)
                 throws java.sql.SQLException
Specified by:
getDouble in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateDouble

public void updateDouble(int col,
                         double val)
                  throws java.sql.SQLException
Specified by:
updateDouble in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateDouble

public void updateDouble(java.lang.String col,
                         double val)
                  throws java.sql.SQLException
Specified by:
updateDouble in interface java.sql.ResultSet
Throws:
java.sql.SQLException

getString

public java.lang.String getString(int col)
                           throws java.sql.SQLException
Specified by:
getString in interface java.sql.ResultSet
Throws:
java.sql.SQLException

getString

public java.lang.String getString(java.lang.String col)
                           throws java.sql.SQLException
Specified by:
getString in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateString

public void updateString(int col,
                         java.lang.String val)
                  throws java.sql.SQLException
Specified by:
updateString in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateString

public void updateString(java.lang.String col,
                         java.lang.String val)
                  throws java.sql.SQLException
Specified by:
updateString in interface java.sql.ResultSet
Throws:
java.sql.SQLException

getDate

public java.sql.Date getDate(int col)
                      throws java.sql.SQLException
Specified by:
getDate in interface java.sql.ResultSet
Throws:
java.sql.SQLException

getDate

public java.sql.Date getDate(int col,
                             java.util.Calendar cal)
                      throws java.sql.SQLException
Specified by:
getDate in interface java.sql.ResultSet
Throws:
java.sql.SQLException

getDate

public java.sql.Date getDate(java.lang.String col)
                      throws java.sql.SQLException
Specified by:
getDate in interface java.sql.ResultSet
Throws:
java.sql.SQLException

getDate

public java.sql.Date getDate(java.lang.String col,
                             java.util.Calendar cal)
                      throws java.sql.SQLException
Specified by:
getDate in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateDate

public void updateDate(int col,
                       java.sql.Date val)
                throws java.sql.SQLException
Specified by:
updateDate in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateDate

public void updateDate(java.lang.String col,
                       java.sql.Date val)
                throws java.sql.SQLException
Specified by:
updateDate in interface java.sql.ResultSet
Throws:
java.sql.SQLException

getTime

public java.sql.Time getTime(int col)
                      throws java.sql.SQLException
Specified by:
getTime in interface java.sql.ResultSet
Throws:
java.sql.SQLException

getTime

public java.sql.Time getTime(int col,
                             java.util.Calendar cal)
                      throws java.sql.SQLException
Specified by:
getTime in interface java.sql.ResultSet
Throws:
java.sql.SQLException

getTime

public java.sql.Time getTime(java.lang.String col)
                      throws java.sql.SQLException
Specified by:
getTime in interface java.sql.ResultSet
Throws:
java.sql.SQLException

getTime

public java.sql.Time getTime(java.lang.String col,
                             java.util.Calendar cal)
                      throws java.sql.SQLException
Specified by:
getTime in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateTime

public void updateTime(int col,
                       java.sql.Time val)
                throws java.sql.SQLException
Specified by:
updateTime in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateTime

public void updateTime(java.lang.String col,
                       java.sql.Time val)
                throws java.sql.SQLException
Specified by:
updateTime in interface java.sql.ResultSet
Throws:
java.sql.SQLException

getTimestamp

public java.sql.Timestamp getTimestamp(int col)
                                throws java.sql.SQLException
Specified by:
getTimestamp in interface java.sql.ResultSet
Throws:
java.sql.SQLException

getTimestamp

public java.sql.Timestamp getTimestamp(int col,
                                       java.util.Calendar cal)
                                throws java.sql.SQLException
Specified by:
getTimestamp in interface java.sql.ResultSet
Throws:
java.sql.SQLException

getTimestamp

public java.sql.Timestamp getTimestamp(java.lang.String col)
                                throws java.sql.SQLException
Specified by:
getTimestamp in interface java.sql.ResultSet
Throws:
java.sql.SQLException

getTimestamp

public java.sql.Timestamp getTimestamp(java.lang.String col,
                                       java.util.Calendar cal)
                                throws java.sql.SQLException
Specified by:
getTimestamp in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateTimestamp

public void updateTimestamp(int col,
                            java.sql.Timestamp val)
                     throws java.sql.SQLException
Specified by:
updateTimestamp in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateTimestamp

public void updateTimestamp(java.lang.String col,
                            java.sql.Timestamp val)
                     throws java.sql.SQLException
Specified by:
updateTimestamp in interface java.sql.ResultSet
Throws:
java.sql.SQLException

getRef

public java.sql.Ref getRef(int col)
                    throws java.sql.SQLException
Specified by:
getRef in interface java.sql.ResultSet
Throws:
java.sql.SQLException

getRef

public java.sql.Ref getRef(java.lang.String col)
                    throws java.sql.SQLException
Specified by:
getRef in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateRef

public void updateRef(int col,
                      java.sql.Ref val)
               throws java.sql.SQLException
Specified by:
updateRef in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateRef

public void updateRef(java.lang.String col,
                      java.sql.Ref val)
               throws java.sql.SQLException
Specified by:
updateRef in interface java.sql.ResultSet
Throws:
java.sql.SQLException

getBlob

public java.sql.Blob getBlob(int col)
                      throws java.sql.SQLException
Specified by:
getBlob in interface java.sql.ResultSet
Throws:
java.sql.SQLException

getBlob

public java.sql.Blob getBlob(java.lang.String col)
                      throws java.sql.SQLException
Specified by:
getBlob in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateBlob

public void updateBlob(int col,
                       java.sql.Blob val)
                throws java.sql.SQLException
Specified by:
updateBlob in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateBlob

public void updateBlob(java.lang.String col,
                       java.sql.Blob val)
                throws java.sql.SQLException
Specified by:
updateBlob in interface java.sql.ResultSet
Throws:
java.sql.SQLException

getClob

public java.sql.Clob getClob(int col)
                      throws java.sql.SQLException
Specified by:
getClob in interface java.sql.ResultSet
Throws:
java.sql.SQLException

getClob

public java.sql.Clob getClob(java.lang.String col)
                      throws java.sql.SQLException
Specified by:
getClob in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateClob

public void updateClob(int col,
                       java.sql.Clob val)
                throws java.sql.SQLException
Specified by:
updateClob in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateClob

public void updateClob(java.lang.String col,
                       java.sql.Clob val)
                throws java.sql.SQLException
Specified by:
updateClob in interface java.sql.ResultSet
Throws:
java.sql.SQLException

getArray

public java.sql.Array getArray(int col)
                        throws java.sql.SQLException
Specified by:
getArray in interface java.sql.ResultSet
Throws:
java.sql.SQLException

getArray

public java.sql.Array getArray(java.lang.String col)
                        throws java.sql.SQLException
Specified by:
getArray in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateArray

public void updateArray(int col,
                        java.sql.Array val)
                 throws java.sql.SQLException
Specified by:
updateArray in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateArray

public void updateArray(java.lang.String col,
                        java.sql.Array val)
                 throws java.sql.SQLException
Specified by:
updateArray in interface java.sql.ResultSet
Throws:
java.sql.SQLException

getURL

public java.net.URL getURL(int col)
                    throws java.sql.SQLException
Specified by:
getURL in interface java.sql.ResultSet
Throws:
java.sql.SQLException

getURL

public java.net.URL getURL(java.lang.String col)
                    throws java.sql.SQLException
Specified by:
getURL in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateURL

public void updateURL(int col,
                      java.net.URL val)
               throws java.sql.SQLException
Throws:
java.sql.SQLException

updateURL

public void updateURL(java.lang.String col,
                      java.net.URL val)
               throws java.sql.SQLException
Throws:
java.sql.SQLException

getBigDecimal

public java.math.BigDecimal getBigDecimal(int col)
                                   throws java.sql.SQLException
Specified by:
getBigDecimal in interface java.sql.ResultSet
Throws:
java.sql.SQLException

getBigDecimal

public java.math.BigDecimal getBigDecimal(int col,
                                          int n)
                                   throws java.sql.SQLException
Deprecated. 

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

getBigDecimal

public java.math.BigDecimal getBigDecimal(java.lang.String col)
                                   throws java.sql.SQLException
Specified by:
getBigDecimal in interface java.sql.ResultSet
Throws:
java.sql.SQLException

getBigDecimal

public java.math.BigDecimal getBigDecimal(java.lang.String col,
                                          int n)
                                   throws java.sql.SQLException
Deprecated. 

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

updateBigDecimal

public void updateBigDecimal(int col,
                             java.math.BigDecimal val)
                      throws java.sql.SQLException
Specified by:
updateBigDecimal in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateBigDecimal

public void updateBigDecimal(java.lang.String col,
                             java.math.BigDecimal val)
                      throws java.sql.SQLException
Specified by:
updateBigDecimal in interface java.sql.ResultSet
Throws:
java.sql.SQLException

getObject

public java.lang.Object getObject(int col)
                           throws java.sql.SQLException
Specified by:
getObject in interface java.sql.ResultSet
Throws:
java.sql.SQLException

getObject

public java.lang.Object getObject(java.lang.String col)
                           throws java.sql.SQLException
Specified by:
getObject in interface java.sql.ResultSet
Throws:
java.sql.SQLException

getObject

public java.lang.Object getObject(int s,
                                  java.util.Map m)
                           throws java.sql.SQLException
Specified by:
getObject in interface java.sql.ResultSet
Throws:
java.sql.SQLException

getObject

public java.lang.Object getObject(java.lang.String s,
                                  java.util.Map m)
                           throws java.sql.SQLException
Specified by:
getObject in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateObject

public void updateObject(int col,
                         java.lang.Object val)
                  throws java.sql.SQLException
Specified by:
updateObject in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateObject

public void updateObject(int col,
                         java.lang.Object val,
                         int n)
                  throws java.sql.SQLException
Specified by:
updateObject in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateObject

public void updateObject(java.lang.String col,
                         java.lang.Object val)
                  throws java.sql.SQLException
Specified by:
updateObject in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateObject

public void updateObject(java.lang.String col,
                         java.lang.Object val,
                         int n)
                  throws java.sql.SQLException
Specified by:
updateObject in interface java.sql.ResultSet
Throws:
java.sql.SQLException

getBytes

public byte[] getBytes(int col)
                throws java.sql.SQLException
Specified by:
getBytes in interface java.sql.ResultSet
Throws:
java.sql.SQLException

getBytes

public byte[] getBytes(java.lang.String col)
                throws java.sql.SQLException
Specified by:
getBytes in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateBytes

public void updateBytes(int s,
                        byte[] val)
                 throws java.sql.SQLException
Specified by:
updateBytes in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateBytes

public void updateBytes(java.lang.String s,
                        byte[] val)
                 throws java.sql.SQLException
Specified by:
updateBytes in interface java.sql.ResultSet
Throws:
java.sql.SQLException

getCharacterStream

public java.io.Reader getCharacterStream(int col)
                                  throws java.sql.SQLException
Specified by:
getCharacterStream in interface java.sql.ResultSet
Throws:
java.sql.SQLException

getCharacterStream

public java.io.Reader getCharacterStream(java.lang.String col)
                                  throws java.sql.SQLException
Specified by:
getCharacterStream in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateCharacterStream

public void updateCharacterStream(int col,
                                  java.io.Reader in,
                                  int n)
                           throws java.sql.SQLException
Specified by:
updateCharacterStream in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateCharacterStream

public void updateCharacterStream(java.lang.String col,
                                  java.io.Reader in,
                                  int n)
                           throws java.sql.SQLException
Specified by:
updateCharacterStream in interface java.sql.ResultSet
Throws:
java.sql.SQLException

getBinaryStream

public java.io.InputStream getBinaryStream(int col)
                                    throws java.sql.SQLException
Specified by:
getBinaryStream in interface java.sql.ResultSet
Throws:
java.sql.SQLException

getBinaryStream

public java.io.InputStream getBinaryStream(java.lang.String col)
                                    throws java.sql.SQLException
Specified by:
getBinaryStream in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateBinaryStream

public void updateBinaryStream(int col,
                               java.io.InputStream in,
                               int n)
                        throws java.sql.SQLException
Specified by:
updateBinaryStream in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateBinaryStream

public void updateBinaryStream(java.lang.String col,
                               java.io.InputStream in,
                               int n)
                        throws java.sql.SQLException
Specified by:
updateBinaryStream in interface java.sql.ResultSet
Throws:
java.sql.SQLException

getAsciiStream

public java.io.InputStream getAsciiStream(int col)
                                   throws java.sql.SQLException
Specified by:
getAsciiStream in interface java.sql.ResultSet
Throws:
java.sql.SQLException

getAsciiStream

public java.io.InputStream getAsciiStream(java.lang.String col)
                                   throws java.sql.SQLException
Specified by:
getAsciiStream in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateAsciiStream

public void updateAsciiStream(int col,
                              java.io.InputStream in,
                              int n)
                       throws java.sql.SQLException
Specified by:
updateAsciiStream in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateAsciiStream

public void updateAsciiStream(java.lang.String col,
                              java.io.InputStream in,
                              int n)
                       throws java.sql.SQLException
Specified by:
updateAsciiStream in interface java.sql.ResultSet
Throws:
java.sql.SQLException

getUnicodeStream

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

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

getUnicodeStream

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

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

updateUnicodeStream

public void updateUnicodeStream(int col,
                                java.io.InputStream in,
                                int n)
                         throws java.sql.SQLException
Throws:
java.sql.SQLException

updateUnicodeStream

public void updateUnicodeStream(java.lang.String col,
                                java.io.InputStream in,
                                int n)
                         throws java.sql.SQLException
Throws:
java.sql.SQLException