Author Topic: Relationship matrix data  (Read 8370 times)

bholtzman

  • EA User
  • **
  • Posts: 93
  • Karma: +2/-0
    • View Profile
Relationship matrix data
« on: July 27, 2019, 05:14:07 am »
Can someone tell me the table(s) in which relationship matrix data is stored? Thanks very much.

Bill

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +396/-301
  • I'm no guru at all
    • View Profile
Re: Relationship matrix data
« Reply #1 on: July 27, 2019, 07:00:29 am »
t_trxtypes. See p. 36 of my Inside book.

q.

bholtzman

  • EA User
  • **
  • Posts: 93
  • Karma: +2/-0
    • View Profile
Re: Relationship matrix data
« Reply #2 on: July 27, 2019, 07:30:39 am »
Thanks Tom. I looked at t_trxtypes and I saw my profiles, but I still don't see where the individual relationships between objects are stored. I noticed that in your book the table t_objecttrx has a description of ??

I did a search of all columns in the database with *TRX* but came up empty. I figured there'd be a table with columns of object_id1, object_id2, trx_id but I didn't see any. Nor, when I selected several relationships for a specific object did I find any tables with that object_id other than what I would expect. It's a puzzle.

Bill

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +396/-301
  • I'm no guru at all
    • View Profile
Re: Relationship matrix data
« Reply #3 on: July 27, 2019, 08:11:37 am »
Hmm. Give me a weekend and I'll look into that once again. Will be in a training camp over the next days.

q.

bholtzman

  • EA User
  • **
  • Posts: 93
  • Karma: +2/-0
    • View Profile
Re: Relationship matrix data
« Reply #4 on: July 27, 2019, 08:16:29 am »
Much obliged!

Richard Freggi

  • EA User
  • **
  • Posts: 493
  • Karma: +18/-7
    • View Profile
Re: Relationship matrix data
« Reply #5 on: July 27, 2019, 01:51:59 pm »
t_trxtypes. See p. 36 of my Inside book.

q.

By coincidence I just bought the "Inside Enterprise Architect" book, after spending a couple of hours looking at Sparx documentation and googling around.  My goal was to generate model reports in Excel that would require wayyyy too much tweaking of the report generator.  I would recommend it!  Saved me many hours of hacking around and swearing at my computer monitor.

Well written book, just a stream of useful information I can use right here and now, and great value.  Thanks Mr. QWERTY!

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13402
  • Karma: +566/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Relationship matrix data
« Reply #6 on: July 27, 2019, 03:42:26 pm »
Relations are stored in the table t_connector
The relationship matrix is just a view on existing relations stored there.

Geert

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +396/-301
  • I'm no guru at all
    • View Profile
Re: Relationship matrix data
« Reply #7 on: July 27, 2019, 05:01:54 pm »
I once looked it up again and the profile is stored in t_trxtypes. Maybe you're just, as Geert said, after the relations. If you manually enter search criteria they will be an on-line view on the relations stored in t_connector. Only the profiles (Options/Profiles/Save) are stored in t_trxtypes.

q.

P.S. @Richard: Thanks a lot :-)

bholtzman

  • EA User
  • **
  • Posts: 93
  • Karma: +2/-0
    • View Profile
Re: Relationship matrix data
« Reply #8 on: July 28, 2019, 07:37:41 am »
Relations are stored in the table t_connector
The relationship matrix is just a view on existing relations stored there.

Geert

Thanks Geert. What in t_connector distinguishes a relationship matrix association from an association drawn within a diagram? How is the association between a row in t_connector made with a row in t_trxtypes?

Bill

bholtzman

  • EA User
  • **
  • Posts: 93
  • Karma: +2/-0
    • View Profile
Re: Relationship matrix data
« Reply #9 on: July 28, 2019, 07:38:13 am »
t_trxtypes. See p. 36 of my Inside book.

q.

By coincidence I just bought the "Inside Enterprise Architect" book, after spending a couple of hours looking at Sparx documentation and googling around.  My goal was to generate model reports in Excel that would require wayyyy too much tweaking of the report generator.  I would recommend it!  Saved me many hours of hacking around and swearing at my computer monitor.

Well written book, just a stream of useful information I can use right here and now, and great value.  Thanks Mr. QWERTY!

Richard, I second that 100%!

Bill

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13402
  • Karma: +566/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Relationship matrix data
« Reply #10 on: July 28, 2019, 02:13:17 pm »
Relations are stored in the table t_connector
The relationship matrix is just a view on existing relations stored there.

Geert

Thanks Geert. What in t_connector distinguishes a relationship matrix association from an association drawn within a diagram? How is the association between a row in t_connector made with a row in t_trxtypes?

Bill
Nothing, diagrams and relationship matrix are just two different views on the same data.

Geert

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +396/-301
  • I'm no guru at all
    • View Profile
Re: Relationship matrix data
« Reply #11 on: July 29, 2019, 07:06:13 am »
Yes. The difference is the way you see the connectors. In diagram you can hide individual connectors (for various reasons). The RM (AFAIK) always shows all relations between the cross referenced elements. The profile itself defines the parameters for the view (so which connector shall be cross referenced).

q.

bholtzman

  • EA User
  • **
  • Posts: 93
  • Karma: +2/-0
    • View Profile
Re: Relationship matrix data
« Reply #12 on: August 13, 2019, 04:30:53 am »
Thanks, all. Sorry for the delayed response as I was on a 2 week holiday!

Bill

bholtzman

  • EA User
  • **
  • Posts: 93
  • Karma: +2/-0
    • View Profile
Re: Relationship matrix data
« Reply #13 on: August 14, 2019, 01:39:32 am »
You know the biggest hassle of using the Relationship Matrix? Reading the top header - the text is aligned vertically! I wind up tilting my head or taking a screen shot and rotating it...not sure of a better way, maybe some kind of cursor hover feature?

Bill

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +396/-301
  • I'm no guru at all
    • View Profile
Re: Relationship matrix data
« Reply #14 on: August 14, 2019, 02:15:17 am »
I've seen such matrices with a 45 degrees heading.

q.