[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-developers] Schema Removal...



Robert Walter wrote:

object, if I retrieve the OID of my object (example
System.MySystemObject) will the Destroy($oid) function do the right
thing? Or is there an easier way? I am kind of confused because to
destroy the object I would have to create another instance? Right? That
way I could get the OID of the object. I of course don't want to destroy
the system object alltogether (duh). I just want to detroy the namespace
(in this case MySystemObject).


Yeah, don't do that. That would be BAD. Just removing the .schema file effectively removes the namespace. Unfortunately, a consideration that was missed in the original design was uninstalling schemas, and there is no explicit way to remove or 'de-populate' a namespace. Removing the schema file removes all knowledge of the data from the database, but the data itself lingers, unseen.

--
Tim Hockin
Systems Software Engineer
Sun Microsystems, Cobalt Server Appliances
thockin@xxxxxxx