Save This Page
Home » spring-framework-2.5.5-with-dependencies » org.springframework » jdbc » support » rowset » [javadoc | source]
org.springframework.jdbc.support.rowset
public class: ResultSetWrappingSqlRowSet [javadoc | source]
java.lang.Object
   org.springframework.jdbc.support.rowset.ResultSetWrappingSqlRowSet

All Implemented Interfaces:
    SqlRowSet

Default implementation of Spring's SqlRowSet interface.

This implementation wraps a javax.sql.ResultSet, catching any SQLExceptions and translating them to the appropriate Spring DataAccessException.

The passed-in ResultSets should already be disconnected if the SqlRowSet is supposed to be usable in a disconnected fashion. This means that you will usually pass in a javax.sql.rowset.CachedRowSet, which implements the ResultSet interface.

Note: This class implements the java.io.Serializable marker interface through the SqlRowSet interface, but is only actually serializable if the disconnected ResultSet/RowSet contained in it is serializable. Most CachedRowSet implementations are serializable.

Constructor:
 public ResultSetWrappingSqlRowSet(ResultSet resultSet) throws InvalidResultSetAccessException 
    Create a new ResultSetWrappingSqlRowSet for the given ResultSet.
Method from org.springframework.jdbc.support.rowset.ResultSetWrappingSqlRowSet Summary:
absolute,   afterLast,   beforeFirst,   findColumn,   first,   getBigDecimal,   getBigDecimal,   getBoolean,   getBoolean,   getByte,   getByte,   getDate,   getDate,   getDate,   getDate,   getDouble,   getDouble,   getFloat,   getFloat,   getInt,   getInt,   getLong,   getLong,   getMetaData,   getObject,   getObject,   getObject,   getObject,   getResultSet,   getRow,   getShort,   getShort,   getString,   getString,   getTime,   getTime,   getTime,   getTime,   getTimestamp,   getTimestamp,   getTimestamp,   getTimestamp,   isAfterLast,   isBeforeFirst,   isFirst,   isLast,   last,   next,   previous,   relative,   wasNull
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.springframework.jdbc.support.rowset.ResultSetWrappingSqlRowSet Detail:
 public boolean absolute(int row) throws InvalidResultSetAccessException 
 public  void afterLast() throws InvalidResultSetAccessException 
 public  void beforeFirst() throws InvalidResultSetAccessException 
 public int findColumn(String columnName) throws InvalidResultSetAccessException 
 public boolean first() throws InvalidResultSetAccessException 
 public BigDecimal getBigDecimal(int columnIndex) throws InvalidResultSetAccessException 
 public BigDecimal getBigDecimal(String columnName) throws InvalidResultSetAccessException 
 public boolean getBoolean(int columnIndex) throws InvalidResultSetAccessException 
 public boolean getBoolean(String columnName) throws InvalidResultSetAccessException 
 public byte getByte(int columnIndex) throws InvalidResultSetAccessException 
 public byte getByte(String columnName) throws InvalidResultSetAccessException 
 public Date getDate(int columnIndex) throws InvalidResultSetAccessException 
 public Date getDate(String columnName) throws InvalidResultSetAccessException 
 public Date getDate(int columnIndex,
    Calendar cal) throws InvalidResultSetAccessException 
 public Date getDate(String columnName,
    Calendar cal) throws InvalidResultSetAccessException 
 public double getDouble(int columnIndex) throws InvalidResultSetAccessException 
 public double getDouble(String columnName) throws InvalidResultSetAccessException 
 public float getFloat(int columnIndex) throws InvalidResultSetAccessException 
 public float getFloat(String columnName) throws InvalidResultSetAccessException 
 public int getInt(int columnIndex) throws InvalidResultSetAccessException 
 public int getInt(String columnName) throws InvalidResultSetAccessException 
 public long getLong(int columnIndex) throws InvalidResultSetAccessException 
 public long getLong(String columnName) throws InvalidResultSetAccessException 
 public final SqlRowSetMetaData getMetaData() 
 public Object getObject(int columnIndex) throws InvalidResultSetAccessException 
 public Object getObject(String columnName) throws InvalidResultSetAccessException 
 public Object getObject(int i,
    Map map) throws InvalidResultSetAccessException 
 public Object getObject(String columnName,
    Map map) throws InvalidResultSetAccessException 
 public final ResultSet getResultSet() 
    Return the underlying ResultSet (usually a javax.sql.rowset.CachedRowSet).
 public int getRow() throws InvalidResultSetAccessException 
 public short getShort(int columnIndex) throws InvalidResultSetAccessException 
 public short getShort(String columnName) throws InvalidResultSetAccessException 
 public String getString(int columnIndex) throws InvalidResultSetAccessException 
 public String getString(String columnName) throws InvalidResultSetAccessException 
 public Time getTime(int columnIndex) throws InvalidResultSetAccessException 
 public Time getTime(String columnName) throws InvalidResultSetAccessException 
 public Time getTime(int columnIndex,
    Calendar cal) throws InvalidResultSetAccessException 
 public Time getTime(String columnName,
    Calendar cal) throws InvalidResultSetAccessException 
 public Timestamp getTimestamp(int columnIndex) throws InvalidResultSetAccessException 
 public Timestamp getTimestamp(String columnName) throws InvalidResultSetAccessException 
 public Timestamp getTimestamp(int columnIndex,
    Calendar cal) throws InvalidResultSetAccessException 
 public Timestamp getTimestamp(String columnName,
    Calendar cal) throws InvalidResultSetAccessException 
 public boolean isAfterLast() throws InvalidResultSetAccessException 
 public boolean isBeforeFirst() throws InvalidResultSetAccessException 
 public boolean isFirst() throws InvalidResultSetAccessException 
 public boolean isLast() throws InvalidResultSetAccessException 
 public boolean last() throws InvalidResultSetAccessException 
 public boolean next() throws InvalidResultSetAccessException 
 public boolean previous() throws InvalidResultSetAccessException 
 public boolean relative(int rows) throws InvalidResultSetAccessException 
 public boolean wasNull() throws InvalidResultSetAccessException