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

George Gastaldi (Updated) (JIRA) jira-events at lists.jboss.org
Thu Nov 24 20:48:40 EST 2011


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

George Gastaldi updated JBJCA-704:
----------------------------------

    Summary: Allow registering a listener for Datasource connection events   (was: Allow registering a listener for Datasources connections )

    
> Allow registering a listener for Datasource connection events 
> --------------------------------------------------------------
>
>                 Key: JBJCA-704
>                 URL: https://issues.jboss.org/browse/JBJCA-704
>             Project: IronJacamar
>          Issue Type: Feature Request
>            Reporter: George Gastaldi
>            Assignee: Jesper Pedersen
>
> 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: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list