]
Manik Surtani updated JBCACHE-1424:
-----------------------------------
Fix Version/s: 3.0.0.CR2
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.0.GA, 2.2.1.CR1, 3.0.0.CR1
Reporter: Krzysztof Sobolewski
Assignee: Manik Surtani
Fix For: 2.2.1.CR2, 2.2.1.GA, 3.0.0.CR2, 3.0.0.GA
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: