db-ddlutils-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jun Li" <allanju...@gmail.com>
Subject Re: How can I write data within a list of tables into a XML file?
Date Wed, 01 Mar 2006 00:37:42 GMT
How did you get the SqlDynaBean iterator?

I see from the platform.query() or platform.fetch(), we can only get normal
dyna beans.

How could you convert them to SqlDynaBeans?

Thx in advance.

On 2/24/06, Vignesh Swaminathan <vswamina@cordys.com> wrote:
> >How can I do this in Java program?
> >To export data from a list of tables into a XML file, which
> class.methodshould I use?
> I have came across this but not really tried it out full extent,
> org.apache.ddlutils.io.DataWriter
> DataWriter dataWriter = new DataWriter(System.out); //any output stream
> dataWriter.write(iter); // a SqlDynaBean iterator (will not work for
> normal dyna beans);
> <vignesh/>
> "Winning solutions find the right balance between market needs and
> technical needs"
> ***************************************************************************************************
> The information in this message is confidential and may be
> legally  privileged.
> It is intended solely for the addressee. Access to this message by anyone
> else is
> unauthorized. If you are not the intended recipient, any disclosure,
> copying, or
> distribution of the message, or any action or omission taken by you in
> reliance
> on it is prohibited and may be unlawful. Please immediately contact the
> sender if
> you have received this message in error. This email does not constitute
> any
> commitment  from Cordys Holding BV or any of its subsidiaries except when
> expressly agreed in a written agreement between the intended recipient and
> Cordys Holding BV or its subsidiaries.
> ***************************************************************************************************


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message