My code to both dump and restore a database is at
http://code.google.com/p/uykfd/source/browse/src/main/scala/org/acooke/uykfd/db/Dump.scala

However it is (1) in Scala; (2) doesn't follow your error handling
conventions; (3) makes assumptions about how keys are named and
implemented.

Also, the dump is missing the first element of each table.  I believe
that is a bug in Empire DB, but I will first try to reproduce it in
Java and then file a report with a simple example.

Andrew


2009/10/13 Rainer Döbele <[email protected]>:
> Hi Andrew,
>
> currently there is no support for importing XML. The idea behind extracting 
> query data in XML is mainly to be able to transform it to a desired 
> representation though XSLT - for example to transform it directly to XHTML.
>
> Importing XML data however could probably not be solved in such a generic way 
> and it is thus up to the application to implement the import logic.
>
> However if you think your import code could be useful for our community we'd 
> be happy to have a look at it.
> Regards
>
> Rainer
>
>
> [email protected] wrote:
>> Re: Importing XML
>>
>> Hi,
>>
>> I can see how to export data to XML via DBReader, but is there a
>> utility that will import data from the same format?
>>
>> Thanks,
>> Andrew
>

Reply via email to