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

Can't use extended version of CalcitePrepareImpl with JDBC Driver

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.0.0-incubating
    • 1.3.0-incubating
    • None
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: