[
https://issues.apache.org/jira/browse/CTAKES-501?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ewan Mellor updated CTAKES-501:
-------------------------------
Attachment: CTAKES-501.patch
> JdbcConnectionFactory fails if the database is on a URL-unsafe path
> -------------------------------------------------------------------
>
> Key: CTAKES-501
> URL: https://issues.apache.org/jira/browse/CTAKES-501
> Project: cTAKES
> Issue Type: Improvement
> Components: ctakes-dictionary-lookup-fast
> Affects Versions: 4.0.0
> Reporter: Ewan Mellor
> Priority: Minor
> Attachments: CTAKES-501.patch
>
>
> 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.
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)