OpenJPA
  1. OpenJPA
  2. OPENJPA-2264

Upcast PreparedStatementManagerImpl.logSQLWarnings to take a Statement rather than a PreparedStatement

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 2.2.0, 2.3.0
    • Fix Version/s: 2.2.2, 2.2.1.1, 2.3.0
    • Component/s: jdbc, kernel
    • Labels:
      None

      Description

      While writing a custom PreparedStatementManager I have a Statement that I want to pass to the org.apache.openjpa.jdbc.kernel.PreparedStatementManagerImpl.logSQLWarnings method, but that method incorrectly requires a PreparedStatement.

      With this JIRA I'm going to change the parameter type for this method to accept a Statement.

        Activity

        Hide
        Rick Curtis added a comment -

        Committed revision 1388137 to trunk.

        Show
        Rick Curtis added a comment - Committed revision 1388137 to trunk.
        Hide
        Rick Curtis added a comment -

        Merged changes from trunk to 2.2.x and 2.2.1.x.

        Show
        Rick Curtis added a comment - Merged changes from trunk to 2.2.x and 2.2.1.x.
        Hide
        Albert Lee added a comment -

        Need to restore deleted method to maintain backward binary compatibility.

        Show
        Albert Lee added a comment - Need to restore deleted method to maintain backward binary compatibility.

          People

          • Assignee:
            Rick Curtis
            Reporter:
            Rick Curtis
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development