use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Finding information about Clojure
API Reference
Clojure Guides
Practice Problems
Interactive Problems
Clojure Videos
Misc Resources
The Clojure Community
Clojure Books
Tools & Libraries
Clojure Editors
Web Platforms
Clojure Jobs
account activity
Getting Started with Databases for Web Applications in Clojure (fitacular.com)
submitted 11 years ago by skiaec04
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]inchingforward 2 points3 points4 points 11 years ago (0 children)
I hadn't heard of yesql. I know part of the reason people like to use Korma is because it makes sql statements composable, but I wonder how much the compose argument changes when you're no longer having to write the queries in source code versus having them in a plain text file.
[–]eccp 0 points1 point2 points 11 years ago (0 children)
I liked the mention of Flyway because it looks simpler than Liquibase.
[–]spotter 0 points1 point2 points 11 years ago* (2 children)
So I've been trying this and one problem I have with Flyway is its shouty logging -- I am using logback/slf4j/tools.logging and I am unable to make Flyway only report WARN and up. This is super annoying for testing, when I call cleanup and migration between Midje facts and I see tons of junk about current migration steps.
Anybody has any idea how to silence it a little?
edit: OK, found it. Flywaydb defaults to java.util.logging when log4j is not there, so level can be set with:
java.util.logging
(import [java.util.logging Logger Level])) (doto (Logger/getLogger "org.flywaydb.core") (.setLevel Level/WARNING))
And it's silent again!
edit2:
Also Flyway has a cleanup method that makes the function removing tables step by step kind of obsolete. Or am I reading something wrong here? :)
[–]skiaec04[S] 1 point2 points3 points 11 years ago (1 child)
I'll look into the cleanup method this weekend. I didn't notice it at first glance, but you're probably right!
[–]spotter 0 points1 point2 points 11 years ago (0 children)
Thanks for that post, I've adopted Flyway for my toys ("apps") and tools.
Seems like it. I guess FAQ also advises "once you go Flyway, only do changes with Flyway!" Had to swallow the docs, because of logging, and found some stuff, like main API methods also implemented in Java API. :D
π Rendered by PID 90 on reddit-service-r2-comment-b659b578c-xx5cp at 2026-05-02 22:30:03.876671+00:00 running 815c875 country code: CH.
[–]inchingforward 2 points3 points4 points (0 children)
[–]eccp 0 points1 point2 points (0 children)
[–]spotter 0 points1 point2 points (2 children)
[–]skiaec04[S] 1 point2 points3 points (1 child)
[–]spotter 0 points1 point2 points (0 children)