Uploaded image for project: 'Aries'
  1. Aries
  2. ARIES-1153

EntityManagerFactoryManager: No Exception logging during EMF creation

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • jpa-container-context-1.0.1
    • jpa-2.0.0
    • JPA
    • None

    Description

      In EntityManagerFactoryManager.createEntityManagerFactories the loop to create the EntityManagerFactories is surrounded by try block, but there is no catch and log of an exception that occurs during creating the EntityManagerFactory. Any exception is silently catched and the EMF is not created. There is no trace in the log what went wrong. Adding a catch with log of an exception that occured here would be very helpfull to track problems with persistence configuration.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            cschneider Christian Schneider
            agrz Alexander Grzesik
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment