fr.cnes.sitools.datasource.jdbc.dbexplorer
Class DBResultSet

java.lang.Object
  extended by fr.cnes.sitools.datasource.jdbc.dbexplorer.DBResultSet
All Implemented Interfaces:
java.sql.ResultSet, java.sql.Wrapper

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

Encapsulation of a result set with its database connection in order to release it after use. TODO DESIGN AbstractResultSet > AbstractResultSet générique (XMLDBResultSet, DBSQLResultSet) > implements closable

Author:
jp.boignard (AKKA Technologies)

Field Summary
 
Fields inherited from interface java.sql.ResultSet
CLOSE_CURSORS_AT_COMMIT, CONCUR_READ_ONLY, CONCUR_UPDATABLE, FETCH_FORWARD, FETCH_REVERSE, FETCH_UNKNOWN, HOLD_CURSORS_OVER_COMMIT, TYPE_FORWARD_ONLY, TYPE_SCROLL_INSENSITIVE, TYPE_SCROLL_SENSITIVE
 
Constructor Summary
DBResultSet(java.sql.ResultSet localResultSet, java.sql.Statement stat, java.sql.Connection conn)
          Complete constructor
 
Method Summary
 boolean absolute(int row)
           
 void afterLast()
           
 void beforeFirst()
           
 void cancelRowUpdates()
           
 void clearWarnings()
           
 void close()
           
 void deleteRow()
           
 int findColumn(java.lang.String columnLabel)
           
 boolean first()
           
 java.sql.Array getArray(int columnIndex)
           
 java.sql.Array getArray(java.lang.String columnLabel)
           
 java.io.InputStream getAsciiStream(int columnIndex)
           
 java.io.InputStream getAsciiStream(java.lang.String columnLabel)
           
 java.math.BigDecimal getBigDecimal(int columnIndex)
           
 java.math.BigDecimal getBigDecimal(int columnIndex, int scale)
           
 java.math.BigDecimal getBigDecimal(java.lang.String columnLabel)
           
 java.math.BigDecimal getBigDecimal(java.lang.String columnLabel, int scale)
           
 java.io.InputStream getBinaryStream(int columnIndex)
           
 java.io.InputStream getBinaryStream(java.lang.String columnLabel)
           
 java.sql.Blob getBlob(int columnIndex)
           
 java.sql.Blob getBlob(java.lang.String columnLabel)
           
 boolean getBoolean(int columnIndex)
           
 boolean getBoolean(java.lang.String columnLabel)
           
 byte getByte(int columnIndex)
           
 byte getByte(java.lang.String columnLabel)
           
 byte[] getBytes(int columnIndex)
           
 byte[] getBytes(java.lang.String columnLabel)
           
 java.io.Reader getCharacterStream(int columnIndex)
           
 java.io.Reader getCharacterStream(java.lang.String columnLabel)
           
 java.sql.Clob getClob(int columnIndex)
           
 java.sql.Clob getClob(java.lang.String columnLabel)
           
 int getConcurrency()
           
 java.lang.String getCursorName()
           
 java.sql.Date getDate(int columnIndex)
           
 java.sql.Date getDate(int columnIndex, java.util.Calendar cal)
           
 java.sql.Date getDate(java.lang.String columnLabel)
           
 java.sql.Date getDate(java.lang.String columnLabel, java.util.Calendar cal)
           
 double getDouble(int columnIndex)
           
 double getDouble(java.lang.String columnLabel)
           
 int getFetchDirection()
           
 int getFetchSize()
           
 float getFloat(int columnIndex)
           
 float getFloat(java.lang.String columnLabel)
           
 int getHoldability()
           
 int getInt(int columnIndex)
           
 int getInt(java.lang.String columnLabel)
           
 long getLong(int columnIndex)
           
 long getLong(java.lang.String columnLabel)
           
 java.sql.ResultSetMetaData getMetaData()
           
 java.io.Reader getNCharacterStream(int columnIndex)
           
 java.io.Reader getNCharacterStream(java.lang.String columnLabel)
           
 java.sql.NClob getNClob(int columnIndex)
           
 java.sql.NClob getNClob(java.lang.String columnLabel)
           
 java.lang.String getNString(int columnIndex)
           
 java.lang.String getNString(java.lang.String columnLabel)
           
 java.lang.Object getObject(int columnIndex)
           
<T> T
getObject(int columnIndex, java.lang.Class<T> type)
           Retrieves the value of the designated column in the current row of this ResultSet object and will convert from the SQL type of the column to the requested Java data type, if the conversion is supported.
 java.lang.Object getObject(int columnIndex, java.util.Map<java.lang.String,java.lang.Class<?>> map)
           
 java.lang.Object getObject(java.lang.String columnLabel)
           
<T> T
getObject(java.lang.String columnLabel, java.lang.Class<T> type)
           Retrieves the value of the designated column in the current row of this ResultSet object and will convert from the SQL type of the column to the requested Java data type, if the conversion is supported.
 java.lang.Object getObject(java.lang.String columnLabel, java.util.Map<java.lang.String,java.lang.Class<?>> map)
           
 java.sql.Ref getRef(int columnIndex)
           
 java.sql.Ref getRef(java.lang.String columnLabel)
           
 int getRow()
           
 java.sql.RowId getRowId(int columnIndex)
           
 java.sql.RowId getRowId(java.lang.String columnLabel)
           
 short getShort(int columnIndex)
           
 short getShort(java.lang.String columnLabel)
           
 java.sql.SQLXML getSQLXML(int columnIndex)
           
 java.sql.SQLXML getSQLXML(java.lang.String columnLabel)
           
 java.sql.Statement getStatement()
           
 java.lang.String getString(int columnIndex)
           
 java.lang.String getString(java.lang.String columnLabel)
           
 java.sql.Time getTime(int columnIndex)
           
 java.sql.Time getTime(int columnIndex, java.util.Calendar cal)
           
 java.sql.Time getTime(java.lang.String columnLabel)
           
 java.sql.Time getTime(java.lang.String columnLabel, java.util.Calendar cal)
           
 java.sql.Timestamp getTimestamp(int columnIndex)
           
 java.sql.Timestamp getTimestamp(int columnIndex, java.util.Calendar cal)
           
 java.sql.Timestamp getTimestamp(java.lang.String columnLabel)
           
 java.sql.Timestamp getTimestamp(java.lang.String columnLabel, java.util.Calendar cal)
           
 int getType()
           
 java.io.InputStream getUnicodeStream(int columnIndex)
           
 java.io.InputStream getUnicodeStream(java.lang.String columnLabel)
           
 java.net.URL getURL(int columnIndex)
           
 java.net.URL getURL(java.lang.String columnLabel)
           
 java.sql.SQLWarning getWarnings()
           
 void insertRow()
           
 boolean isAfterLast()
           
 boolean isBeforeFirst()
           
 boolean isClosed()
           
 boolean isFirst()
           
 boolean isLast()
           
 boolean isWrapperFor(java.lang.Class<?> iface)
           
 boolean last()
           
 void moveToCurrentRow()
           
 void moveToInsertRow()
           
 boolean next()
           
 boolean previous()
           
 void refreshRow()
           
 boolean relative(int rows)
           
 boolean rowDeleted()
           
 boolean rowInserted()
           
 boolean rowUpdated()
           
 void setFetchDirection(int direction)
           
 void setFetchSize(int rows)
           
<T> T
unwrap(java.lang.Class<T> iface)
           
 void updateArray(int columnIndex, java.sql.Array x)
           
 void updateArray(java.lang.String columnLabel, java.sql.Array x)
           
 void updateAsciiStream(int columnIndex, java.io.InputStream x)
           
 void updateAsciiStream(int columnIndex, java.io.InputStream x, int length)
           
 void updateAsciiStream(int columnIndex, java.io.InputStream x, long length)
           
 void updateAsciiStream(java.lang.String columnLabel, java.io.InputStream x)
           
 void updateAsciiStream(java.lang.String columnLabel, java.io.InputStream x, int length)
           
 void updateAsciiStream(java.lang.String columnLabel, java.io.InputStream x, long length)
           
 void updateBigDecimal(int columnIndex, java.math.BigDecimal x)
           
 void updateBigDecimal(java.lang.String columnLabel, java.math.BigDecimal x)
           
 void updateBinaryStream(int columnIndex, java.io.InputStream x)
           
 void updateBinaryStream(int columnIndex, java.io.InputStream x, int length)
           
 void updateBinaryStream(int columnIndex, java.io.InputStream x, long length)
           
 void updateBinaryStream(java.lang.String columnLabel, java.io.InputStream x)
           
 void updateBinaryStream(java.lang.String columnLabel, java.io.InputStream x, int length)
           
 void updateBinaryStream(java.lang.String columnLabel, java.io.InputStream x, long length)
           
 void updateBlob(int columnIndex, java.sql.Blob x)
           
 void updateBlob(int columnIndex, java.io.InputStream inputStream)
           
 void updateBlob(int columnIndex, java.io.InputStream inputStream, long length)
           
 void updateBlob(java.lang.String columnLabel, java.sql.Blob x)
           
 void updateBlob(java.lang.String columnLabel, java.io.InputStream inputStream)
           
 void updateBlob(java.lang.String columnLabel, java.io.InputStream inputStream, long length)
           
 void updateBoolean(int columnIndex, boolean x)
           
 void updateBoolean(java.lang.String columnLabel, boolean x)
           
 void updateByte(int columnIndex, byte x)
           
 void updateByte(java.lang.String columnLabel, byte x)
           
 void updateBytes(int columnIndex, byte[] x)
           
 void updateBytes(java.lang.String columnLabel, byte[] x)
           
 void updateCharacterStream(int columnIndex, java.io.Reader x)
           
 void updateCharacterStream(int columnIndex, java.io.Reader x, int length)
           
 void updateCharacterStream(int columnIndex, java.io.Reader x, long length)
           
 void updateCharacterStream(java.lang.String columnLabel, java.io.Reader reader)
           
 void updateCharacterStream(java.lang.String columnLabel, java.io.Reader reader, int length)
           
 void updateCharacterStream(java.lang.String columnLabel, java.io.Reader reader, long length)
           
 void updateClob(int columnIndex, java.sql.Clob x)
           
 void updateClob(int columnIndex, java.io.Reader reader)
           
 void updateClob(int columnIndex, java.io.Reader reader, long length)
           
 void updateClob(java.lang.String columnLabel, java.sql.Clob x)
           
 void updateClob(java.lang.String columnLabel, java.io.Reader reader)
           
 void updateClob(java.lang.String columnLabel, java.io.Reader reader, long length)
           
 void updateDate(int columnIndex, java.sql.Date x)
           
 void updateDate(java.lang.String columnLabel, java.sql.Date x)
           
 void updateDouble(int columnIndex, double x)
           
 void updateDouble(java.lang.String columnLabel, double x)
           
 void updateFloat(int columnIndex, float x)
           
 void updateFloat(java.lang.String columnLabel, float x)
           
 void updateInt(int columnIndex, int x)
           
 void updateInt(java.lang.String columnLabel, int x)
           
 void updateLong(int columnIndex, long x)
           
 void updateLong(java.lang.String columnLabel, long x)
           
 void updateNCharacterStream(int columnIndex, java.io.Reader x)
           
 void updateNCharacterStream(int columnIndex, java.io.Reader x, long length)
           
 void updateNCharacterStream(java.lang.String columnLabel, java.io.Reader reader)
           
 void updateNCharacterStream(java.lang.String columnLabel, java.io.Reader reader, long length)
           
 void updateNClob(int columnIndex, java.sql.NClob nClob)
           
 void updateNClob(int columnIndex, java.io.Reader reader)
           
 void updateNClob(int columnIndex, java.io.Reader reader, long length)
           
 void updateNClob(java.lang.String columnLabel, java.sql.NClob nClob)
           
 void updateNClob(java.lang.String columnLabel, java.io.Reader reader)
           
 void updateNClob(java.lang.String columnLabel, java.io.Reader reader, long length)
           
 void updateNString(int columnIndex, java.lang.String nString)
           
 void updateNString(java.lang.String columnLabel, java.lang.String nString)
           
 void updateNull(int columnIndex)
           
 void updateNull(java.lang.String columnLabel)
           
 void updateObject(int columnIndex, java.lang.Object x)
           
 void updateObject(int columnIndex, java.lang.Object x, int scaleOrLength)
           
 void updateObject(java.lang.String columnLabel, java.lang.Object x)
           
 void updateObject(java.lang.String columnLabel, java.lang.Object x, int scaleOrLength)
           
 void updateRef(int columnIndex, java.sql.Ref x)
           
 void updateRef(java.lang.String columnLabel, java.sql.Ref x)
           
 void updateRow()
           
 void updateRowId(int columnIndex, java.sql.RowId x)
           
 void updateRowId(java.lang.String columnLabel, java.sql.RowId x)
           
 void updateShort(int columnIndex, short x)
           
 void updateShort(java.lang.String columnLabel, short x)
           
 void updateSQLXML(int columnIndex, java.sql.SQLXML xmlObject)
           
 void updateSQLXML(java.lang.String columnLabel, java.sql.SQLXML xmlObject)
           
 void updateString(int columnIndex, java.lang.String x)
           
 void updateString(java.lang.String columnLabel, java.lang.String x)
           
 void updateTime(int columnIndex, java.sql.Time x)
           
 void updateTime(java.lang.String columnLabel, java.sql.Time x)
           
 void updateTimestamp(int columnIndex, java.sql.Timestamp x)
           
 void updateTimestamp(java.lang.String columnLabel, java.sql.Timestamp x)
           
 boolean wasNull()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DBResultSet

