Uploaded image for project: 'JBoss Cache'
  1. JBoss Cache
  2. JBCACHE-802

NonManagedConnectionFactory does not place new connections in ThreadLocal (JDBCCacheLoader)

    Details

      Description

      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)
      ...

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  galder.zamarreno Galder ZamarreƱo
                  Reporter:
                  manik Manik Surtani
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Time Tracking

                    Estimated:
                    Original Estimate - Not Specified
                    Not Specified
                    Remaining:
                    Remaining Estimate - 0 minutes
                    0m
                    Logged:
                    Time Spent - 2 days, 2 hours
                    2d 2h