Book a Demo

Author Topic: Table t_xref and SVN  (Read 5600 times)

novikovigor

  • EA User
  • **
  • Posts: 46
  • Karma: +0/-0
    • View Profile
Table t_xref and SVN
« on: April 24, 2014, 07:20:52 pm »
Hello!
Is data from t_xref stored in SVN?
I can't find any xml files where EA stores data from table t_xref.

novikovigor

  • EA User
  • **
  • Posts: 46
  • Karma: +0/-0
    • View Profile
Re: Table t_xref and SVN
« Reply #1 on: April 24, 2014, 07:23:19 pm »
In particular i'm interested in data with type=Transformation

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Table t_xref and SVN
« Reply #2 on: April 24, 2014, 08:05:25 pm »
EA does not export it's internal tables via XML. It exports the model structure. EA's table hold more information than what an XML can store. So you can not reproduce a repository in full from a  XML export.

q.

Helmut Ortmann

  • EA User
  • **
  • Posts: 970
  • Karma: +42/-1
    • View Profile
Re: Table t_xref and SVN
« Reply #3 on: April 24, 2014, 08:07:53 pm »
Hi,

in t_xref a lot of things like properties are stored.

In *.xml you see the property which is realized by EA with t_xref.

Take a look in Thomas Kilians e-book EAInside to see more details.

As far as I know there is no *.xml element for transformations. Only for the results like generated classes.

Helmut
Coaching, Training, Workshop (Addins: hoTools, Search&Replace, LineStyle)

novikovigor

  • EA User
  • **
  • Posts: 46
  • Karma: +0/-0
    • View Profile
Re: Table t_xref and SVN
« Reply #4 on: April 24, 2014, 08:24:38 pm »
Thanks.
Imagine that I transform model A into B and then flush B to SVN. Then another user gets model B and transforms A into B. Will his transformation be executed properly?
I guess it won't because this user's EA doesn't store info about previous transformation.

novikovigor

  • EA User
  • **
  • Posts: 46
  • Karma: +0/-0
    • View Profile
Re: Table t_xref and SVN
« Reply #5 on: April 24, 2014, 09:10:51 pm »
I'm sorry but I have too many questions.

1. Could anyone tell me what is lifecycle of data which is stored in t_xref?
I removed my EA project then created a new one from SVN. How was t_xref filled (I mean info about previous transformations) if data is not stored in SVN?

2. Several rows were removed from t_xref. I don't know when it happens. So when I transform model A into B the second time, duplicate B-objects are created instead of merging with old B-objects. Why are rows removed from t_xref and how can i follow it and prevent?

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Table t_xref and SVN
« Reply #6 on: April 24, 2014, 10:56:43 pm »
Quote
Thanks.
Imagine that I transform model A into B and then flush B to SVN. Then another user gets model B and transforms A into B. Will his transformation be executed properly?
I guess it won't because this user's EA doesn't store info about previous transformation.
The transformation will not complete in terms of "special" EA stuff which is normally referred to as Reference Data (e.g. images, counters, tagged value definitions). You need to take care of that yourself. A good idea is to create a base EAP with all those reference data and recreate models from that. Regarding images: you can tell EA via the XML options to include images in the XMI.

q.