Uploaded image for project: 'Calcite'
  1. Calcite
  2. CALCITE-629

Can't use extended version of CalcitePrepareImpl with JDBC Driver

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.0.0-incubating
    • Fix Version/s: 1.3.0-incubating
    • Component/s: None
    • Labels:
      None

      Description

      Constructor of CalciteConnectionImpl directly uses field Driver#prepareFactory, although Driver class provides protected method that can redefine it.
      Because of field hiding user can't register a custom extension of CalciteConnectionImpl.

      Proposed fix - use createPrepareFactory method instead of field access.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                julianhyde Julian Hyde
                Reporter:
                undefz Eugene Zimichev
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: