[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [cobalt-developers] Schema Removal...
- Subject: RE: [cobalt-developers] Schema Removal...
- From: "Robert Walter" <rwalter@xxxxxxxxx>
- Date: Fri Aug 9 21:09:00 2002
- Organization: Cyrius Automation Inc.
- List-id: Discussion Forum for developers on Sun Cobalt Networks products <cobalt-developers.list.cobalt.com>
Wow,
Yep, that is exactly my problem, Schema goes, data lingers. If I remove
my pacakge, and then re-install at a later time, all the data is
magically there again. Bummer. I guess I will have to finaggle the
beast. I will re-initialize my data in an install / uninstall script.
Thanks Tim.
PS. Did you ever hear back about my issue with uninstalling pacakges
with spaces in the i18n message strings concerning vendor and package
name. They cause the removal to fail.
Have a great weekend!
Robert Walter
rwalter@xxxxxxxxx
Cyrius Automation Inc.
78 - 678 Citadel Drive
Port Coquitlam, BC
V3C6M7 CANADA
-----Original Message-----
From: cobalt-developers-admin@xxxxxxxxxxxxxxx
[mailto:cobalt-developers-admin@xxxxxxxxxxxxxxx] On Behalf Of Tim Hockin
Sent: Friday, August 09, 2002 8:52 PM
To: cobalt-developers@xxxxxxxxxxxxxxx
Subject: 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
_______________________________________________
cobalt-developers mailing list cobalt-developers@xxxxxxxxxxxxxxx
http://list.cobalt.com/mailman/listinfo/cobalt-developers