Feel free to submit PRs to improve the documentation at:
http://clojure-doc.org/articles/ecosystem/java_jdbc/home.html
On Mon, Jul 8, 2013 at 9:22 AM, Colin Yates wrote:
> Found it - typically - messed around for hours, then post, the find it.
>
> The answer is to use something like 'mem:XYZ' fo
Found it - typically - messed around for hours, then post, the find it.
The answer is to use something like 'mem:XYZ' for the subname.
The clue was checking in
https://github.com/clojure/java.jdbc/blob/dd3c05b940b9a9c7a739247e2508ea6a5d55df65/src/main/clojure/clojure/java/jdbc.clj#L416
and
see
Hi,
I am using clojure.java.jdbc with HSQLDB, but I cannot figure out how to
create an in-memory database. Whatever I try defaults to a file based
instance, so:
(def hsql-db {:classname "org.hsqldb.jdbcDriver" :subprotocol "hsqldb"
:subname "memory"}) creates a file called memory.log etc. in