This is not a rellay ObjectDB problem, rather a JPA problem. Our web-based DB supports Hibernate or JPA (ElicpseLink/ObjectDB). We implemented a export/import class to export the whole database or single datasets (domains) in a persistence layer/database independent format. This class works fine - DB exports form a Hibernate/MySQL base via the independent formt to ObjectDB is possible. But exporting large binary data sets is very slow. To avoid memory problems the binary data type is read step by step during the export with the query/setFirstResult() & setMaxResults(). But for large data sets the way is slow. We have an own entity for storing binary data (pictures, documents).
Hint: The export enumerates all entities(=table) for exporting data.
An overview of this problem can be found here.
http://stackoverflow.com/questions/2761543/how-to-handle-large-dataset-with-jpa-or-at-least-with-hibernate
It seems we must rework our code using non standard features.
for Hibernate - StatelessSession/ScrollableResults
for EclipseLink - ScrollableCursor
But which tricky way can we use to traverse all objects of an entity?
Peter