What exactly appears in RelationsChangeLog?

0 views
Skip to first unread message

Damián

unread,
Jun 19, 2009, 10:24:55 AM6/19/09
to Fénix Framework
From what I've seen, changes to 1-to-1 and 1-to-n relations do not
appear. Only changes to n-to-n relations appear. We would need to have
access to changes to 1-to-n relations. Would it be possible?


Damián

Joao Cachopo

unread,
Jun 23, 2009, 3:09:12 AM6/23/09
to fenix-f...@googlegroups.com
Damián <damian....@gmail.com> writes:

The changes to the 1-to-n, as well as to the 1-to-1, appear as changes
in the corresponding slots in each of the classes in the relation.

But the same is true for the n-to-m relations and yet I've created the
TxIntrospector.getRelationsChangelog() method because it is easier to
look into this than into each of the supporting collections.

So, I guess that it makes sense to have also the 1-to-n relations in the
result of the getRelationsChangelog() method. But also the 1-to-1, right?

--
João Cachopo

Damián Arregui

unread,
Jun 23, 2009, 6:31:36 AM6/23/09
to fenix-f...@googlegroups.com
Yes, it would make sense to have all the changes to the role slots
available on the RelationsChangeLog.


Damián


2009/6/23 Joao Cachopo <joao.c...@ist.utl.pt>:

Joao Cachopo

unread,
Jun 26, 2009, 8:49:54 AM6/26/09
to fenix-f...@googlegroups.com
Damián Arregui <damian....@gmail.com> writes:

> Yes, it would make sense to have all the changes to the role slots
> available on the RelationsChangeLog.

The latest version (just committed) already does this.

--
João Cachopo

Reply all
Reply to author
Forward
0 new messages