db-ddlutils-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rusty Wright <rusty.wri...@gmail.com>
Subject Re: xml data file format?
Date Wed, 25 Mar 2009 04:50:55 GMT
Thanks; I didn't see that.

1) I still think it would be nice if the format could be documented on the ddlutils web site,
obviously in a non-specific way but also with a specific simple example.  It seems to me that
it's very similar to DbUnit's non-verbose format so you could use their explanation as a starting

2) The documentation for writeDtdToFile says "This sub task does not require a database connection,
so the dataSource sub element of the enclosing task can be omitted." which is incorrect, it
does require a connection, and, to split hairs over terminology, it should say "database sub
element" instead "dataSource sub element" since the xml tag it's referring to is <database>
and not <dataSource>.

Thanks again.

Thomas Dudziak wrote:
> On Tue, Mar 24, 2009 at 1:26 PM, Rusty Wright <rusty.wright@gmail.com> wrote:
>> No, sorry, that doesn't help.  I looked again on the torque site and can't
>> find the documentation for the data load file.
>> The two urls you gave are for the database schema; I'm asking about the data
>> file where you load data into the database using the writeDataToDatabase
>> tag, after it's created the tables.
>> I managed to figure it out by searching the mailing list archives, but it
>> seems quite odd to me that it's apparently completely undocumented.
> The format for the data file is not fixed, it depends on the schema.
> There is an Ant task that will generate a data file DTD for a
> particular schema:
> http://db.apache.org/ddlutils/ant/org.apache.ddlutils.task.WriteDtdToFileCommand.html
> Tom

View raw message