Ewan Mellor created CTAKES-501:
----------------------------------

             Summary: 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


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)

Reply via email to