## writeSchemaToDatabase

Description

Java type: `org.apache.ddlutils.task.WriteSchemaToDatabaseCommand`

Parses the schema XML files specified for the enclosing task, and creates the corresponding schema in the database.

Parameters

dodrops : boolean

Specifies whether tables, external constraints, etc. can be dropped if necessary. Note that this is only relevant when `alterDatabase` is `false`.
Per default database structures are dropped if necessary

failonerror : boolean

Specifies whether the execution shall stop if an error has occurred during the task runs.
By default execution will be stopped when an error is encountered.

alterdatabase : boolean

Specifies whether DdlUtils shall alter an existing database rather than clearing it and creating it new.
Per default an existing database is altered

Nested elements

⇒ `parameter`

©2005-2007 Apache Software Foundation