Index: org/postgresql/jdbc2/AbstractJdbc2Statement.java =================================================================== RCS file: /cvsroot/jdbc/pgjdbc/org/postgresql/jdbc2/AbstractJdbc2Statement.java,v retrieving revision 1.113 diff -c -r1.113 AbstractJdbc2Statement.java *** org/postgresql/jdbc2/AbstractJdbc2Statement.java 28 Jan 2009 09:50:21 -0000 1.113 --- org/postgresql/jdbc2/AbstractJdbc2Statement.java 25 May 2009 13:12:19 -0000 *************** *** 2569,2574 **** --- 2569,2575 ---- batchException = new BatchUpdateException(GT.tr("Batch entry {0} {1} was aborted. Call getNextException to see the cause.", new Object[]{ new Integer(resultIndex), queryString}), + newError.getSQLState(), successCounts); } *************** *** 2634,2639 **** --- 2635,2641 ---- batchException = new BatchUpdateException(GT.tr("Batch entry {0} {1} was aborted. Call getNextException to see the cause.", new Object[]{ new Integer(resultIndex), queryString}), + newError.getSQLState(), successCounts); }