Provides classes for executing queries via JDBC.
The JDBCExecutor
class, when an instance is exposed as a
bean, allows SQL queries to be run while specified in the template:
<jt:forEach items="${jdbc.execQuery('SELECT * FROM employee')}" var="employee">
The ResultSetRow
represents one row of data returned by a
JDBCExecutor
. It is not seen directly, but JDBCExecutor
's
execQuery
method returns a List
of ResultSetRows
.
Class | Description |
---|---|
JDBCExecutor |
A
JDBCExecutor has the capability of running SQL statements via
JDBC over a supplied Connection . |
ResultSetRow |
A
ResultSetRow contains data from one row of a
ResultSet . |
Copyright © 2012–2018 Jett Team. All rights reserved.