[dna-issues] [JBoss JIRA] Updated: (DNA-609) DnaEngine RepositoryConnectionFactory Returns Unpooled Connections
Brian Carothers (JIRA)
jira-events at lists.jboss.org
Thu Dec 31 09:14:30 EST 2009
[ https://jira.jboss.org/jira/browse/DNA-609?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Brian Carothers updated DNA-609:
--------------------------------
Attachment: DNA-609.patch
Attached path that removes DnaEngine's internal connection factory and replaces it with getRepositoryService().getRepositoryLibrary(). This will return connections that have been wrapped/pooled by a RepositoryConnectionPool.
> 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
> Attachments: DNA-609.patch
>
>
> 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