Derby
  1. Derby
  2. DERBY-5050

BrokeredConnection could call setHoldability() without using reflection

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 10.8.1.2
    • Fix Version/s: 10.8.1.2
    • Component/s: JDBC
    • Labels:
      None

      Description

      BrokeredConnection uses reflection to call Connection.setHoldability() because that method wasn't available in Java 1.3. Since Derby doesn't support Java 1.3 anymore, we could call the method directly.

      1. d5050.diff
        1 kB
        Knut Anders Hatlen

        Activity

        Hide
        Knut Anders Hatlen added a comment -

        Committed revision 1071558.

        Show
        Knut Anders Hatlen added a comment - Committed revision 1071558.
        Hide
        Knut Anders Hatlen added a comment -

        Attached patch removes the reflection code and calls setHoldability() directly. Running regression tests...

        Show
        Knut Anders Hatlen added a comment - Attached patch removes the reflection code and calls setHoldability() directly. Running regression tests...

          People

          • Assignee:
            Knut Anders Hatlen
            Reporter:
            Knut Anders Hatlen
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development