You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@aries.apache.org by "Christian Schneider (JIRA)" <ji...@apache.org> on 2015/07/17 10:13:06 UTC

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

     [ https://issues.apache.org/jira/browse/ARIES-1153?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Christian Schneider resolved ARIES-1153.
----------------------------------------
    Resolution: Fixed
      Assignee: Christian Schneider

> 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
>            Assignee: Christian Schneider
>             Fix For: jpa-2.0.0
>
>
> 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.3.4#6332)