platform.getSqlBuilder().createTables(model, _doDrops);
platform.getSqlBuilder().createTables(model, params, _doDrops);
    public void execute(Task task, Database model) throws BuildException    {        if (_outputFile == null)        {            throw new BuildException("No output file specified");        }        if (_outputFile.exists() && !_outputFile.canWrite())        {            throw new BuildException("Cannot overwrite output file "+_outputFile.getAbsolutePath());        }        Platform   platform   = getPlatform();        Connection connection = null;        try        {            FileWriter writer = new FileWriter(_outputFile);            platform.getSqlBuilder().setWriter(writer);            if (isAlterDatabase())            {                if (getDataSource() == null)                {                    throw new BuildException("No database specified.");                }                Database currentModel = platform.readModelFromDatabase();                platform.getSqlBuilder().alterDatabase(currentModel, model, _doDrops, true);            }            else            {                platform.getSqlBuilder().createTables(model, _doDrops);            }            writer.close();            task.log("Written SQL to "+_outputFile.getAbsolutePath(), Project.MSG_INFO);        }        catch (Exception ex)        {            if (isFailOnError())            {                throw new BuildException(ex);            }            else            {                task.log(ex.getLocalizedMessage(), Project.MSG_ERR);            }        }        finally        {            if (connection != null)            {                try                {                    connection.close();                }                catch (SQLException ex)                {}            }        }    }