[jboss-jira] [JBoss JIRA] Updated: (JBCACHE-802) NonManagedConnectionFactory does not place new connections in ThreadLocal (JDBCCacheLoader)
Galder Zamarreno (JIRA)
jira-events at jboss.com
Sun Jan 21 10:48:53 EST 2007
[ http://jira.jboss.com/jira/browse/JBCACHE-802?page=all ]
Galder Zamarreno updated JBCACHE-802:
-------------------------------------
Fix Version/s: 2.0.0.BETA1
(was: 2.0.0.GA)
> 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.BETA1
>
>
> 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: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list