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

DriverVersion should be sub-classable

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • None
    • None

    Description

      would be useful to supply a custom DriverVersion instance. possibly converting it to a bean with accessors so a sub-class can pull info from a properties file.

      currently all member fields are public/protected and final and are referenced directly.

      for example, on OptiqDatabaseMetaData
      ```java
      public String getDatabaseProductVersion() throws SQLException {
      return connection.driver.version.productVersion;
      }
      ```

      ---------------- Imported from GitHub ----------------
      Url: https://github.com/julianhyde/optiq/issues/10
      Created by: cwensel
      Labels:
      Created at: Fri Nov 16 19:07:03 CET 2012
      State: closed

      Attachments

        Activity

          People

            Unassigned Unassigned
            github-import GitHub Import
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: