[JDBC-94] Parsing of sqlite or HSQLDB in-memory databases fail Created: 01/Apr/14 Updated: 01/Jun/16 Resolved: 30/Jun/14
|Reporter:||Peter Schwarz||Assignee:||Sean Corfield|
Using the following driver dependencies:
When entering a sqlite memory db uri: "jdbc:sqlite::memory:", the following error occurs:
SQLException out of memory org.sqlite.DB.throwex (DB.java:370)
This is a vague exception which occurs when the db is not actually created (see https://bitbucket.org/xerial/sqlite-jdbc).
Likewise, when parsing a HSQLDB in-memory db url: "jdbc:hsqldb:mem:testdb", the following error occurs:
It appears to be creating the equivalent connection forbut should be creating
|Comment by Sean Corfield [ 01/Apr/14 3:17 PM ]|
Thanx Peter. That sounds reasonably easy to repro so I'll create a couple of test cases shortly.
|Comment by Sean Corfield [ 30/Jun/14 9:09 PM ]|
Finally taking a look at these - sorry for the delay - and it seems that java.jdbc expects a string argument to be something you can simply construct a URI out of and then pass to get-connection so this suggests that either java.net.URI might be monkeying with the value or parse-properties-uri can't figure out how to reconstruct the appropriate spec map from such a URI.
|Comment by Sean Corfield [ 30/Jun/14 9:34 PM ]|
Will be in 0.3.5.