You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openjpa.apache.org by "Michael Dick (JIRA)" <ji...@apache.org> on 2007/09/24 17:59:50 UTC

[jira] Closed: (OPENJPA-380) Connecting to database when an unused emf is closed

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

Michael Dick closed OPENJPA-380.
--------------------------------


> Connecting to database when an unused emf is closed 
> ----------------------------------------------------
>
>                 Key: OPENJPA-380
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-380
>             Project: OpenJPA
>          Issue Type: Bug
>          Components: kernel
>    Affects Versions: 0.9.0, 0.9.6, 0.9.7, 1.0.0
>            Reporter: Michael Dick
>            Assignee: Michael Dick
>            Priority: Minor
>             Fix For: 1.0.1, 1.1.0
>
>
> When an EMF is closed it attempts to get a MetaDataRepositoryInstance. If no instance has been created (the EMF hasn't been used) it will create a new one - which entails opening a connection to the database.
> The MDR is only used to un-register itself as a class listener, so in this case it's rather pointless to create a new one. 

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