You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ctakes.apache.org by "Ewan Mellor (JIRA)" <ji...@apache.org> on 2018/04/10 20:57:00 UTC

[jira] [Updated] (CTAKES-505) JdbcConnectionFactory does not handle URLs with properties

     [ https://issues.apache.org/jira/browse/CTAKES-505?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ewan Mellor updated CTAKES-505:
-------------------------------
    Attachment: CTAKES-505.patch

> JdbcConnectionFactory does not handle URLs with properties
> ----------------------------------------------------------
>
>                 Key: CTAKES-505
>                 URL: https://issues.apache.org/jira/browse/CTAKES-505
>             Project: cTAKES
>          Issue Type: Bug
>          Components: ctakes-dictionary-lookup-fast
>    Affects Versions: 4.0.0
>            Reporter: Ewan Mellor
>            Priority: Minor
>         Attachments: CTAKES-505.patch
>
>
> {{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.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)