id | true | true | java.lang.String |
Attribute in page that will be used to reference
the connection object Allows other tags (and/or
java scriptlets) to obtain a connection via the
same settings as defined in dbForms
Example:
<db:getConnection
id="myConnection">
<!-- Open connection -->
<sql: statement id="stmt"
conn="myConnection">
<sql:query>Select * from
Table</sql:query>
<sql:resultSet id="rs">
Value: <sql:getColumn
position="1"/>
</sql:resultSet>
</sql:statement>
</db:getConnection>
<!-- close connection -->
|