Uploaded image for project: 'IronJacamar'
  1. IronJacamar
  2. JBJCA-704

Allow the registration of a listener for Datasource connection events

    XMLWordPrintable

Details

    • Feature Request
    • Resolution: Done
    • Major
    • 1.1.0.Beta5
    • None
    • Common, Deployer, JDBC
    • None

    Description

      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:

      void connectionActivated(Connection con) throws SQLException; 
      void connectionPassivated(Connection con) throws SQLException;
      

      And then allow adding this class to a datasource configuration.

      Attachments

        Activity

          People

            jpederse@redhat.com Jesper Pedersen
            rhn-support-ggastald George Gastaldi
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: