public class ResultSetWrappingSqlRowSet implements SqlRowSet(Code)
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.
author: Thomas Risberg author: Juergen Hoeller since: 1.2 See Also:java.sql.ResultSet See Also:javax.sql.rowset.CachedRowSet