JSTL SQL Transaction

I have setup a datasource in my back end JSTL page as follows:

<sql:setDataSource dataSource="jdbc/sekunjaloDS" var="xxx"/>

<sql:transaction dataSource="${xxx}">

<sql:query var="rs">

select * from table

</sql:query>

</sql:transaction>

my datasource points to a pool setup in JBOSS.

i want to know does the transaction auto. close itself, as there isnt any explicit tags i know of to close my connection.

My sectiond queston is, does JSTL 'under the hood' use prepaired statements?

[573 byte] By [Reniera] at [2007-10-3 0:04:38]
# 1
Yes, the transaction will commit at the close of the </sql:transaction> tag, presumably return the connection to the pool.>My sectiond queston is, does JSTL 'under the hood' use prepaired statements?Yes.
evnafetsa at 2007-7-14 16:52:42 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...