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

JdbcConnectionFactory does not handle URLs with properties

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 4.0.0
    • None
    • 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

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

            Dates

              Created:
              Updated: