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 to read xml data into a collection of dynabean?
Date Mon, 08 May 2006 23:08:00 GMT
Thanks Tom, but I want to retrieve data from xml file not database.


On 5/8/06, Thomas Dudziak <tomdzk@gmail.com> wrote:
>
> On 5/8/06, Jun Li <allanjunli@gmail.com> 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

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