[elephant-devel] Storing objects in the root when don't care about the key / add same key to root more than once

Red Daly reddaly at stanford.edu
Mon May 28 19:35:48 UTC 2007


Ian Eslick wrote:
> A few clarifications:
>
> It is poor coding practice to use system-assigned OIDs.  In future 
> versions of elephant OIDs may change over time due to GC, auto 
> recovery of oid space, etc.  It's sort of like using the physical 
> address of an object in a C++ program.  There is a legitimate way to 
> use OIDs outside of elephant, but we haven't yet defined an interface 
> for users to do so (for example you might want to use OIDs to create 
> many-to-many maps or efficient persistent sets)

When can we expect this legitimate interface?  And if it is not expected 
soon, do you have a favorite hack?  I have wanted foreign references to 
persistent objects in the past, and I suspect other users run into 
situations, too.
>
> Ian

Red



More information about the elephant-devel mailing list