From: mnicky <
markus...@gmail.com>
Subject: Re: SQLite: "SQLException [SQLITE_ERROR] SQL error or missing database"
Date: Sat, 16 Jun 2012 10:01:47 -0700 (PDT)
> As I wrote before: I've also tried to create the table with clojure.java.jdbc (successfully) and then to do select from this table using Korma, and that gave me the same
> exception.
Oh I didn't notice that you have already created table with
jdbc successfully. Sorry about that.
But in my environment, after creating the table with
jdbc,(or any other way like directly using sqlite3 command)
below worked without exception.
(korma/exec-raw ["select count(*) cnt from my_table;"])
I'm using same version as you are and tested on both Mac OS X and ubuntu.
[korma "0.3.0-beta11"]
[org.xerial/sqlite-jdbc "3.7.2"]
--
ktsuji