[elephant-devel] Re: blog example w/ hunchentoot

Ian Eslick eslick at csail.mit.edu
Sun Apr 22 15:05:21 UTC 2007


On Apr 22, 2007, at 10:39 AM, Ian Eslick wrote:

> All cursor operators and all get-instance-by-xxxx functions return  
> persistent objects.  A persistent object has an OID and a pointer  
> to it's parent store-controller's specification.  If all slots are  
> transient,

actually I meant if all slots are 'persistent', transient slots use  
in memory storage.  persistent slot accesses always go to the data  
store...

> that is all the memory storage that is used.  However, if the  
> objects are not already in-memory, the deserializer will call make- 
> instance on that instance using the OID and class stored in the DB.
>
> This does not call initforms or use initargs but will trigger any  
> initialize-instance method specializers you have defined (such as  
> after methods).

transient slots have their initforms called each time the object is  
created

> Currently we do not provide an API to directly access OIDs without  
> creating objects.
>
> Ian
>
> On Apr 22, 2007, at 5:34 AM, Mac Chan wrote:
>
>>
>
> _______________________________________________
> elephant-devel site list
> elephant-devel at common-lisp.net
> http://common-lisp.net/mailman/listinfo/elephant-devel




More information about the elephant-devel mailing list