Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » [Teneo] Can't persist reference when EOpposite is set.
[Teneo] Can't persist reference when EOpposite is set. [message #619206] Fri, 06 June 2008 21:18
Francois is currently offline FrancoisFriend
Messages: 17
Registered: July 2009
Junior Member
Hi,

I am using emf 2.4 (dynamic efeatures) and teneo 0.8.0RC1A. We have this
issue where the relation between 2 object is not persisted when both
object`s reference to each other has their EOpposite set to each other.

ex:
A Book.author is referring [1] to an Author, with EOpposite set to
Author.book
An Author is referring [1 to *] to Book, and with an EOpposite set to
Book.author

When I set the author of the book, then persist the book (and author
through cascading) and commit, the author and the book are persisted but
the relation between the twos is not.

Any idea why from this brief description?

If not, I will try to provide a sample.

Regards
François
Previous Topic:EMF Compare & ChangeDescription on Teneo/Database backed EMF objects
Next Topic:[Teneo] not finding hibernate.properties
Goto Forum:
  


Current Time: Sat Apr 27 04:31:21 GMT 2024

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

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

Back to the top