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

JdbcConnectionFactory does not handle URLs with properties

Attach filesAttach ScreenshotAdd voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            ewanmellor-2 Ewan Mellor

            Dates

              Created:
              Updated:

              Slack

                Issue deployment