https://issues.apache.org/bugzilla/show_bug.cgi?id=56779

            Bug ID: 56779
           Summary: Allow multiple connection initialization statements
           Product: Tomcat Modules
           Version: unspecified
          Hardware: PC
            Status: NEW
          Severity: normal
          Priority: P2
         Component: jdbc-pool
          Assignee: dev@tomcat.apache.org
          Reporter: wcl...@guidewire.com

Tomcat JDBC Enhanced Attribute initSQL is a string documented as " A custom
query to be run when a connection is first created."  Often multiple statements
(not really "queries") need to be executed to initialize a connection, and you
only want to do this once.  There are rather involved workarounds to pass a
single "statement" which executes multiple statements, but the interface would
be improved if more than one statement could be specified. See DBCP2
BasicDataSource.setConnectionInitSqls(Collection<String> connectionInitSqls).

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to