ibdknox/Korma — pull request #59 by felideon (2012-05-02 06:10:36+00:00)
Title: Better SQLException error message

Currently if a SQLException is handled, all we do is jdbc/print-sql-exception on the BatchUpdateException which doesn't give us much to work with. By calling .getNextException on the handled exception, we get the actual SQL error which is much more informative.