I'm getting the following exception trying to insert large batch data in the database. Any ideas?
java.lang.Exception: transaction rolled back: java.lang.InterruptedException at clojure.contrib.sql.internal$throw_rollback.invoke(internal.clj: 142) at clojure.contrib.sql.internal$transaction_STAR_.invoke(internal.clj: 169) at com.prototype.commonUtil$persist_data $fn__2297.invoke(commonUtil.clj:86) at clojure.contrib.sql.internal $with_connection_STAR_.invoke(internal.clj:105) at com.prototype.commonUtil$persist_data.invoke(commonUtil.clj:85) (defn insert-table-entry-multi [table-name col-names & values] (apply insert-values table-name col-names values)) (defn persist-data [rows table-name column-names] (clojure.contrib.sql/with-connection *db* ;commonUtil.clj: 85 (clojure.contrib.sql/transaction ;commonUtil.clj: 86 (try (apply insert-table-entry-multi table-name column-names rows))))) 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