db-ddlutils-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas Dudziak" <tom...@gmail.com>
Subject Re: How can I write data within a list of tables into a XML file?
Date Wed, 01 Mar 2006 00:49:45 GMT
On 3/1/06, Jun Li <allanjunli@gmail.com> wrote:

> How did you get the SqlDynaBean iterator?

You get SqlDynaBean instances automatically when DdlUtils can
determine the table that corresponds to your query.

> I see from the platform.query() or platform.fetch(), we can only get normal
> dyna beans.
> How could you convert them to SqlDynaBeans?

You should give the table hints to the query method. See also the
WriteDataToFileCommand class which does exactly this:



View raw message