When using the JSTL SQL tags, PreparedStatement and ResultSet objects are not closed correct when some errors occur. This was fixed in the upstream Apache Taglib code (https://issues.apache.org/bugzilla/show_bug.cgi?id=17388) but the fix was not backported to our fork.
Shelly McGowan <smcgowan> updated the status of jira JBEE-147 to Resolved
Note this change was reviewed by rmaucher, passes the JSTL TCK tests and the EE 6 signature tests.
I have verified that the patch http://svn.apache.org/viewvc/jakarta/taglibs/proper/standard/trunk/src/org/apache/taglibs/standard/tag/common/sql/QueryTagSupport.java?view=diff&r1=499149&r2=499150&pathrev=499150 was used in jboss-jstl-api_1.2_spec for both the version 1.0.5.Final and 1.0.6.Final (used in EAP 6.3.0.GA). This change was also verified by JSTL TCK tests and the EE 6 signature tests - see above.