]
Brian Carothers resolved DNA-609.
---------------------------------
Fix Version/s: 0.7
Resolution: Done
Applied patch to resolve defect
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
Fix For: 0.7
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: