From: Adrian B. <ej...@us...> - 2004-07-13 14:56:18
|
User: ejort Date: 04/07/13 07:56:12 Modified: src/resources/stylesheets Tag: Branch_3_2 ConnectionFactoryTemplate.xsl jboss-ds_1_0.dtd Log: Add support for closing statements and result sets without a warning. <track-statements>nowarn</track-statements> which is also the default. Revision Changes Path No revision No revision 1.2.2.17 +1 -1 jbosscx/src/resources/stylesheets/ConnectionFactoryTemplate.xsl Index: ConnectionFactoryTemplate.xsl =================================================================== RCS file: /cvsroot/jboss/jbosscx/src/resources/stylesheets/ConnectionFactoryTemplate.xsl,v retrieving revision 1.2.2.16 retrieving revision 1.2.2.17 diff -u -r1.2.2.16 -r1.2.2.17 --- ConnectionFactoryTemplate.xsl 19 Apr 2004 14:41:50 -0000 1.2.2.16 +++ ConnectionFactoryTemplate.xsl 13 Jul 2004 14:56:12 -0000 1.2.2.17 @@ -244,7 +244,7 @@ <config-property name="ExceptionSorterClassName" type="java.lang.String"><xsl:value-of select="normalize-space(exception-sorter-class-name)"/></config-property> </xsl:if> <xsl:if test="track-statements"> - <config-property name="TrackStatements" type="boolean"><xsl:value-of select="normalize-space(track-statements)"/></config-property> + <config-property name="TrackStatements" type="java.lang.String"><xsl:value-of select="normalize-space(track-statements)"/></config-property> </xsl:if> <xsl:if test="prepared-statement-cache-size"> <config-property name="PreparedStatementCacheSize" type="int"><xsl:value-of select="normalize-space(prepared-statement-cache-size)"/></config-property> 1.1.2.20 +8 -4 jbosscx/src/resources/stylesheets/jboss-ds_1_0.dtd Index: jboss-ds_1_0.dtd =================================================================== RCS file: /cvsroot/jboss/jbosscx/src/resources/stylesheets/jboss-ds_1_0.dtd,v retrieving revision 1.1.2.19 retrieving revision 1.1.2.20 diff -u -r1.1.2.19 -r1.1.2.20 --- jboss-ds_1_0.dtd 19 Apr 2004 14:41:50 -0000 1.1.2.19 +++ jboss-ds_1_0.dtd 13 Jul 2004 14:56:12 -0000 1.1.2.20 @@ -2,7 +2,7 @@ <!--dtd for jboss 3.2 datasource configurations (*-ds.xml), transformed by ConnectionFactoryTemplate.xsl -$Id: jboss-ds_1_0.dtd,v 1.1.2.19 2004/04/19 14:41:50 ejort Exp $ +$Id: jboss-ds_1_0.dtd,v 1.1.2.20 2004/07/13 14:56:12 ejort Exp $ The datasources element is the root of the jdbc datasource configuration --> @@ -252,13 +252,17 @@ <!ELEMENT exception-sorter-class-name (#PCDATA)> <!-- Whether to check for unclosed statements when a - connection is returned to the pool and results sets are + connection is returned to the pool and result sets are closed when a statement is closed/return to the prepared statement cache. + valid values are: + false - do not track statements and results + true - track statements and result sets and warn when they are not closed + nowarn - track statements but do no warn about them being unclosed (the default) e.g. - <track-statements/> + <track-statements>nowarn</track-statements> --> -<!ELEMENT track-statements EMPTY> +<!ELEMENT track-statements (#PCDATA)> <!-- The number of prepared statements per connection in an LRU cache --> |