One more newbie question
Hilaire Fernandes
hilaire2006 at laposte.net
Mon Oct 9 16:58:14 UTC 2006
Here is a situation I am wondering how Magma will deal it -- or any OODB.
Let's say we have MyApplication where is defined a class User with an
attribute 'company' referencing an instance of the Company class.
Now MyApplication is runned in a Squeak instance A and in a Squeak
instance B. So we have myApplicationA and myApplicationB running in two
different Squeak images.
In myApplicationA, userA instance is defined.
In myApplicationB, userB instance is defined.
userA and userB's company attribute is set to be semantically identical,
ie userA company = userB company. Of course it is not the same instances
as there are physically located in different images.
Now userA is persisted in a MagmaDB, and userB in the same MagmaDB.
Now I am wondering will company attribute of userA and userB be the same
(same memory location) or be duplicated?
Hilaire
More information about the Magma
mailing list