[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
Wed Apr 17 13:28:54 EDT 2013


    [ https://issues.jboss.org/browse/JBJCA-704?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12768174#comment-12768174 ] 

Jesper Pedersen commented on JBJCA-704:
---------------------------------------

Please, use https://community.jboss.org/en/ironjacamar?view=all for discussions/questions
                
> 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