Problems with db4o

I'm interested in using db4o as a save mechanism in a desktop application, but a couple of things bother me.

1st problem: accidentally cropping very complex object plots.

Say I have a tree with a height of 10 and I get the root, how does it cope with me, saving the root object again?

In my opinion, it does not get the whole tree that it extracts from the first 5 reference layers.

So. If I make a trivial change in the root and then save it, it will push the nodes further down the tree, essentially deleting them.

If not .. how will this cope?

The second problem: extracting subgraphs in a larger graph of objects

Using my sample tree at the top ... If the database contains 1 massive tree, can I query one node for it? Since it .storewas called only once, does my database believe that it contains only 1 β€œrecord”?

Thanks.

+3
source share

All Articles