]
Krzysztof Sobolewski updated JBCACHE-1424:
------------------------------------------
Attachment: AdjListJDBCCacheLoader.java.patch
A fix?
JDBCCacheLoader does not close ConnectionFactory
------------------------------------------------
Key: JBCACHE-1424
URL:
https://jira.jboss.org/jira/browse/JBCACHE-1424
Project: JBoss Cache
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: Cache loaders
Affects Versions: 2.2.1.CR1
Reporter: Krzysztof Sobolewski
Assignee: Manik Surtani
Attachments: AdjListJDBCCacheLoader.java.patch
Maybe I don't understand something, but I think this is a bug that the method
AdjListJDBCCacheLoader.stop() closes the ConnectionFactory only if the
config.getDropTable() option is set to true. I don't want to drop my table, but I want
to close the ConnectionFactory (because C3P0 won't unregister itself and I get a MBean
leak after restart of my component).
My guess is that the try block was misplaced.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: