public
classResultSetWrappingSqlRowSet
implements
SqlRowSet
Overview
Inheritance
Members
Usage
Source
Books
Since1.2
VersionNot specified.
Author(s)Thomas Risberg, Juergen Hoeller
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.
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.Serializablemarker 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.