aries-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexander Grzesik (JIRA)" <j...@apache.org>
Subject [jira] [Created] (ARIES-1153) EntityManagerFactoryManager: No Exception logging during EMF creation
Date Mon, 27 Jan 2014 16:30:38 GMT
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)

Mime
View raw message