META-INF.sql.tld Maven / Gradle / Ivy
JSTL 1.1 sql library
JSTL sql
1.1
sql
http://java.sun.com/jsp/jstl/sql
Provides core validation features for JSTL tags.
org.apache.taglibs.standard.tlv.JstlSqlTLV
Provides nested database action elements with a shared Connection,
set up to execute all statements as one transaction.
transaction
org.apache.taglibs.standard.tag.rt.sql.TransactionTag
JSP
DataSource associated with the database to access. A
String value represents a relative path to a JNDI
resource or the parameters for the JDBC
DriverManager facility.
dataSource
false
true
Transaction isolation level. If not specified, it is the
isolation level the DataSource has been configured
with.
isolation
false
true
Executes the SQL query defined in its body or through the
sql attribute.
query
org.apache.taglibs.standard.tag.rt.sql.QueryTag
JSP
Name of the exported scoped variable for the
query result. The type of the scoped variable is
javax.servlet.jsp.jstl.sql.
Result (see Chapter 16 "Java APIs").
var
true
false
Scope of var.
scope
false
false
SQL query statement.
sql
false
true
Data source associated with the database to
query. A String value represents a relative path
to a JNDI resource or the parameters for the
DriverManager class.
dataSource
false
true
The returned Result object includes the rows
starting at the specified index. The first row of
the original query result set is at index 0. If not
specified, rows are included starting from the
first row at index 0.
startRow
false
true
The maximum number of rows to be included in
the query result. If not specified, or set to -1, no
limit on the maximum number of rows is
enforced.
maxRows
false
true
Executes the SQL update defined in its body or through the
sql attribute.
update
org.apache.taglibs.standard.tag.rt.sql.UpdateTag
JSP
Name of the exported scoped variable for the result
of the database update. The type of the scoped
variable is java.lang.Integer.
var
false
false
Scope of var.
scope
false
false
SQL update statement.
sql
false
true
Data source associated with the database to update.
A String value represents a relative path to a JNDI
resource or the parameters for the JDBC
DriverManager class.
dataSource
false
true
Sets a parameter in an SQL statement to the specified value.
param
org.apache.taglibs.standard.tag.rt.sql.ParamTag
JSP
Parameter value.
value
false
true
Sets a parameter in an SQL statement to the specified java.util.Date value.
dateParam
org.apache.taglibs.standard.tag.rt.sql.DateParamTag
empty
Parameter value for DATE, TIME, or
TIMESTAMP column in a database table.
value
true
true
One of "date", "time" or "timestamp".
type
false
true
Creates a simple DataSource suitable only for prototyping.
setDataSource
org.apache.taglibs.standard.tag.rt.sql.SetDataSourceTag
empty
Name of the exported scoped variable
for the data source specified. Type can
be String or DataSource.
var
false
false
If var is specified, scope of the
exported variable. Otherwise, scope of
the data source configuration variable.
scope
false
false
Data source. If specified as a string, it
can either be a relative path to a JNDI
resource, or a JDBC parameters string
as defined in Section 10.1.1.
dataSource
false
true
JDBC parameter: driver class name.
driver
false
true
JDBC parameter: URL associated with
the database.
url
false
true
JDBC parameter: database user on
whose behalf the connection to the
database is being made.
user
false
true
JDBC parameter: user password
password
false
true