convirgance
Tag query


Executes a database query and assigns the resulting Iterable<JSONObject> to the specified variable. Bind variables will be pulled from the JSP scope heirarchy unless a bind object is defined. If a bind object is defined, bind variables will be pulled from that instead.

Example:

<virge:set var="zipcode" value="12345"/>
<virge:query var="customers" jndi="jdbc/example">
select * from CUSTOMER where ZIP = :zipcode
</virge:query>


Tag Information
Tag Classcom.invirgance.convirgance.web.tag.QueryTag
TagExtraInfo ClassNone
Body Contenttagdependent
Display NameNone

Attributes
NameRequiredRequest-timeTypeDescription
bindingfalsetruecom.invirgance.convirgance.json.JSONObjectNo Description
jnditruetruejava.lang.StringNo Description
scopefalsefalsejava.lang.StringScope of the variable (i.e. page, request, session, or application)
vartruefalsejava.lang.String Variable to assign the resulting Iterable<JSONObject> to

Variables
No Variables Defined.


Output Generated by Tag Library Documentation Generator. Java, JSP, and JavaServer Pages are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries. Copyright 2002-4 Sun Microsystems, Inc. 4150 Network Circle Santa Clara, CA 95054, U.S.A. All Rights Reserved.