[dna-issues] [JBoss JIRA] Created: (DNA-609) DnaEngine RepositoryConnectionFactory Returns Unpooled Connections

Brian Carothers (JIRA) jira-events at lists.jboss.org
Thu Dec 31 09:11:30 EST 2009


DnaEngine RepositoryConnectionFactory Returns Unpooled Connections
------------------------------------------------------------------

                 Key: DNA-609
                 URL: https://jira.jboss.org/jira/browse/DNA-609
             Project: DNA
          Issue Type: Bug
          Components: Graph
    Affects Versions: 0.6
            Reporter: Brian Carothers
            Assignee: Brian Carothers
            Priority: Minor


DnaEngine.getRepositoryConnectionFactory() returns an inner class that returns unwrapped connections from the RepositorySource.  However, DnaEngine.getRepositoryService().getRepositoryLibrary() implements RepositoryConnectionFactory as well but returns connections from a RepositoryConnectionPool.  DnaEngine.getGraph uses the RepositoryLibrary as the connection factory for the graph.

In short, there are currently two reasonable ways to get get a RepositoryConnectionFactory from the DnaEngine but they both behave slightly differently.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the dna-issues mailing list