You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@aries.apache.org by "Alexander Grzesik (JIRA)" <ji...@apache.org> on 2014/01/27 17:30:38 UTC

[jira] [Created] (ARIES-1153) EntityManagerFactoryManager: No Exception logging during EMF creation

Alexander Grzesik created ARIES-1153:
----------------------------------------

             Summary: EntityManagerFactoryManager: No Exception logging during EMF creation
                 Key: ARIES-1153
                 URL: https://issues.apache.org/jira/browse/ARIES-1153
             Project: Aries
          Issue Type: Bug
          Components: JPA
    Affects Versions: jpa-container-context-1.0.1
            Reporter: Alexander Grzesik


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.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)