Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » TENEO : Link not created
TENEO : Link not created [message #615508] Mon, 18 February 2008 18:07
fred is currently offline fredFriend
Messages: 35
Registered: July 2009
Member
Hello Martin

I think I have found a problem with teneo.

Pearhaps it is already known, or pearhaps it is normal but I would like to
have your point of view :


my GMF application is done with 1 ecore, but with this ecore, I created 2
diagrams.
The first diagram is the complete diagram using my root "CHAMPIONSHIP".
from this diagram, I can open a subdiagram for the EObject "TEAM"

I can create instance of TEAM and PLAYER.

the link between TEAM and PLAYER is bidirectional.
- link1 : player --> team (not transient)
- link2 : team --> player (transient)
link1 is defined as EOpposite of link2 in ecore
and link2 is defined as EOpposite of link1

the most part of links work in my application, but the links between
player and team dont work.

No error are raised, nothing goes wrong, link is drown between team and
player.
but when I close my application and re-open it, the link has disappeared.
If I try to see my database, the field correspondont to the foreign key is
empty, it hasn't been updated.


If I modify the ecore like this :
- link1 : player --> team (not transient)
- link2 : team --> player (NOT transient)
all goes well and the application saves the link in database.

I think that when a link is not transient and its opposite is transient,
no links are saved whereas the opposite of the transient link should have
been saved.
Previous Topic:error in initializing data store
Next Topic:TENEO : Link not created
Goto Forum:
  


Current Time: Mon Jun 14 21:12:48 GMT 2021

Powered by FUDForum. Page generated in 0.01405 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top