Tom Brunoli
Tom Brunoli
Actually, is there a way to just get one of the connections so I can run the newer clojure.java.jdbc functions (that require you to pass the connection in)?
Thanks. I haven't used atoms before - will dereferencing it work in my own code, or will I have to place that in the dbcp.clj source?
Thanks again! I just tried both out in the leiningen repl (not sure if that affects it) with the following code (`db-conn` is one of the lines that you posted...
Both of those still get the null pointer exception that I posted earlier. I think it may be the postgres driver being odd. I might try an earlier version
I just tried an earlier postgres driver and I get the same null pointer exception (but a different line of code)
Yeah I have. Sorry about that - i forgot to mention it
I just realised I am an idiot. I should have read the documentation more thoroughly. ``` clojure (jdbc/query @db-factory ["SELECT * FROM posts LIMIT 1"]) ``` worked properly. I forgot...
Good idea. I had no idea you could specify options for the transfomer in the package.json. I'll make that change now.