Hello,

I'm a first time user of elephant and I'm using it to build a
prototype application that will send and receive updates to persistent
objects via Json. I'd like to use unique IDs in order for the Json
data to refer to the elephant based persistent objects.

I'm wondering if it is appropriate to use the OIDs that elephant
assigns objects for this purpose. Will these values change during the
lifetime of the associated object?

If using OID values makes sense for this purpose, is there a user-API
way to get an object by its OID? Should I instead add another indexed
field on my object that contains the OID value? It seems like there
should be a way to get an object by it's OID, maybe I'm just missing
it?

thanks in advance,

Peter

_______________________________________________
elephant-devel site list
elephant-devel@common-lisp.net
http://common-lisp.net/mailman/listinfo/elephant-devel

Reply via email to