@@ -23,7 +23,7 @@ Copyright (c) 2010 by Sun Microsystems, Inc. All rights reserved.--> <!-- A resources instance document referring to this DTD should have a DOCTYPE as follows: - <!DOCTYPE resources PUBLIC "-//GlassFish.org//DTD GlassFish Application Server 3.0 Resource Definitions //EN" "http://glassfish.org/dtds/glassfish-resources_1_4.dtd">--> + <!DOCTYPE resources PUBLIC "-//GlassFish.org//DTD GlassFish Application Server 3.1 Resource Definitions //EN" "http://glassfish.org/dtds/glassfish-resources_1_5.dtd">--> <!-- ENTITIES --> <!-- boolean @@ -461,6 +461,18 @@ Sets the timeout property of a connection to enable termination of abnormally long running queries. Default value of -1 implies that it is not enabled. + statement-leak-reclaim + If enabled, statement is reclaimed after the statement-leak-timeout- + in-seconds occurs. Default value is false. + statement-leak-timeout-in-seconds + To aid user in detecting the statement leaks by applications. + When a statement is not closed by the application within the specified + period, it is assumed to be a statement leak. Default is 0, which + implies there is no statement leak detection, by default. A + positive non-zero value turns on statement leak detection. + Note however that, this attribute only detects if there is + a statement leak. The statement can be reclaimed only is + statement-leak-reclaim is set to true. steady-pool-size minimum and initial number of connections maintained in the pool. @@ -530,6 +542,8 @@ connection-leak-reclaim %boolean; "false" connection-creation-retry-attempts CDATA "0" connection-creation-retry-interval-in-seconds CDATA "10" + statement-leak-timeout-in-seconds CDATA "0" + statement-leak-reclaim %boolean; "false" statement-timeout-in-seconds CDATA "-1" lazy-connection-enlistment %boolean; "false" lazy-connection-association %boolean; "false" |