Thanks Tom, but I want to retrieve data from xml file not database.
On 5/8/06, Thomas Dudziak <[EMAIL PROTECTED]> wrote:
On 5/8/06, Jun Li <[EMAIL PROTECTED]> wrote: > I want to use platform.getUpdateSql(), platform.store() and other > methods that relate with dynabean. But, how can I read xml data into a > collection of dynabean? > > I see the DataReader can only read data for inserting. Via the query and fetch methods in the platform you can retrieve data from a database. You can also look into the WriteDataToFileCommand class to see how these might be used to generate XML via StAX. Tom
-- -------------- Cheers, Jun
