Re: JDBC Connection auto-commit?: [ANN] clojure.java.jdbc 0.7.0 Beta1

2017-07-06 Thread Ralf Schmitt
Sean Corfield writes: > The :auto-commit? option is supported in 0.7.0-beta5 which should hit > Maven Central by tomorrow (or maybe late tonight). Please let me know > if it solves the streaming problem. yes, it does work. Thanks. -- Cheers Ralf -- You received this message because you are s

Clojure In London: HealthUnlocked

2017-07-06 Thread Jon Pither
Hi All, Read about Clojure being used to build a social network to help medical patients share experiences and advice: https://juxt.pro/blog/posts/clojure-in-health-unlocked.html, Regards, Jon. -- You received this message because you are subscribed to the Google Groups "Clojure" group. To p

Re: Clojure In London: HealthUnlocked

2017-07-06 Thread Colin Yates
Nice write up. I highly recommend healthunlocked as well, it was very helpful when I did the #c25k On Thursday, 6 July 2017, Jon Pither wrote: > Hi All, > > Read about Clojure being used to build a social network to help medical > patients share experiences and advice: https://juxt.pro/blog/post

Re: JDBC Connection auto-commit?: [ANN] clojure.java.jdbc 0.7.0 Beta1

2017-07-06 Thread Ralf Schmitt
Ralf Schmitt writes: > Sean Corfield writes: > >> The :auto-commit? option is supported in 0.7.0-beta5 which should hit >> Maven Central by tomorrow (or maybe late tonight). Please let me know >> if it solves the streaming problem. > > yes, it does work. Thanks. Sorry, but that's not entirely t

RE: JDBC Connection auto-commit?: [ANN] clojure.java.jdbc 0.7.0 Beta1

2017-07-06 Thread Sean Corfield
You said: But when the database is already connected like in (jdbc/with-db-connection [db db] (jdbc/query db query {:result-set-fn (fn [coll] (doall (take 2 coll))) :fetch-size 100 :auto-commit? false})) streaming is not tur

Re: Clojure versions used by java.jdbc users

2017-07-06 Thread lawrence . krubner
I have some old projects that ran Clojure 1.5 and jbcd. I wrote them before the era of Cider. Cider only supports Clojure => 1.7. I do have to now use those old projects, but I was planning on upgrading them anyway, so I could work on them in Cider. On Monday, July 3, 2017 at 7:12:19 PM UT

Re: error in nrepl

2017-07-06 Thread lawrence . krubner
Thank you, Didier, but I'll wait till ProtoRepl is more stable. Also I'm not sure that I'm ready to step away from Emacs. I did try Spacemacs but I felt it was too much influenced by Vim. So now I'm using Prelude. On Thursday, June 29, 2017 at 1:46:11 PM UTC-4, Didier wrote: > > If you're

lein-ring reloading combo with component *without* introducing global system-map

2017-07-06 Thread codeasone
I've been using lein-ring for some time now and in particular the auto-reload facility which I find very helpful. Whilst I like the reloaded workflow in cider - using a variation of Stuart Sierra's user.clj - I also have a use-case with a bunch of micro-services starting in a Docker composition

Howto: migrating from Postgres to Datomic

2017-07-06 Thread Ivan Grishaev
Hello! I wrote comprehensive blog post about switching from PostgreSQL to Datomic. Maybe it could help somebody in their duties. http://grishaev.me/en/pg-to-datomic Thanks, Ivan. -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group

Re: JDBC Connection auto-commit?: [ANN] clojure.java.jdbc 0.7.0 Beta1

2017-07-06 Thread Ralf Schmitt
Sean Corfield writes: > You said: > > But when the database is already connected like in > > (jdbc/with-db-connection [db db] > (jdbc/query db > query > {:result-set-fn (fn [coll] (doall (take 2 coll))) > :fetch-size 100 > :a

RE: JDBC Connection auto-commit?: [ANN] clojure.java.jdbc 0.7.0 Beta1

2017-07-06 Thread Sean Corfield
> The fact that the code currently sets the flag when opening the > connection is an implementation detail. It should not leak into the API On the contrary – it is important to identify the scope of the connection and the scope of when auto-commit is on/off. > Honestly, I don't care if java.jdbc

Re: JDBC Connection auto-commit?: [ANN] clojure.java.jdbc 0.7.0 Beta1

2017-07-06 Thread Ralf Schmitt
Sean Corfield writes: >> The fact that the code currently sets the flag when opening the >> connection is an implementation detail. It should not leak into the API > > On the contrary – it is important to identify the scope of the connection and > the scope of when auto-commit is on/off. But wh