Uploaded image for project: 'Runtime'
  1. Runtime
  2. RUNTIME-896

Use a XML file to map validation queries to JDBC driver class

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major Major
    • 4.0M7
    • None
    • Kernel
    • None

      In the DataSourceExtensionPoint class, we provide a validation query to DBCP, dependent of the JDBC driver, so that it's able to get a connection status.
      The validation queries are currently hardcoded: to add a driver or a query requires to release a new Runtime (for instance, RUNTIME-844). These values should be specified in a XML file embedded in the runtime jar, and should be overridable in the application.

            raphael Raphaël Franchet
            ngavalda Nicolas Gavalda (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: