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

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

    XMLWordPrintableJSON

Details

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

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

            Dates

              Created:
              Updated: