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] Created: (OPENJPA-380) Connecting to database when an unused emf is closed
Date Fri, 21 Sep 2007 18:49:50 GMT
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: 1.0.0, 0.9.7, 0.9.6, 0.9.0
            Reporter: 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