public DBResultSet(java.sql.ResultSet localResultSet,
                   java.sql.Statement stat,
                   java.sql.Connection conn)
Complete constructor

Parameters:
localResultSet - ResultSet
stat - Statement
conn - SQL Connection
Method Detail

absolute

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

afterLast

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

beforeFirst

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

cancelRowUpdates

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

clearWarnings

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

close

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

deleteRow

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

findColumn

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

first

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

getArray

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

getArray

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

getAsciiStream

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

getAsciiStream

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

getBigDecimal

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

getBigDecimal

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

getBigDecimal

public final java.math.BigDecimal getBigDecimal(java.lang.String columnLabel,
                                                int scale)
                                         throws java.sql.SQLException
Specified by:
getBigDecimal in interface java.sql.ResultSet
Throws:
java.sql.SQLException

getBigDecimal

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

getBinaryStream

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

getBinaryStream

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

getBlob

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

getBlob

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

getBoolean

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

getBoolean

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

getByte

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

getByte

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

getBytes

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

getBytes

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

getCharacterStream

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

getCharacterStream

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

getClob

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

getClob

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

getConcurrency

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

getCursorName

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

getDate

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

getDate

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

getDate

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

getDate

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

getDouble

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

getDouble

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

getFetchDirection

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

getFetchSize

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

getFloat

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

getFloat

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

getHoldability

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

getInt

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

getInt

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

getLong

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

getLong

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

getMetaData

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

getNCharacterStream

public final java.io.Reader getNCharacterStream(int columnIndex)
                                         throws java.sql.SQLException
Specified by:
getNCharacterStream in interface java.sql.ResultSet
Throws:
java.sql.SQLException

getNCharacterStream

public final java.io.Reader getNCharacterStream(java.lang.String columnLabel)
                                         throws java.sql.SQLException
Specified by:
getNCharacterStream in interface java.sql.ResultSet
Throws:
java.sql.SQLException

getNClob

public final java.sql.NClob getNClob(int columnIndex)
                              throws java.sql.SQLException
Specified by:
getNClob in interface java.sql.ResultSet
Throws:
java.sql.SQLException

getNClob

public final java.sql.NClob getNClob(java.lang.String columnLabel)
                              throws java.sql.SQLException
Specified by:
getNClob in interface java.sql.ResultSet
Throws:
java.sql.SQLException

getNString

public final java.lang.String getNString(int columnIndex)
                                  throws java.sql.SQLException
Specified by:
getNString in interface java.sql.ResultSet
Throws:
java.sql.SQLException

getNString

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

getObject

public final java.lang.Object getObject(int columnIndex,
                                        java.util.Map<java.lang.String,java.lang.Class<?>> map)
                                 throws java.sql.SQLException
Specified by:
getObject in interface java.sql.ResultSet
Throws:
java.sql.SQLException

getObject

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

getObject

public final java.lang.Object getObject(java.lang.String columnLabel,
                                        java.util.Map<java.lang.String,java.lang.Class<?>> map)
                                 throws java.sql.SQLException
Specified by:
getObject in interface java.sql.ResultSet
Throws:
java.sql.SQLException

getObject

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

getRef

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

getRef

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

getRow

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

getRowId

public final java.sql.RowId getRowId(int columnIndex)
                              throws java.sql.SQLException
Specified by:
getRowId in interface java.sql.ResultSet
Throws:
java.sql.SQLException

getRowId

public final java.sql.RowId getRowId(java.lang.String columnLabel)
                              throws java.sql.SQLException
Specified by:
getRowId in interface java.sql.ResultSet
Throws:
java.sql.SQLException

getSQLXML

public final java.sql.SQLXML getSQLXML(int columnIndex)
                                throws java.sql.SQLException
Specified by:
getSQLXML in interface java.sql.ResultSet
Throws:
java.sql.SQLException

getSQLXML

public final java.sql.SQLXML getSQLXML(java.lang.String columnLabel)
                                throws java.sql.SQLException
Specified by:
getSQLXML in interface java.sql.ResultSet
Throws:
java.sql.SQLException

getShort

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

getShort

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

getStatement

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

getString

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

getString

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

getTime

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

getTime

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

getTime

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

getTime

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

getTimestamp

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

getTimestamp

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

getTimestamp

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

getTimestamp

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

getType

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

getURL

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

getURL

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

getUnicodeStream

public final java.io.InputStream getUnicodeStream(int columnIndex)
                                           throws java.sql.SQLException
Specified by:
getUnicodeStream in interface java.sql.ResultSet
Throws:
java.sql.SQLException

getUnicodeStream

public final java.io.InputStream getUnicodeStream(java.lang.String columnLabel)
                                           throws java.sql.SQLException
Specified by:
getUnicodeStream in interface java.sql.ResultSet
Throws:
java.sql.SQLException

getWarnings

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

insertRow

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

isAfterLast

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

isBeforeFirst

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

isClosed

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

isFirst

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

isLast

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

isWrapperFor

public final boolean isWrapperFor(java.lang.Class<?> iface)
                           throws java.sql.SQLException
Specified by:
isWrapperFor in interface java.sql.Wrapper
Throws:
java.sql.SQLException

last

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

moveToCurrentRow

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

moveToInsertRow

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

next

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

previous

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

refreshRow

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

relative

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

rowDeleted

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

rowInserted

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

rowUpdated

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

setFetchDirection

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

setFetchSize

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

unwrap

public final <T> T unwrap(java.lang.Class<T> iface)
               throws java.sql.SQLException
Specified by:
unwrap in interface java.sql.Wrapper
Throws:
java.sql.SQLException

updateArray

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

updateArray

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

updateAsciiStream

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

updateAsciiStream

public final void updateAsciiStream(int columnIndex,
                                    java.io.InputStream x,
                                    long length)
                             throws java.sql.SQLException
Specified by:
updateAsciiStream in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateAsciiStream

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

updateAsciiStream

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

updateAsciiStream

public final void updateAsciiStream(java.lang.String columnLabel,
                                    java.io.InputStream x,
                                    long length)
                             throws java.sql.SQLException
Specified by:
updateAsciiStream in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateAsciiStream

public final void updateAsciiStream(java.lang.String columnLabel,
                                    java.io.InputStream x)
                             throws java.sql.SQLException
Specified by:
updateAsciiStream in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateBigDecimal

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

updateBigDecimal

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

updateBinaryStream

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

updateBinaryStream

public final void updateBinaryStream(int columnIndex,
                                     java.io.InputStream x,
                                     long length)
                              throws java.sql.SQLException
Specified by:
updateBinaryStream in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateBinaryStream

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

updateBinaryStream

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

updateBinaryStream

public final void updateBinaryStream(java.lang.String columnLabel,
                                     java.io.InputStream x,
                                     long length)
                              throws java.sql.SQLException
