com.evermind.sql
Class SerializableRowSet

java.lang.Object
  extended by com.evermind.sql.SerializableRowSet
All Implemented Interfaces:
java.io.Serializable, java.sql.ResultSet, javax.sql.RowSet

public class SerializableRowSet
extends java.lang.Object
implements javax.sql.RowSet, java.io.Serializable

A serializable RowSet implementation

Author:
Magnus Stenman
See Also:
Serialized Form

Field Summary
static long serialVersionUID
           
 
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
SerializableRowSet(java.sql.ResultSet set, java.lang.String command, java.lang.String dataSourceName, java.util.Map typeMap)
           
 
Method Summary
 boolean absolute(int pos)
           
 void addRowSetListener(javax.sql.RowSetListener listener)
           
 void afterLast()
           
 void beforeFirst()
           
 void cancelRowUpdates()
           
 void clearParameters()
           
 void clearWarnings()
           
 void close()
           
 void deleteRow()
           
 void execute()
           
 int findColumn(java.lang.String name)
           
 boolean first()
           
 java.sql.Array getArray(int pos)
           
 java.sql.Array getArray(java.lang.String field)
           
 java.io.InputStream getAsciiStream(int pos)
           
 java.io.InputStream getAsciiStream(java.lang.String field)
           
 java.math.BigDecimal getBigDecimal(int pos)
           
 java.math.BigDecimal getBigDecimal(int pos, int pos2)
          Deprecated.  
 java.math.BigDecimal getBigDecimal(java.lang.String field)
           
 java.math.BigDecimal getBigDecimal(java.lang.String field, int pos2)
          Deprecated.  
 java.io.InputStream getBinaryStream(int pos)
           
 java.io.InputStream getBinaryStream(java.lang.String field)
           
 java.sql.Blob getBlob(int pos)
           
 java.sql.Blob getBlob(java.lang.String field)
           
 boolean getBoolean(int pos)
           
 boolean getBoolean(java.lang.String field)
           
 byte getByte(int pos)
           
 byte getByte(java.lang.String field)
           
 byte[] getBytes(int pos)
           
 byte[] getBytes(java.lang.String field)
           
 java.io.Reader getCharacterStream(int pos)
           
 java.io.Reader getCharacterStream(java.lang.String field)
           
 java.sql.Clob getClob(int pos)
           
 java.sql.Clob getClob(java.lang.String field)
           
 java.lang.String getCommand()
           
 int getConcurrency()
           
 java.lang.String getCursorName()
           
 java.lang.String getDataSourceName()
           
 java.sql.Date getDate(int pos)
           
 java.sql.Date getDate(int field, java.util.Calendar calendar)
           
 java.sql.Date getDate(java.lang.String field)
           
 java.sql.Date getDate(java.lang.String field, java.util.Calendar calendar)
           
 double getDouble(int pos)
           
 double getDouble(java.lang.String field)
           
 boolean getEscapeProcessing()
           
 int getFetchDirection()
           
 int getFetchSize()
           
 float getFloat(int pos)
           
 float getFloat(java.lang.String field)
           
 int getInt(int pos)
           
 int getInt(java.lang.String field)
           
 long getLong(int pos)
           
 long getLong(java.lang.String field)
           
 int getMaxFieldSize()
           
 int getMaxRows()
           
 java.sql.ResultSetMetaData getMetaData()
           
 java.lang.Object getObject(int pos)
           
 java.lang.Object getObject(int pos, java.util.Map map)
           
 java.lang.Object getObject(java.lang.String field)
           
 java.lang.Object getObject(java.lang.String field, java.util.Map map)
           
 java.lang.String getPassword()
           
 int getQueryTimeout()
           
 java.sql.Ref getRef(int pos)
           
 java.sql.Ref getRef(java.lang.String field)
           
 int getRow()
           
 short getShort(int pos)
           
 short getShort(java.lang.String field)
           
 java.sql.Statement getStatement()
           
 java.lang.String getString(int pos)
           
 java.lang.String getString(java.lang.String field)
           
 java.sql.Time getTime(int pos)
           
 java.sql.Time getTime(int pos, java.util.Calendar calendar)
           
 java.sql.Time getTime(java.lang.String field)
           
 java.sql.Time getTime(java.lang.String pos, java.util.Calendar calendar)
           
 java.sql.Timestamp getTimestamp(int pos)
           
 java.sql.Timestamp getTimestamp(int fieldName, java.util.Calendar calendar)
           
 java.sql.Timestamp getTimestamp(java.lang.String field)
           
 java.sql.Timestamp getTimestamp(java.lang.String fieldName, java.util.Calendar calendar)
           
 int getTransactionIsolation()
           
 int getType()
           
 java.util.Map getTypeMap()
           
 java.io.InputStream getUnicodeStream(int pos)
          Deprecated.  
 java.io.InputStream getUnicodeStream(java.lang.String field)
          Deprecated.  
 java.lang.String getUrl()
           
 java.net.URL getURL(int pos)
           
 java.net.URL getURL(java.lang.String name)
           
 java.lang.String getUsername()
           
 java.sql.SQLWarning getWarnings()
           
 void init(java.sql.ResultSet set)
           
 void insertRow()
           
 boolean isAfterLast()
           
 boolean isBeforeFirst()
           
 boolean isFirst()
           
 boolean isLast()
           
 boolean isReadOnly()
           
 boolean last()
           
 void moveToCurrentRow()
           
 void moveToInsertRow()
           
 boolean next()
           
 boolean previous()
           
 void refreshRow()
           
 boolean relative(int type)
           
 void removeRowSetListener(javax.sql.RowSetListener listener)
           
 boolean rowDeleted()
           
 boolean rowInserted()
           
 boolean rowUpdated()
           
 void setArray(int pos, java.sql.Array array)
           
 void setAsciiStream(int pos, java.io.InputStream value, int length)
           
 void setBigDecimal(int pos, java.math.BigDecimal value)
           
 void setBinaryStream(int pos, java.io.InputStream in, int length)
           
 void setBlob(int pos, java.sql.Blob value)
           
 void setBoolean(int pos, boolean b)
           
 void setByte(int pos, byte b)
           
 void setBytes(int pos, byte[] value)
           
 void setCharacterStream(int pos, java.io.Reader in, int length)
           
 void setClob(int pos, java.sql.Clob value)
           
 void setCommand(java.lang.String command)
           
 void setConcurrency(int type)
           
 void setDataSourceName(java.lang.String name)
           
 void setDate(int pos, java.sql.Date value)
           
 void setDate(int pos, java.sql.Date value, java.util.Calendar calendar)
           
 void setDouble(int pos, double value)
           
 void setEscapeProcessing(boolean process)
           
 void setFetchDirection(int direction)
           
 void setFetchSize(int size)
           
 void setFloat(int pos, float value)
           
 void setInt(int pos, int value)
           
 void setLong(int pos, long value)
           
 void setMaxFieldSize(int maxFieldSize)
           
 void setMaxRows(int rows)
           
 void setNull(int pos, int type)
           
 void setNull(int pos, int type, java.lang.String name)
           
 void setObject(int pos, java.lang.Object value)
           
 void setObject(int pos, java.lang.Object value, int a)
           
 void setObject(int pos, java.lang.Object value, int a, int b)
           
 void setPassword(java.lang.String password)
           
 void setQueryTimeout(int queryTimeout)
           
 void setReadOnly(boolean readOnly)
           
 void setRef(int pos, java.sql.Ref value)
           
 void setShort(int pos, short s)
           
 void setString(int pos, java.lang.String value)
           
 void setTime(int pos, java.sql.Time value)
           
 void setTime(int pos, java.sql.Time value, java.util.Calendar calendar)
           
 void setTimestamp(int pos, java.sql.Timestamp value)
           
 void setTimestamp(int pos, java.sql.Timestamp value, java.util.Calendar calendar)
           
 void setTransactionIsolation(int isolation)
           
 void setType(int type)
           
 void setTypeMap(java.util.Map map)
           
 void setUnicodeStream(int pos, java.io.InputStream value, int length)
           
 void setUrl(java.lang.String url)
           
 void setUsername(java.lang.String name)
           
 void updateArray(int pos, java.sql.Array array)
           
 void updateArray(java.lang.String name, java.sql.Array array)
           
 void updateAsciiStream(int pos, java.io.InputStream stream, int length)
           
 void updateAsciiStream(java.lang.String field, java.io.InputStream stream, int length)
           
 void updateBigDecimal(int pos, java.math.BigDecimal decimal)
           
 void updateBigDecimal(java.lang.String field, java.math.BigDecimal decimal)
           
 void updateBinaryStream(int pos, java.io.InputStream stream, int length)
           
 void updateBinaryStream(java.lang.String field, java.io.InputStream stream, int length)
           
 void updateBlob(int pos, java.sql.Blob blob)
           
 void updateBlob(java.lang.String name, java.sql.Blob blob)
           
 void updateBoolean(int pos, boolean value)
           
 void updateBoolean(java.lang.String field, boolean huh)
           
 void updateByte(int pos, byte value)
           
 void updateByte(java.lang.String field, byte value)
           
 void updateBytes(int pos, byte[] data)
           
 void updateBytes(java.lang.String field, byte[] data)
           
 void updateCharacterStream(int pos, java.io.Reader in, int length)
           
 void updateCharacterStream(java.lang.String field, java.io.Reader in, int length)
           
 void updateClob(int pos, java.sql.Clob clob)
           
 void updateClob(java.lang.String name, java.sql.Clob clob)
           
 void updateDate(int pos, java.sql.Date date)
           
 void updateDate(java.lang.String field, java.sql.Date date)
           
 void updateDouble(int pos, double value)
           
 void updateDouble(java.lang.String field, double value)
           
 void updateFloat(int pos, float value)
           
 void updateFloat(java.lang.String field, float value)
           
 void updateInt(int pos, int value)
           
 void updateInt(java.lang.String field, int value)
           
 void updateLong(int pos, long value)
           
 void updateLong(java.lang.String field, long value)
           
 void updateNull(int pos)
           
 void updateNull(java.lang.String field)
           
 void updateObject(int pos, java.lang.Object object)
           
 void updateObject(int pos, java.lang.Object object, int length)
           
 void updateObject(java.lang.String field, java.lang.Object object)
           
 void updateObject(java.lang.String field, java.lang.Object object, int length)
           
 void updateRef(int pos, java.sql.Ref ref)
           
 void updateRef(java.lang.String name, java.sql.Ref ref)
           
 void updateRow()
           
 void updateShort(int pos, short value)
           
 void updateShort(java.lang.String field, short value)
           
 void updateString(int pos, java.lang.String string)
           
 void updateString(java.lang.String field, java.lang.String string)
           
 void updateTime(int pos, java.sql.Time time)
           
 void updateTime(java.lang.String field, java.sql.Time time)
           
 void updateTimestamp(int pos, java.sql.Timestamp timestamp)
           
 void updateTimestamp(java.lang.String field, java.sql.Timestamp timestamp)
           
 boolean wasNull()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serialVersionUID

