statements.clear();
        protected void completeStatements() throws SQLException {            SQLException resultEx = null;            for (Iterator iter = statements.iterator(); iter.hasNext();) {                AbstractStatement statement = (AbstractStatement) iter.next();                try {                    statement.completeStatement();                } catch(SQLException ex) {                    if (resultEx == null)                        resultEx = ex;                    else                        resultEx.setNextException(ex);                }            }        }