Skip to content

Support for large object graphs and deeply nested structures #15

Answered by JanWiemer
fullben asked this question in Q&A
Discussion options

You must be logged in to vote

Thx for the question! It indeed addresses one of the central questions working with the JACIS store: How to bring the requirement to have an interconnected object graph and the requirement to have simple atomic objects for the JACIS store together.

I think your last idea to de-couple the model is the way to go. For object models like these I would use an individual store for each object type. A key for the store I would use an artificial key (or a real key like a name if appropriate). If one object references another only the keys for the other object is stored. The obvious drawback is that navigating the object graph gets cumbersome. To mitigate this problem I would introduce getters for…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@fullben
Comment options

Answer selected by fullben
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants