[
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.persistenceprovideri...@3a523a52 creating
org.apache.openjpa.persistence.entitymanagerfactoryi...@1bd11bd1 for PU test
...
2312 test TRACE [main] openjpa.Runtime -
org.apache.openjpa.persistence.entitymanagerfactoryi...@1bd11bd1 created
EntityManager org.apache.openjpa.persistence.entitymanageri...@4e164e16
...
2562 test TRACE [main] openjpa.Runtime -
[email protected]() invoked.
....
2578 test TRACE [main] openjpa.Runtime -
org.apache.openjpa.persistence.entitymanagerfactoryi...@1bd11bd1 created
EntityManager org.apache.openjpa.persistence.entitymanageri...@2f2c2f2c
...
2922 test TRACE [main] openjpa.Runtime -
[email protected]() invoked.
....
2922 test TRACE [main] openjpa.Runtime -
org.apache.openjpa.persistence.entitymanagerfactoryi...@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.