XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: 2 Major
    • Resolution: Fixed
    • Affects Version/s: 3.0
    • Fix Version/s: 2.2
    • Component/s: Core
    • Labels:
      None
    • Terracotta Target:
      Vicente
    • Fixed In Revision:
      2002

      Description

      Current existing ConnectionProvider implementation would create and init a pool in its constructor. In cases where if we want to take advantage of their class with setters and getters, we can't initialize the pool in the constructor!

      For example, in here http://code.google.com/p/myschedule/source/browse/bonecp-quartz/src/main/java/deng/quartz/bonecp/BoneCpConnectionProvider.java?repo=experiment

      So the workaround is that I have to check pool instance every time in getConnection() instead.

      It would be nice to have a distinct initialise() in ConnectionProvider interface instead.

        Attachments

          Activity

            People

            • Assignee:
              adahanne Anthony Dahanne Dahanne
              Reporter:
              light5 Zemian Deng
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: