## dumpMetadata

Description

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

A simple helper task that dumps information about a database using JDBC.

Parameters

columnpattern : String

Specifies the columns to be processed. For details and typical table types see java.sql.DatabaseMetaData#getColumns.
By default, all columns are read (value `%`).

schemapattern : String

Sets the schema pattern used when accessing the database.
Per default, no specific schema is used (value `%`).

tabletypes : String

Specifies the table types to be processed. For details and typical table types see java.sql.DatabaseMetaData#getTables.
By default, all types of tables are read.

outputfile : File (required)

Specifies the output file to which the database metadata is written to.

catalogpattern : String

Sets the catalog pattern used when accessing the database.
Per default, no specific catalog is used (value `%`).

procedurepattern : String

Specifies the procedures to be processed. For details and typical table types see java.sql.DatabaseMetaData#getProcedures.
By default, all procedures are read (value `%`).

dumpprocedures : boolean

Specifies whether procedures shall be read from the database.
By default, procedures are read.

outputencoding : String

Specifies the encoding of the output file.
Per default, `UTF-8` is used.

dumptables : boolean

Specifies whether tables shall be read from the database.
By default, tables are read.

tablepattern : String

Specifies the table to be processed. For details see java.sql.DatabaseMetaData#getTables.
By default, all tables are read (value `%`).

Nested elements

⇒ `database` (an object of type `org.apache.commons.dbcp.BasicDataSource`)

©2005-2007 Apache Software Foundation