java/sql-dk/src/info/globalcode/sql/dk/DatabaseConnection.java
branchv_0
changeset 146 4f4f515df807
parent 142 da1e38386d84
child 155 eb3676c6929b
     1.1 --- a/java/sql-dk/src/info/globalcode/sql/dk/DatabaseConnection.java	Wed Jan 08 14:50:26 2014 +0100
     1.2 +++ b/java/sql-dk/src/info/globalcode/sql/dk/DatabaseConnection.java	Wed Jan 08 19:18:52 2014 +0100
     1.3 @@ -18,6 +18,7 @@
     1.4  package info.globalcode.sql.dk;
     1.5  
     1.6  import info.globalcode.sql.dk.batch.Batch;
     1.7 +import info.globalcode.sql.dk.batch.BatchException;
     1.8  import info.globalcode.sql.dk.configuration.DatabaseDefinition;
     1.9  import info.globalcode.sql.dk.configuration.Properties;
    1.10  import info.globalcode.sql.dk.configuration.Property;
    1.11 @@ -75,7 +76,7 @@
    1.12  		formatter.writeEndBatch();
    1.13  	}
    1.14  
    1.15 -	public void executeBatch(Batch batch, Formatter formatter) throws SQLException {
    1.16 +	public void executeBatch(Batch batch, Formatter formatter) throws SQLException, BatchException {
    1.17  		formatter.writeStartBatch();
    1.18  		formatter.writeStartDatabase(databaseDefinition);
    1.19  		while (batch.hasNext()) {