[jboss-jira] [JBoss JIRA] (JBJCA-704) Allow the registration of a listener for Datasource connection events

Jesper Pedersen (JIRA) jira-events at lists.jboss.org
Mon Apr 15 14:33:53 EDT 2013


     [ https://issues.jboss.org/browse/JBJCA-704?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jesper Pedersen updated JBJCA-704:
----------------------------------

    Fix Version/s: 1.1.0.Beta5
      Component/s: Common
                   Deployer
                   JDBC

    
> 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: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list