db-ddlutils-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vignesh Swaminathan" <vswam...@cordys.com>
Subject RE: How can I write data within a list of tables into a XML file?
Date Fri, 24 Feb 2006 04:19:18 GMT
>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.
 ***************************************************************************************************


Mime
View raw message