Specified by:
updateBinaryStream in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateBinaryStream

public final void updateBinaryStream(java.lang.String columnLabel,
                                     java.io.InputStream x)
                              throws java.sql.SQLException
Specified by:
updateBinaryStream in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateBlob

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

updateBlob

public final void updateBlob(int columnIndex,
                             java.io.InputStream inputStream,
                             long length)
                      throws java.sql.SQLException
Specified by:
updateBlob in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateBlob

public final void updateBlob(int columnIndex,
                             java.io.InputStream inputStream)
                      throws java.sql.SQLException
Specified by:
updateBlob in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateBlob

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

updateBlob

public final void updateBlob(java.lang.String columnLabel,
                             java.io.InputStream inputStream,
                             long length)
                      throws java.sql.SQLException
Specified by:
updateBlob in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateBlob

public final void updateBlob(java.lang.String columnLabel,
                             java.io.InputStream inputStream)
                      throws java.sql.SQLException
Specified by:
updateBlob in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateBoolean

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

updateBoolean

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

updateByte

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

updateByte

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

updateBytes

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

updateBytes

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

updateCharacterStream

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

updateCharacterStream

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

updateCharacterStream

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

updateCharacterStream

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

updateCharacterStream

public final void updateCharacterStream(java.lang.String columnLabel,
                                        java.io.Reader reader,
                                        long length)
                                 throws java.sql.SQLException
Specified by:
updateCharacterStream in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateCharacterStream

public final void updateCharacterStream(java.lang.String columnLabel,
                                        java.io.Reader reader)
                                 throws java.sql.SQLException
Specified by:
updateCharacterStream in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateClob

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

updateClob

public final void updateClob(int columnIndex,
                             java.io.Reader reader,
                             long length)
                      throws java.sql.SQLException
Specified by:
updateClob in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateClob

public final void updateClob(int columnIndex,
                             java.io.Reader reader)
                      throws java.sql.SQLException
Specified by:
updateClob in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateClob

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

updateClob

public final void updateClob(java.lang.String columnLabel,
                             java.io.Reader reader,
                             long length)
                      throws java.sql.SQLException
Specified by:
updateClob in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateClob

public final void updateClob(java.lang.String columnLabel,
                             java.io.Reader reader)
                      throws java.sql.SQLException
Specified by:
updateClob in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateDate

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

updateDate

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

updateDouble

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

updateDouble

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

updateFloat

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

updateFloat

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

updateInt

public final void updateInt(int columnIndex,
                            int x)
                     throws java.sql.SQLException
Specified by:
updateInt in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateInt

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

updateLong

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

updateLong

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

updateNCharacterStream

public final void updateNCharacterStream(int columnIndex,
                                         java.io.Reader x,
                                         long length)
                                  throws java.sql.SQLException
Specified by:
updateNCharacterStream in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateNCharacterStream

public final void updateNCharacterStream(int columnIndex,
                                         java.io.Reader x)
                                  throws java.sql.SQLException
Specified by:
updateNCharacterStream in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateNCharacterStream

public final void updateNCharacterStream(java.lang.String columnLabel,
                                         java.io.Reader reader,
                                         long length)
                                  throws java.sql.SQLException
Specified by:
updateNCharacterStream in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateNCharacterStream

public final void updateNCharacterStream(java.lang.String columnLabel,
                                         java.io.Reader reader)
                                  throws java.sql.SQLException
Specified by:
updateNCharacterStream in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateNClob

public final void updateNClob(int columnIndex,
                              java.sql.NClob nClob)
                       throws java.sql.SQLException
Specified by:
updateNClob in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateNClob

public final void updateNClob(int columnIndex,
                              java.io.Reader reader,
                              long length)
                       throws java.sql.SQLException
Specified by:
updateNClob in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateNClob

public final void updateNClob(int columnIndex,
                              java.io.Reader reader)
                       throws java.sql.SQLException
Specified by:
updateNClob in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateNClob

public final void updateNClob(java.lang.String columnLabel,
                              java.sql.NClob nClob)
                       throws java.sql.SQLException
Specified by:
updateNClob in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateNClob

public final void updateNClob(java.lang.String columnLabel,
                              java.io.Reader reader,
                              long length)
                       throws java.sql.SQLException
Specified by:
updateNClob in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateNClob

public final void updateNClob(java.lang.String columnLabel,
                              java.io.Reader reader)
                       throws java.sql.SQLException
Specified by:
updateNClob in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateNString

public final void updateNString(int columnIndex,
                                java.lang.String nString)
                         throws java.sql.SQLException
Specified by:
updateNString in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateNString

public final void updateNString(java.lang.String columnLabel,
                                java.lang.String nString)
                         throws java.sql.SQLException
Specified by:
updateNString in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateNull

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

updateNull

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

updateObject

public final void updateObject(int columnIndex,
                               java.lang.Object x,
                               int scaleOrLength)
                        throws java.sql.SQLException
Specified by:
updateObject in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateObject

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

updateObject

public final void updateObject(java.lang.String columnLabel,
                               java.lang.Object x,
                               int scaleOrLength)
                        throws java.sql.SQLException
Specified by:
updateObject in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateObject

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

updateRef

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

updateRef

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

updateRow

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

updateRowId

public final void updateRowId(int columnIndex,
                              java.sql.RowId x)
                       throws java.sql.SQLException
Specified by:
updateRowId in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateRowId

public final void updateRowId(java.lang.String columnLabel,
                              java.sql.RowId x)
                       throws java.sql.SQLException
Specified by:
updateRowId in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateSQLXML

public final void updateSQLXML(int columnIndex,
                               java.sql.SQLXML xmlObject)
                        throws java.sql.SQLException
Specified by:
updateSQLXML in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateSQLXML

public final void updateSQLXML(java.lang.String columnLabel,
                               java.sql.SQLXML xmlObject)
                        throws java.sql.SQLException
Specified by:
updateSQLXML in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateShort

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

updateShort

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

updateString

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

updateString

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

updateTime

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

updateTime

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

updateTimestamp

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

updateTimestamp

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

wasNull

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

getObject

public <T> T getObject(int columnIndex,
                       java.lang.Class<T> type)
            throws java.sql.SQLException

Retrieves the value of the designated column in the current row of this ResultSet object and will convert from the SQL type of the column to the requested Java data type, if the conversion is supported. If the conversion is not supported or null is specified for the type, a SQLException is thrown.

At a minimum, an implementation must support the conversions defined in Appendix B, Table B-3 and conversion of appropriate user defined SQL types to a Java type which implements SQLData, or Struct. Additional conversions may be supported and are vendor defined.

Type Parameters:
T - Class representing the Java data type to convert the designated column to.
Parameters:
columnIndex - the first column is 1, the second is 2, ...
type - Class representing the Java data type to convert the designated column to.
Returns:
an instance of type holding the column value
Throws:
java.sql.SQLException - if conversion is not supported, type is null or another error occurs. The getCause() method of the exception may provide a more detailed exception, for example, if a conversion error occurs
java.sql.SQLException - if the JDBC driver does not support this method

getObject

public <T> T getObject(java.lang.String columnLabel,
                       java.lang.Class<T> type)
            throws java.sql.SQLException

Retrieves the value of the designated column in the current row of this ResultSet object and will convert from the SQL type of the column to the requested Java data type, if the conversion is supported. If the conversion is not supported or null is specified for the type, a SQLException is thrown.

At a minimum, an implementation must support the conversions defined in Appendix B, Table B-3 and conversion of appropriate user defined SQL types to a Java type which implements SQLData, or Struct. Additional conversions may be supported and are vendor defined.

Type Parameters:
T - Class representing the Java data type to convert the designated column to.
Parameters:
columnLabel - the label for the column specified with the SQL AS clause. If the SQL AS clause was not specified, then the label is the name of the column
type - Class representing the Java data type to convert the designated column to.
Returns:
an instance of type holding the column value
Throws:
java.sql.SQLException - if conversion is not supported, type is null or another error occurs. The getCause() method of the exception may provide a more detailed exception, for example, if a conversion error occurs
java.sql.SQLException - if the JDBC driver does not support this method


Copyright © 2010-2013 CNES. All Rights Reserved.