(defn print-update-counts
"Prints the update counts from a BatchUpdateException to stream"
[stream exception]
(.println stream "Update counts:")
(doseq [[index count] (indexed (.getUpdateCounts exception))]
(.println stream (format " Statement %d: %s"
index
(get special-counts count count)))))
Comments top
No comments for print-update-counts. Log in to add a comment.