db-ddlutils-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas Dudziak" <tom...@gmail.com>
Subject Re: How to read xml data into a collection of dynabean?
Date Tue, 09 May 2006 20:07:22 GMT
On 5/9/06, Jun Li <allanjunli@gmail.com> wrote:

> Thanks Tom, but I want to retrieve data from xml file not database.

In that case, simply create your own implementation of the DataSink
interface (DdlUtils only provides the DataToDatabaseSink
implementation of this interface, but its really a simple interface)
and use that with the DataReader. You can have a look at the
WriteDataToDatabaseCommand class to see how these are wired (esp. in
combination with the model and possible converters).


View raw message