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
Constructors -
Method Summary
-
Constructor Details
-
ResultSupport
public ResultSupport()
-
-
Method Details
-
toResult
Converts aResultSetobject to aResultobject.- Parameters:
rs- theResultSetobject- Returns:
- The
Resultobject created from theResultSet
-
toResult
ConvertsmaxRowsof aResultSetobject to aResultobject.- Parameters:
rs- theResultSetobjectmaxRows- the maximum number of rows to be cached into theResultobject.- Returns:
- The
Resultobject created from theResultSet, limited bymaxRows
-