Reputation:
When I want to export my Object database and I get an error:
constructor ODatabaseExport.ODatabaseExport(
ODatabaseDocumentInternal,
String,
OCommandOutputListener
) is not applicable
argument mismatch;
OObjectDatabaseTx cannot be converted to ODatabaseDocumentInternal
Since ODatabaseExport constructor is only for documents I'm wondering what options do I have obout export / importing database from java.
Upvotes: 2
Views: 53
Reputation:
Since OObjectDatabase
is a wraper around ODatabaseDocument
you can easily access the underlying element by method getUnderlying()
which will return wated ODatabaseDocumentInternal
on which you can execute export/import.
Upvotes: 2