Sparx Systems Forum
Enterprise Architect => Bugs and Issues => Topic started by: Hilario Grun on June 19, 2008, 05:47:43 am
-
I have defined an OPERATION who is used on many sequence diagrams.
How I found on who sequence diagrams I use this OPERATION?
-
I made a query like this.
XXXXXXX - is the operation name
-------------------------------------
SELECT distinct
t_diagram.Name diagrama
FROM t_object
INNER JOIN (t_package
INNER JOIN (t_connector
INNER JOIN t_diagram
ON t_connector.DiagramID = t_diagram.Diagram_ID)
ON t_package.Package_ID = t_diagram.Package_ID)
ON t_object.Object_ID = t_connector.Start_Object_ID
WHERE
t_connector.Name Like '%XXXXXXX%'
-
Looks OK to me. Did it work?
-
Yes.
I used.
Of course, I have do have access on the exact database where I created EA tables
-
Just a few suggestions for using this with EA's search mechanism.
- Adding 't_diagram.ea_guid as CLASSGUID' to your search will allow EA to directly open the diagram from the search window.
- '#WC#' will be replaced by the wildcard for the current database.
- '<Search Term>' will be replaced by the text being searched for.