public static final long serialVersionUID
See Also:
Constant Field Values
Constructor Detail

SerializableRowSet

public SerializableRowSet(java.sql.ResultSet set,
                          java.lang.String command,
                          java.lang.String dataSourceName,
                          java.util.Map typeMap)
                   throws java.sql.SQLException
Throws:
java.sql.SQLException
Method Detail

init

public void init(java.sql.ResultSet set)
          throws java.sql.SQLException
Throws:
java.sql.SQLException

clearParameters

public void clearParameters()
Specified by:
clearParameters in interface javax.sql.RowSet

findColumn

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

setTypeMap

public void setTypeMap(java.util.Map map)
Specified by:
setTypeMap in interface javax.sql.RowSet

getPassword

public java.lang.String getPassword()
Specified by:
getPassword in interface javax.sql.RowSet

setPassword

public void setPassword(java.lang.String password)
Specified by:
setPassword in interface javax.sql.RowSet

getQueryTimeout

public int getQueryTimeout()
Specified by:
getQueryTimeout in interface javax.sql.RowSet

setQueryTimeout

public void setQueryTimeout(int queryTimeout)
Specified by:
setQueryTimeout in interface javax.sql.RowSet

getTransactionIsolation

public int getTransactionIsolation()
Specified by:
getTransactionIsolation in interface javax.sql.RowSet

getTypeMap

public java.util.Map getTypeMap()
Specified by:
getTypeMap in interface javax.sql.RowSet

getEscapeProcessing

public boolean getEscapeProcessing()
Specified by:
getEscapeProcessing in interface javax.sql.RowSet

setEscapeProcessing

public void setEscapeProcessing(boolean process)
Specified by:
setEscapeProcessing in interface javax.sql.RowSet

getMaxFieldSize

public int getMaxFieldSize()
Specified by:
getMaxFieldSize in interface javax.sql.RowSet

setMaxFieldSize

public void setMaxFieldSize(int maxFieldSize)
Specified by:
setMaxFieldSize in interface javax.sql.RowSet

getMaxRows

public int getMaxRows()
Specified by:
getMaxRows in interface javax.sql.RowSet

setMaxRows

public void setMaxRows(int rows)
Specified by:
setMaxRows in interface javax.sql.RowSet

addRowSetListener

public void addRowSetListener(javax.sql.RowSetListener listener)
Specified by:
addRowSetListener in interface javax.sql.RowSet

execute

public void execute()
Specified by:
execute in interface javax.sql.RowSet

getCommand

public java.lang.String getCommand()
Specified by:
getCommand in interface javax.sql.RowSet

getDataSourceName

public java.lang.String getDataSourceName()
Specified by:
getDataSourceName in interface javax.sql.RowSet

getMetaData

public java.sql.ResultSetMetaData getMetaData()
                                       throws java.sql.SQLException
Specified by:
getMetaData 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

moveToCurrentRow

public void moveToCurrentRow()
                      throws java.sql.SQLException
Specified by:
moveToCurrentRow 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

setType

public void setType(int type)
Specified by:
setType in interface javax.sql.RowSet

setTransactionIsolation

public void setTransactionIsolation(int isolation)
Specified by:
setTransactionIsolation in interface javax.sql.RowSet

insertRow

public void insertRow()
               throws java.sql.SQLException
Specified by:
insertRow 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

cancelRowUpdates

public void cancelRowUpdates()
                      throws java.sql.SQLException
Specified by:
cancelRowUpdates 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

refreshRow

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

absolute

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

updateNull

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

updateInt

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

updateInt

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

updateShort

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

updateShort

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

updateBytes

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

updateTime

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

updateString

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

updateAsciiStream

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

updateBinaryStream

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

updateCharacterStream

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

updateObject

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

updateObject

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

getArray

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

updateBigDecimal

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

updateTimestamp

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

updateDate

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

updateByte

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

updateFloat

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

updateDouble

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

updateLong

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

updateBoolean

public void updateBoolean(int pos,
                          boolean value)
                   throws java.sql.SQLException
Specified by:
updateBoolean 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

first

public boolean first()
              throws java.sql.SQLException
Specified by:
first 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

isBeforeFirst

public boolean isBeforeFirst()
                      throws java.sql.SQLException
Specified by:
isBeforeFirst 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

isAfterLast

public boolean isAfterLast()
                    throws java.sql.SQLException
Specified by:
isAfterLast 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

last

public boolean last()
             throws java.sql.SQLException
Specified by:
last 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

isLast

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

relative

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

setFetchSize

public void setFetchSize(int size)
                  throws java.sql.SQLException
Specified by:
setFetchSize 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

setFetchDirection

public void setFetchDirection(int direction)
                       throws java.sql.SQLException
Specified by:
setFetchDirection 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

getConcurrency

public int getConcurrency()
                   throws java.sql.SQLException
Specified by:
getConcurrency 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

close

public void close()
           throws java.sql.SQLException
Specified by:
close 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

getDate

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

getTime

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

getDate

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

getTime

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

getBytes

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

getBytes

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

getObject

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

getObject

public java.lang.Object getObject(int pos,
                                  java.util.Map map)
                           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 field,
                                  java.util.Map map)
                           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 field)
                           throws java.sql.SQLException
Specified by:
getObject in interface java.sql.ResultSet
Throws:
java.sql.SQLException

getString

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

getURL

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

getURL

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

getTimestamp

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

getAsciiStream

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

getUnicodeStream

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

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

getBinaryStream

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

getByte

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

getLong

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

getShort

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

getBigDecimal

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

getBigDecimal

public java.math.BigDecimal getBigDecimal(int pos,
                                          int pos2)
                                   throws java.sql.SQLException
Deprecated. 

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

getFloat

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

getDouble

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

getBoolean

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

updateNull

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

updateBytes

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

updateTime

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

updateString

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

updateAsciiStream

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

updateBinaryStream

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

updateCharacterStream

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

updateObject

public void updateObject(java.lang.String field,
                         java.lang.Object object,
                         int length)
                  throws java.sql.SQLException
Specified by:
updateObject in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateObject

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

getArray

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

updateBigDecimal

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

updateTimestamp

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

updateDate

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

updateByte

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

updateFloat

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

updateDouble

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

updateLong

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

updateBoolean

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

getString

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

getDate

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

getTimestamp

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

getTime

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

getDate

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

getTimestamp

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

getTime

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

getBigDecimal

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

getCharacterStream

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

getCharacterStream

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

getTimestamp

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

getAsciiStream

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

getUnicodeStream

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

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

getBinaryStream

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

getByte

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

getShort

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

getInt

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

getInt

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

getLong

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

getBigDecimal

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

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

getFloat

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

getDouble

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

getBoolean

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

getClob

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

getBlob

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

getRef

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

getClob

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

getBlob

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

getRef

public java.sql.Ref getRef(java.lang.String field)
                    throws java.sql.SQLException
Specified by:
getRef 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

getStatement

public java.sql.Statement getStatement()
                                throws java.sql.SQLException
Specified by:
getStatement 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

getUrl

public java.lang.String getUrl()
Specified by:
getUrl in interface javax.sql.RowSet

setUrl

public void setUrl(java.lang.String url)
Specified by:
setUrl in interface javax.sql.RowSet

getUsername

public java.lang.String getUsername()
Specified by:
getUsername in interface javax.sql.RowSet

setUsername

public void setUsername(java.lang.String name)
Specified by:
setUsername in interface javax.sql.RowSet

isReadOnly

public boolean isReadOnly()
Specified by:
isReadOnly in interface javax.sql.RowSet

removeRowSetListener

public void removeRowSetListener(javax.sql.RowSetListener listener)
Specified by:
removeRowSetListener in interface javax.sql.RowSet

setArray

public void setArray(int pos,
                     java.sql.Array array)
              throws java.sql.SQLException
Specified by:
setArray in interface javax.sql.RowSet
Throws:
java.sql.SQLException

setBinaryStream

public void setBinaryStream(int pos,
                            java.io.InputStream in,
                            int length)
                     throws java.sql.SQLException
Specified by:
setBinaryStream in interface javax.sql.RowSet
Throws:
java.sql.SQLException

setBoolean

public void setBoolean(int pos,
                       boolean b)
                throws java.sql.SQLException
Specified by:
setBoolean in interface javax.sql.RowSet
Throws:
java.sql.SQLException

setByte

public void setByte(int pos,
                    byte b)
             throws java.sql.SQLException
Specified by:
setByte in interface javax.sql.RowSet
Throws:
java.sql.SQLException

setShort

public void setShort(int pos,
                     short s)
              throws java.sql.SQLException
Specified by:
setShort in interface javax.sql.RowSet
Throws:
java.sql.SQLException

setInt

public void setInt(int pos,
                   int value)
            throws java.sql.SQLException
Specified by:
setInt in interface javax.sql.RowSet
Throws:
java.sql.SQLException

setLong

public void setLong(int pos,
                    long value)
             throws java.sql.SQLException
Specified by:
setLong in interface javax.sql.RowSet
Throws:
java.sql.SQLException

setFloat

public void setFloat(int pos,
                     float value)
              throws java.sql.SQLException
Specified by:
setFloat in interface javax.sql.RowSet
Throws:
java.sql.SQLException

setDouble

public void setDouble(int pos,
                      double value)
               throws java.sql.SQLException
Specified by:
setDouble in interface javax.sql.RowSet
Throws:
java.sql.SQLException

setBigDecimal

public void setBigDecimal(int pos,
                          java.math.BigDecimal value)
                   throws java.sql.SQLException
Specified by:
setBigDecimal in interface javax.sql.RowSet
Throws:
java.sql.SQLException

setString

public void setString(int pos,
                      java.lang.String value)
               throws java.sql.SQLException
Specified by:
setString in interface javax.sql.RowSet
Throws:
java.sql.SQLException

setBytes

public void setBytes(int pos,
                     byte[] value)
              throws java.sql.SQLException
Specified by:
setBytes in interface javax.sql.RowSet
Throws:
java.sql.SQLException

setDate

