[HOWTO] Identify objects in EA database that refer to non existing classifiers

While working with Enterprise Architect (EA), it has already happened a few times that for unknown reasons objects in EA database referred to classifier GUIDs that are not or no longer existing. If the underlying database is an oracle database, such entries can be found by using the following SQL query.

SELECT [o].*
FROM [t_object] [o]
FULL OUTER JOIN [t_object] [c] ON [o].Classifier_guid = [c].ea_guid
WHERE [o].Abstract = '0'
AND [o].Classifier_guid IS NOT NULL
AND [c].ea_guid IS NULL

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: