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

JdbcConnectionFactory fails if the database is on a URL-unsafe path

    XMLWordPrintableJSON

    Details

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

      Description

      JdbcConnectionFactory fails in the case where it uses FileLocator to find the database, but the path would be encoded inside a URL (e.g. if it has a space in it).  In this case, getConnectionUrl was producing a percent-encoded URL, but Hsqldb doesn't decode the URL it receives, it just treats it like a scheme followed by a plain file path.

       

      Patch attached.

       

        Attachments

        1. CTAKES-501.patch
          7 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: