From: Adrian B. <ej...@us...> - 2004-07-13 16:21:00
|
User: ejort Date: 04/07/13 09:20:53 Modified: src/resources/stylesheets ConnectionFactoryTemplate.xsl jboss-ds_1_0.dtd Log: Port <track-statements>nowarn</track-statements> from 3.2 Revision Changes Path 1.21 +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.20 retrieving revision 1.21 diff -u -r1.20 -r1.21 --- ConnectionFactoryTemplate.xsl 19 Apr 2004 14:46:59 -0000 1.20 +++ ConnectionFactoryTemplate.xsl 13 Jul 2004 16:20:53 -0000 1.21 @@ -275,7 +275,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.18 +7 -3 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.17 retrieving revision 1.18 diff -u -r1.17 -r1.18 --- jboss-ds_1_0.dtd 19 Apr 2004 14:46:59 -0000 1.17 +++ jboss-ds_1_0.dtd 13 Jul 2004 16:20:53 -0000 1.18 @@ -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.17 2004/04/19 14:46:59 ejort Exp $ +$Id: jboss-ds_1_0.dtd,v 1.18 2004/07/13 16:20:53 ejort Exp $ The datasources element is the root of the jdbc datasource configuration --> @@ -256,11 +256,15 @@ <!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> |