Bug 54437

Summary: Update PoolProperties javadoc for ConnectState interceptor-managed defaults
Product: Tomcat Modules Reporter: Chris Pimlott <asf.bugzilla>
Component: jdbc-poolAssignee: Tomcat Developers Mailing List <dev>
Status: NEW ---    
Severity: enhancement    
Priority: P2    
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   

Description Chris Pimlott 2013-01-16 20:05:57 UTC
Certain PoolProperties defaults are normally only set on connection creation, not on connection reuse, unless the ConnectionState interceptor is also explicitly configured (it's not by default).  The necessity of this second step is easy to overlook.  It would be nice if the javadoc for these settings (defaultAutoCommit, defaultTransactionIsolation, defaultReadOnly, defaultCatalog) pointed out this behavior and made a mention to the ConnectionState interceptor.
Comment 1 Chris Pimlott 2013-01-16 20:07:33 UTC
There's an existing example in removeAbandonedTimeout setter/getter, which reference the ResetAbandonedTimer interceptor.