Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » [teneo] eContainer is set null in inverseAdd() when adding new element into Resource's contentEList
[teneo] eContainer is set null in inverseAdd() when adding new element into Resource's contentEList [message #606675] Fri, 11 May 2007 10:54
Anthony Lee is currently offline Anthony LeeFriend
Messages: 114
Registered: July 2009
Senior Member
Hi,

In my EMF model , Product and ProductRegistry has many-To-one
relationship and ProductRegistry set as transient.

I create a new Product and set it's eContainer as not null
and then add this Product element into HibernateResourse's
contents, in inverseAdd() ,the eContainer is removed.

If I set the referenceFeature's proxyFlag as 65536 in debug mode
to make the isResolveProxy() return true, I could stop this removal.

Do I need to set something in hibernate.hbm.xml?

Anthony
Previous Topic:EMFT examples and eclipse 3.2.2
Next Topic:update operation has failed
Goto Forum:
  


Current Time: Thu Jan 21 05:41:03 GMT 2021

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

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

Back to the top