Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Good example of reading database data
(with-session [session _]
(let [iter (.. session (createQuery "from Event") iterate)]
(for [row (iterator-seq iter)]
(process-data row)))))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment