db-ddlutils-dev 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 the data into xml file
Date Sun, 27 Nov 2005 11:15:23 GMT
On 11/27/05, ravi <ravi_kumar@persistent.co.in> wrote:

> I am not able to write the data into xml file.
>
> I am using DataWriter class for that.Code is as follows.
>
> DataWriter dw = new DataWriter(os );
> List list = platform.fetch(db,"SELECT * FROM DEPT");
> dw.write(list);
>
> I am getting error as
>
> Nov 27, 2005 4:27:48 PM org.apache.ddlutils.io.DataWriter write
> WARNING: Cannot write normal dyna beans (type: result)

Some JDBC drivers do not return enough metadata to identify the
tables/columns returned, and thus DdlUtils cannot associate them to
the model elements.
Please use the fetch variant with table hints, and supply the table
object for DEPT.

Tom

Mime
View raw message