So, i have function that looks something like this : (defn insert-to-db [some-list] (map #(db/with-connection pool (db/insert-records :courses %)) some-list))
some-list here is just a list of hashmaps I want to insert and I'm calling this function from -main This works perfectly with lein repl and lein run. But if I run lein uberjar and do a java -jar target/file.jar it doesnt do anything at all. I've doing other things like creating the db and printing out the rows from the db. They all work fine with the jar file. Also, inserting a single entry using insert-records works. It's really strange and I can't figure out what's happening Thanks. -- -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.