Hi,
to the subject of EA DB see the following search for some databases. It searches some conveyed flows for a connector.
Helmut
SELECT DISTINCT o.ea_guid as CLASSGUID, o.Object_Type as CLASSTYPE,
o.name As Item, o.Object_Type As ItemType, o.stereotype As 'ItemStereotype', "Connector" As ConnectorType, c.Name, c.Stereotype
FROM t_object o,
t_xref xCon, t_xref xFlow,
t_connector c,
t_connector flow
where
c.connector_ID = <Search Term>
and c.ea_guid = xCon.Client
and xCon.Behavior = 'abstraction'
and flow.ea_guid in
(
#DB=SQLSVR# substring(x.description,0,39),
substring(xCon.description,39,39),
substring(xCon.description,78,39),
substring(xCon.description,117,39),
substring(xCon.description,156,39),
substring(xCon.description,195,39),
substring(xCon.description,234,39),
substring(xCon.description,273,39),
substring(xCon.description,312,39),
substring(xCon.description,351,39)
#DB=SQLSVR#
#DB=Other# left(xCon.description,38),
mid(xCon.description,40,38),
mid(xCon.description,79,38),
mid(xCon.description,118,38),
mid(xCon.description,157,38),
mid(xCon.description,196,38),
mid(xCon.description,235,38),
mid(xCon.description,274,38),
mid(xCon.description,313,38),
mid(xCon.description,352,38)
#DB=Other#
)
AND flow.ea_guid = xFlow.client
AND o.ea_guid in
(
#DB=SQLSVR# substring(xFlow.description,0,39),
substring(xFlow.description,39,39),
substring(xFlow.description,78,39),
substring(xFlow.description,117,39),
substring(xFlow.description,156,39),
substring(xFlow.description,195,39),
substring(xFlow.description,234,39),
substring(xFlow.description,273,39),
substring(xFlow.description,312,39),
substring(xFlow.description,351,39)
#DB=SQLSVR#
#DB=Other# left(xFlow.description,38),
mid(xFlow.description,40,38),
mid(xFlow.description,79,38),
mid(xFlow.description,118,38),
mid(xFlow.description,157,38),
mid(xFlow.description,196,38),
mid(xFlow.description,235,38),
mid(xFlow.description,274,38),
mid(xFlow.description,313,38),
mid(xFlow.description,352,38)
#DB=Other#
)
UNION
SELECT DISTINCT o.ea_guid , o.Object_Type ,
o.name, o.Object_Type, o.stereotype, "Information Flow", c.Name, c.Stereotype
FROM t_object o,
t_xref x,
t_connector c
where
x.client = c.ea_guid
and x.Behavior = 'conveyed'
and c.connector_ID = <Search Term>
and o.ea_guid in (
#DB=SQLSVR# substring(x.description,0,39),
substring(x.description,39,39),
substring(x.description,78,39),
substring(x.description,117,39),
substring(x.description,156,39),
substring(x.description,195,39),
substring(x.description,234,39),
substring(x.description,273,39),
substring(x.description,312,39),
substring(x.description,351,39)
#DB=SQLSVR#
#DB=Other# left(x.description,38),
mid(x.description,40,38),
mid(x.description,79,38),
mid(x.description,118,38),
mid(x.description,157,38),
mid(x.description,196,38)