public class QueryTag extends QueryTagSupport
<query>
using the container's EL implementation.dataSourceSpecified, maxRows, maxRowsSpecified, rawDataSource, sql, startRow
bodyContent
id, pageContext
EVAL_BODY_BUFFERED, EVAL_BODY_TAG
EVAL_BODY_AGAIN
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
Constructor and Description |
---|
QueryTag() |
Modifier and Type | Method and Description |
---|---|
int |
doStartTag()
Prepares for execution by setting the initial state, such as
getting the
Connection |
void |
release()
Release state.
|
void |
setDataSource(String expression) |
void |
setMaxRows(String expression) |
void |
setSql(String expression) |
void |
setStartRow(String expression) |
addSQLParameter, doCatch, doEndTag, doFinally, setScope, setVar
doAfterBody, doInitBody, getBodyContent, getPreviousOut, setBodyContent
findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValue
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getParent, setPageContext, setParent
public int doStartTag() throws JspException
QueryTagSupport
Connection
doStartTag
in interface Tag
doStartTag
in class QueryTagSupport
JspException
- if an error occurred while processing this tagTag.doStartTag()
public void release()
BodyTagSupport
release
in interface Tag
release
in class BodyTagSupport
Tag.release()
public void setDataSource(String expression)
public void setSql(String expression)
public void setStartRow(String expression)
public void setMaxRows(String expression)
Copyright © 2017 JBoss by Red Hat. All rights reserved.