2009-09-23 20:52:15 UTC
Your test works also for me. I'm using API and what I do it's a little different. If you change in your example this:
odb.store(flock);
odb.close();
odb = open(baseName);
XMLExporter exporter = new XMLExporter(odb);
with this:
odb.store(flock);
odb.commit();
XMLExporter exporter = new XMLExporter(odb);
then you will get the error I get.
So instead close&open I just did commit. It looks like you have to close, export and then close.
Is close after export also mandatory, if you want to continue session?
If you want to export during session, you have to use reconnect option, right? It would be nicer if just commit would work.