Fork me on GitHub
#sql
<
2017-02-21
>
plins18:02:12

hello everyone, just started a database layer on a new microservice, and im trying to setup korma

plins18:02:41

what libs do you folks use? its my first time consuming a relational database with Clojure

plins18:02:53

but i cant manage to get the simplest example running

seancorfield18:02:22

At World Singles — very heavy SQL user — we use raw clojure.java.jdbc for most stuff with HoneySQL for composing complex reporting queries.

seancorfield18:02:41

I don’t know that Korma is still maintained these days?

plins18:02:20

well, the last commit on the source folder was 10 days ago

plins18:02:48

but im quite irritated with all this "magic" and probably will change to to honey sql or jdbc

donaldball19:02:05

I use the same combo as sean. It’s a nice division of responsibilities. clojure.java.jdbc runs the queries and applies the transactions, honeysql is a pure library, allowing for the construction and composition of complex sql.

Shantanu Kumar19:02:58

@plins We use Asphalt https://github.com/kumarshantanu/asphalt (with DBCP, and with C3P0 connection pooling libs) at Concur in several microservices

donaldball19:02:13

Ooh, that’s neat. I’m pretty into sql wrappers that encourage being explicit about transaction isolation requirements.

karstendick19:02:29

I just stick with jdbc

karstendick19:02:42

everybody groks raw sql

plins19:02:02

thank you very much everyone 🙂 im dropping the korma tests to try something closer to sql

curtis.summers19:02:53

@plins HugSQL: https://www.hugsql.org (disclosure: I'm the creator)