Uploaded image for project: 'cTAKES'
  1. cTAKES
  2. CTAKES-505

JdbcConnectionFactory does not handle URLs with properties

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 4.0.0
    • Fix Version/s: None
    • Labels:
      None

      Description

      o.a.ctakes.dictionary.lookup2.util.JdbcConnectionFactory includes code to resolve the reference to the hsqldb file by appending the .script extension and searching for the file using FileLocator. This fails if the JDBC URL has properties on the end (e.g. .../sno_rx_16ab/sno_rx_16ab;readonly=true) because JdbcConnectionFactory doesn't handle the properties and so it searches for an invalid file.

      Patch attached. This patch is based on CTAKES-501 because of merge conflicts.

        Attachments

        1. CTAKES-505.patch
          2 kB
          Ewan Mellor

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              ewanmellor-2 Ewan Mellor
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: