Package jakarta.servlet.jsp.jstl.sql
Class ResultSupport
java.lang.Object
jakarta.servlet.jsp.jstl.sql.ResultSupport
Supports the creation of a jakarta.servlet.jsp.jstl.sql.Result object from a source java.sql.ResultSet object. A Result object makes it much easier for page authors to access and manipulate the data resulting from a SQL query.
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
ResultSupport
public ResultSupport()
-
-
Method Details
-
toResult
Converts aResultSet
object to aResult
object.- Parameters:
rs
- theResultSet
object- Returns:
- The
Result
object created from theResultSet
-
toResult
ConvertsmaxRows
of aResultSet
object to aResult
object.- Parameters:
rs
- theResultSet
objectmaxRows
- the maximum number of rows to be cached into theResult
object.- Returns:
- The
Result
object created from theResultSet
, limited bymaxRows
-