db-ddlutils-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Auer <eric.a...@mpi.nl>
Subject how to dump a single table to xml
Date Fri, 07 Apr 2006 12:39:50 GMT

Hi, I noticed that you can specify:

- the catalog(s)
- the schemas(s)
- the table TYPES

but not:

- the table names

in the DatabaseToDdlTask. I assume
that there is a typo in
http://db.apache.org/ddlutils/ant-tasks.html
and that this (and not "Same as for the
DdlToDatabaseTask task") is the flexibility
you get with writeDataToFile as well?

What I am trying to do is to dump a single
table from a database to some XML file.
The structure of the table can be dumped to
the same or a separate file. The dump of
the data should contain only the data of one
of the tables of the database.

How can this be done through the various
parameters of the Ant tasks? Or is it possible
to create a special Ant task to do this?
I would prefer to do the dump without having
to write a custom Java program to call DdlUtils.

Thanks for your suggestions...

Eric


Mime
View raw message