public class QueryTag extends QueryTagSupport
dataSourceSpecified, maxRows, maxRowsSpecified, rawDataSource, sql, startRowbodyContentid, pageContextEVAL_BODY_BUFFERED, EVAL_BODY_TAGEVAL_BODY_AGAINEVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE| Constructor and Description |
|---|
QueryTag()
Constructs a new QueryTag.
|
| Modifier and Type | Method and Description |
|---|---|
void |
setDataSource(Object dataSource) |
void |
setMaxRows(int maxRows)
Query result can be limited by specifying
the maximum number of rows returned.
|
void |
setSql(String sql)
Setter method for the SQL statement to use for the
query.
|
void |
setStartRow(int startRow)
The index of the first row returned can be
specified using startRow.
|
addSQLParameter, doCatch, doEndTag, doFinally, doStartTag, setScope, setVardoAfterBody, doInitBody, getBodyContent, getPreviousOut, release, setBodyContentfindAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValueclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetParent, setPageContext, setParentpublic QueryTag()
public void setDataSource(Object dataSource)
public void setStartRow(int startRow)
public void setMaxRows(int maxRows)
public void setSql(String sql)
Copyright © 2018 JBoss by Red Hat. All rights reserved.