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

SOSHibernateOpenSessionException should extend SOSHibernateInvalidSessionException

    XMLWordPrintable

Details

    • Feature
    • Status: Released (View Workflow)
    • Minor
    • Resolution: Fixed
    • 1.11.2
    • 1.11.3, 1.12
    • None

    Description

      Current Situation

      • SOSHibernateOpenSessionException can occurs by SOS Hibernate openSession methods if session/connection can't be acquired ( c3p0 is not configured) and is extends SOSHibernateException
      • all another SOS Hibernate methods throw SOSHibernateInvalidSessionException if session/connection can't be acquired
      • to check if session/connection can't be acquired , the both exception types should be catched(SOSHibernateOpenSessionException, SOSHibernateInvalidSessionException)

      Desired Behavior
      SOSHibernateOpenSessionException should be extends of SOSHibernateInvalidSessionException

      Attachments

        Issue Links

          Activity

            People

              re Robert Ehrlich
              re Robert Ehrlich
              Santiago Aucejo Petzoldt Santiago Aucejo Petzoldt
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: