Uploaded image for project: 'JITL - JobScheduler Integrated Template Library'
  1. JITL - JobScheduler Integrated Template Library
  2. JITL-743

PLSQLJob should close remaining sessions on termination

    XMLWordPrintable

Details

    • Fix
    • Status: Released (View Workflow)
    • Major
    • Resolution: Fixed
    • 2.7.0, 2.7.1
    • 2.7.2
    • None

    Description

      Current Situation

      • The PLSQLJob does not close sessions when terminating. This can exhaust available connections to the DBMS.
      • If the job is configured for use of credentials from arguments instead of a Hibernate configuration file, then the Hibernate default connection pool (hibernate implementation) is used and is instantiated with potentially 20 open connections.
      • The previous implementation of the job did commit open transactions due to a fallback in the Oracle® JDBC Driver.

      Desired Behavior

      • The PLSQLJob should close remaining sessions when terminating. This applies to normal job termination and in the event of cancel/kill or suspend/kill operations. The job should roll back open transactions before terminating to prevent a situation when a user's SQL code opens a transaction that is not committed and not rolled back.
      • The PLSQLJob should use the Hikari Connection Pool by default. Users who apply a Hibernate configuration file can specify a different connection pool product.
      • The connection pool should be instantiated with a maximum pool size of 1 as the job makes use of a single connection to the database.

      Patch

      Attachments

        Issue Links

          Activity

            People

              sp Santiago Aucejo Petzoldt
              sp Santiago Aucejo Petzoldt
              Andreas Püschel Andreas Püschel
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: