Book a Demo

Author Topic: Where are tagged values stored in the DB?  (Read 6186 times)

seanassurant

  • EA Novice
  • *
  • Posts: 9
  • Karma: +0/-0
    • View Profile
Where are tagged values stored in the DB?
« on: May 06, 2009, 08:42:56 am »
I'm writing some custom reporting services reports for EA and wondered if anyone knew where tagged values (like those attached to a Node element) were stored? And how they are linked to the element.

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Where are tagged values stored in the DB?
« Reply #1 on: May 06, 2009, 03:29:00 pm »
Look in
  • t_taggedValue
  • t_attributeTag
  • t_connectorTag
  • t_operationTag

Dermot

  • EA Administrator
  • EA User
  • *****
  • Posts: 591
  • Karma: +7/-0
    • View Profile
Re: Where are tagged values stored in the DB?
« Reply #2 on: May 06, 2009, 03:41:26 pm »
In the SQL search editor - have a look at the description for t_objectProperties as well as t_TaggedValues. The first is the general table used for objects - second is for connectors.

Dave_Bullet

  • EA User
  • **
  • Posts: 295
  • Karma: +0/-0
    • View Profile
Re: Where are tagged values stored in the DB?
« Reply #3 on: May 12, 2009, 08:22:27 am »
Actually, connector tagged values are held in t_connectortag
"I know I'm close to a good design, but it's like the balloon animals, squeeze in one spot and the problem moves down the line"

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: Where are tagged values stored in the DB?
« Reply #4 on: May 12, 2009, 10:01:10 am »
But tagged values on connector ends are stored on t_taggedvalues.

So:
Element tags: t_objectproperties
Attribute tags: t_attributetag
Operation tags: t_operationtag
Parameter tags: t_taggedvalue
Connector tags: t_connectortag
Connector end tags: t_taggedvalue

fwoolz

  • EA User
  • **
  • Posts: 435
  • Karma: +0/-0
  • We have met the enemy, and he is us.<Pogo, 1970>
    • View Profile
Re: Where are tagged values stored in the DB?
« Reply #5 on: May 16, 2009, 03:15:55 am »
In general, one good way to get the feel for the EA database structure is to import an EAP file into EA as a database schema. Alternatively, create a new Access database and link to the tables in the EAP file of interest. The EAP file is, after all, a Jet (= Access, at least prior to 2007) database file! This presents the possibility of making changes to the EAP file in EA and observing the results on the database in Access and vice-versa. Just make sure to refresh the one application after making changes in the other!

Cheers,
Fred W
Fred Woolsey
Interfleet Technology Inc.

Always be ready to laugh at yourself; that way, you beat everyone else to the punch.