]
Galder Zamarreno commented on JBCACHE-802:
------------------------------------------
This is not a forum. Please enter a user forum entry with your issue.
Btw, read the JIRA and the documentation :)
NonManagedConnectionFactory does not place new connections in
ThreadLocal (JDBCCacheLoader)
-------------------------------------------------------------------------------------------
Key: JBCACHE-802
URL:
http://jira.jboss.com/jira/browse/JBCACHE-802
Project: JBoss Cache
Issue Type: Feature Request
Security Level: Public(Everyone can see)
Components: Cache loaders
Affects Versions: 1.4.0.SP1
Reporter: Manik Surtani
Assigned To: Galder Zamarreno
Fix For: 2.0.0.GA, 2.0.0.BETA1
Time Spent: 2 days, 2 hours
Remaining Estimate: 0 minutes
In NonManagedConnectionFactory.getConnection():
public Connection getConnection()
{
Connection con = (Connection) connection.get();
if(con == null)
{
try
{
con = DriverManager.getConnection(url, usr, pwd);
// CODE ADDED HERE
connection.set(con);
// END CODE MODIFICATION
}
catch(SQLException e)
...
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: