Bug 56046 - org.apache.tomcat.jdbc.pool.XADataSource InitSQL property
Summary: org.apache.tomcat.jdbc.pool.XADataSource InitSQL property
Status: NEW
Alias: None
Product: Tomcat Modules
Classification: Unclassified
Component: jdbc-pool (show other bugs)
Version: unspecified
Hardware: All All
: P2 enhancement with 10 votes (vote)
Target Milestone: ---
Assignee: Tomcat Developers Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-21 12:45 UTC by ajsimon
Modified: 2014-01-21 12:49 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ajsimon 2014-01-21 12:45:12 UTC
Hi.

I think that it would be helpful if the InitSQL property from a JDBC Connection Pool org.apache.tomcat.jdbc.pool take a List of querys to run when a connection is first created, better than a single statement. For example:

ALTER SESSION SET NLS_SORT=BINARY
ALTER SESSION SET NLS_COMP=LINGUISTIC

Thank you very much.

Regards.
Comment 1 Mark Thomas 2014-01-21 12:49:42 UTC
Correct component