public void setDate(int pos,
                    java.sql.Date value)
             throws java.sql.SQLException
Specified by:
setDate in interface javax.sql.RowSet
Throws:
java.sql.SQLException

setNull

public void setNull(int pos,
                    int type)
             throws java.sql.SQLException
Specified by:
setNull in interface javax.sql.RowSet
Throws:
java.sql.SQLException

setCharacterStream

public void setCharacterStream(int pos,
                               java.io.Reader in,
                               int length)
                        throws java.sql.SQLException
Specified by:
setCharacterStream in interface javax.sql.RowSet
Throws:
java.sql.SQLException

setDate

public void setDate(int pos,
                    java.sql.Date value,
                    java.util.Calendar calendar)
             throws java.sql.SQLException
Specified by:
setDate in interface javax.sql.RowSet
Throws:
java.sql.SQLException

setNull

public void setNull(int pos,
                    int type,
                    java.lang.String name)
             throws java.sql.SQLException
Specified by:
setNull in interface javax.sql.RowSet
Throws:
java.sql.SQLException

setAsciiStream

public void setAsciiStream(int pos,
                           java.io.InputStream value,
                           int length)
                    throws java.sql.SQLException
Specified by:
setAsciiStream in interface javax.sql.RowSet
Throws:
java.sql.SQLException

setUnicodeStream

public void setUnicodeStream(int pos,
                             java.io.InputStream value,
                             int length)
                      throws java.sql.SQLException
Throws:
java.sql.SQLException

setBlob

public void setBlob(int pos,
                    java.sql.Blob value)
             throws java.sql.SQLException
Specified by:
setBlob in interface javax.sql.RowSet
Throws:
java.sql.SQLException

setClob

public void setClob(int pos,
                    java.sql.Clob value)
             throws java.sql.SQLException
Specified by:
setClob in interface javax.sql.RowSet
Throws:
java.sql.SQLException

setObject

public void setObject(int pos,
                      java.lang.Object value)
               throws java.sql.SQLException
Specified by:
setObject in interface javax.sql.RowSet
Throws:
java.sql.SQLException

setObject

public void setObject(int pos,
                      java.lang.Object value,
                      int a)
               throws java.sql.SQLException
Specified by:
setObject in interface javax.sql.RowSet
Throws:
java.sql.SQLException

setObject

public void setObject(int pos,
                      java.lang.Object value,
                      int a,
                      int b)
               throws java.sql.SQLException
Specified by:
setObject in interface javax.sql.RowSet
Throws:
java.sql.SQLException

setTimestamp

public void setTimestamp(int pos,
                         java.sql.Timestamp value)
                  throws java.sql.SQLException
Specified by:
setTimestamp in interface javax.sql.RowSet
Throws:
java.sql.SQLException

setTime

public void setTime(int pos,
                    java.sql.Time value)
             throws java.sql.SQLException
Specified by:
setTime in interface javax.sql.RowSet
Throws:
java.sql.SQLException

setRef

public void setRef(int pos,
                   java.sql.Ref value)
            throws java.sql.SQLException
Specified by:
setRef in interface javax.sql.RowSet
Throws:
java.sql.SQLException

setCommand

public void setCommand(java.lang.String command)
Specified by:
setCommand in interface javax.sql.RowSet

setConcurrency

public void setConcurrency(int type)
Specified by:
setConcurrency in interface javax.sql.RowSet

setDataSourceName

public void setDataSourceName(java.lang.String name)
Specified by:
setDataSourceName in interface javax.sql.RowSet

setReadOnly

public void setReadOnly(boolean readOnly)
Specified by:
setReadOnly in interface javax.sql.RowSet

setTime

public void setTime(int pos,
                    java.sql.Time value,
                    java.util.Calendar calendar)
             throws java.sql.SQLException
Specified by:
setTime in interface javax.sql.RowSet
Throws:
java.sql.SQLException

setTimestamp

public void setTimestamp(int pos,
                         java.sql.Timestamp value,
                         java.util.Calendar calendar)
                  throws java.sql.SQLException
Specified by:
setTimestamp in interface javax.sql.RowSet
Throws:
java.sql.SQLException

updateClob

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

updateClob

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

updateBlob

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

updateBlob

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

updateArray

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

updateArray

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

updateRef

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

updateRef

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