Re: [elephant-devel] make-instance with :from-oid

2010-02-24 Thread Lukas Gießmann
fantastic, this was exactly what I was looking for. thanks lukas -- From: "Alex Mizrahi" Sent: Wednesday, February 24, 2010 4:38 PM To: Subject: Re: [elephant-devel] make-instance with :from-oid > LG> So when I use an oi

Re: [elephant-devel] make-instance with :from-oid

2010-02-24 Thread Alex Mizrahi
LG> So when I use an oid that stores an object that is not of the given class, there is no error thrown or no warning. LG> Is there any possibility to be sure that the given oid stores an object of the given class? You shouldn't use make-instance with :from-oid initarg to recreate instances -

[elephant-devel] make-instance with :from-oid

2010-02-24 Thread Lukas Gießmann
Hi list, I need to create some objects from their oid. But I noticed that there is always created an object of the given type even if there is no object stored with the passed oid or if there is stored another object (another class) with the passed oid. Here is a simple example of this problem: