|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjavax.servlet.jsp.jstl.sql.ResultSupport
public class ResultSupport
Supports the creation of a javax.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 | |
|---|---|
ResultSupport()
|
|
| Method Summary | |
|---|---|
static Result |
toResult(java.sql.ResultSet rs)
Converts a ResultSet object to a Result object. |
static Result |
toResult(java.sql.ResultSet rs,
int maxRows)
Converts maxRows of a ResultSet object to a
Result object. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ResultSupport()
| Method Detail |
|---|
public static Result toResult(java.sql.ResultSet rs)
ResultSet object to a Result object.
rs - the ResultSet object
Result object created from the ResultSet
public static Result toResult(java.sql.ResultSet rs,
int maxRows)
maxRows of a ResultSet object to a
Result object.
rs - the ResultSet objectmaxRows - the maximum number of rows to be cached into the Result object.
Result object created from the ResultSet,
limited by maxRows
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Copyright © 2009-2011, Oracle Corporation and/or its affiliates. All Rights Reserved. Use is subject to license terms.
Generated on 10-February-2011 12:41