Object IDs vs relational keys?
Amir Ansari
fractallyte at csi.com
Thu Mar 18 05:08:39 UTC 2010
Thanks Chris, that makes things clearer!
Amir
On Wed, 17 Mar 2010 11:23:13 -0500
Chris Muller <asqueaker at gmail.com> wrote:
> Hi Amir, with Magma, every object responds to #magmaOid (It's an ugly
> name, but I prefer to be considerate of namespace, in case someone
> else wants to use #oid). It is an integral identifier unique to that
> repository.
>
> However, in an object system, you usually don't need to do "logical"
> joins between objects via id, instead, just reference them directly.
> That is what is meant when your book mentions that ODBMS's "hard-code"
> the relationships. They're not actually coded, they just "pre-exist"
> in teh db, rather than needing to be "looked up" over and over again..
>
> Hope this help,
> Chris
More information about the Magma
mailing list