Bug 54437 - Update PoolProperties javadoc for ConnectState interceptor-managed defaults
Summary: Update PoolProperties javadoc for ConnectState interceptor-managed defaults
Status: NEW
Alias: None
Product: Tomcat Modules
Classification: Unclassified
Component: jdbc-pool (show other bugs)
Version: unspecified
Hardware: All All
: P2 enhancement (vote)
Target Milestone: ---
Assignee: Tomcat Developers Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-01-16 20:05 UTC by Chris Pimlott
Modified: 2013-01-16 20:07 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.