]
Jesper Pedersen resolved JBJCA-704.
-----------------------------------
Resolution: Done
Allow the registration of a listener for Datasource connection events
----------------------------------------------------------------------
Key: JBJCA-704
URL:
https://issues.jboss.org/browse/JBJCA-704
Project: IronJacamar
Issue Type: Feature Request
Components: Common, Deployer, JDBC
Reporter: George Gastaldi
Assignee: Jesper Pedersen
Fix For: 1.1.0.Beta5
When using Oracle Proxy feature, there are cases where you need to run custom SQL
commands before returning the connection to the application and also when returning to the
pool. I propose the creation of a _ConnectionActivationListener_ interface (or even split
it into two interfaces - _ConnectionPassivationListener_) where you could find the
following methods:
{code:java}
void connectionActivated(Connection con) throws SQLException;
void connectionPassivated(Connection con) throws SQLException;
{code}
And then allow adding this class to a datasource configuration.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: