On 3/1/06, Jun Li <[EMAIL PROTECTED]> 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:

http://svn.apache.org/viewcvs.cgi/db/ddlutils/trunk/src/java/org/apache/ddlutils/task/WriteDataToFileCommand.java?view=markup

Tom

Reply via email to