openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Dick (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (OPENJPA-380) Connecting to database when an unused emf is closed
Date Fri, 21 Sep 2007 21:54:51 GMT

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

Michael Dick resolved OPENJPA-380.
----------------------------------

    Resolution: Fixed
      Assignee: Michael Dick

> 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.


Mime
View raw message