Re: Modeling subclasses with references
Posted by: Alex Aspiotis
Date: April 29, 2007 07:45AM

Without the table definitions I can't say I understand the situation completely.

I assume that U and V are reference tables storing details about properties of the objects stored in I and J. e.g "Status_CD" where 1 = active, 2 = deactivated, 3 = in repair etc.

Given above, you are asking for "if I delete a property that is in use, then I want all objects with that property to be deleted, and their respective superclass as applicable".

My opinion is that this may be a useful feature in some cases but it's not a wide spread need and won't be built out.

To me, that property sounds so important its actually part of the object itself and should be in table A.

Alternatively, you can write a trigger such that "on delete table I (or J), delete related records in table A"

Options: ReplyQuote


Subject
Written By
Posted
Re: Modeling subclasses with references
April 29, 2007 07:45AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.