openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rick Curtis (JIRA)" <j...@apache.org>
Subject [jira] Commented: (OPENJPA-1807) Improved lifecycle tracing of EntityManager and EntityManagerFactory
Date Mon, 20 Sep 2010 19:28:34 GMT

    [ https://issues.apache.org/jira/browse/OPENJPA-1807?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12912660#action_12912660
] 

Rick Curtis commented on OPENJPA-1807:
--------------------------------------

The trace I'm going to commit shortly adds the following :

172  test  TRACE  [main] openjpa.Runtime - org.apache.openjpa.persistence.PersistenceProviderImpl@3a523a52
creating org.apache.openjpa.persistence.EntityManagerFactoryImpl@1bd11bd1 for PU test
...
2312  test  TRACE  [main] openjpa.Runtime - org.apache.openjpa.persistence.EntityManagerFactoryImpl@1bd11bd1
created EntityManager org.apache.openjpa.persistence.EntityManagerImpl@4e164e16
...
2562  test  TRACE  [main] openjpa.Runtime - org.apache.openjpa.persistence.EntityManagerImpl@4e164e16.close()
invoked.
....
2578  test  TRACE  [main] openjpa.Runtime - org.apache.openjpa.persistence.EntityManagerFactoryImpl@1bd11bd1
created EntityManager org.apache.openjpa.persistence.EntityManagerImpl@2f2c2f2c
...
2922  test  TRACE  [main] openjpa.Runtime - org.apache.openjpa.persistence.EntityManagerImpl@2f2c2f2c.close()
invoked.
....
2922  test  TRACE  [main] openjpa.Runtime - org.apache.openjpa.persistence.EntityManagerFactoryImpl@1bd11bd1.close()
invoked.


> Improved lifecycle tracing of EntityManager and EntityManagerFactory
> --------------------------------------------------------------------
>
>                 Key: OPENJPA-1807
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-1807
>             Project: OpenJPA
>          Issue Type: Improvement
>          Components: logging
>    Affects Versions: 2.1.0
>            Reporter: Rick Curtis
>            Assignee: Rick Curtis
>            Priority: Minor
>             Fix For: 2.1.0
>
>
> I had to debug a problem today that would have been very simple to solve with the proper
OpenJPA tracing. With this JIRA I am going to add trace to EM/EMF creation/close. I'm adding
trace (not info/warn messages) so these messages will not be localized.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message