Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » [Teneo] Build update
[Teneo] Build update [message #103606] Thu, 22 November 2007 12:46
Martin Taal is currently offline Martin TaalFriend
Messages: 5468
Registered: July 2009
Senior Member
The latest Teneo build solves a number of issues/feature requests (see the release notes). For
backward compatibility the following change is relevant:

Two new options are available to set default cascades for containment and non-containment relations:
PersistenceOptions.CASCADE_POLICY_ON_CONTAINMENT
PersistenceOptions.CASCADE_POLICY_ON_NON_CONTAINMENT

These can be set to a comma delimited list of cascade options (e.g. REMOVE,MERGE,PERSIST,REFRESH)

The following options are deprecated:
PersistenceOptions.SET_DEFAULT_CASCADE_ON_NON_CONTAINMENT
PersistenceOptions.SET_CASCADE_ALL_ON_CONTAINMENT

If you have this last property set to false then you should now use the following setting:
props.setProperty(PersistenceOptions.CASCADE_POLICY_ON_CONTA INMENT, "REMOVE,MERGE,PERSIST,REFRESH");

--

With Regards, Martin Taal

Springsite/Elver.org
Office: Hardwareweg 4, 3821 BV Amersfoort
Postal: Nassaulaan 7, 3941 EC Doorn
The Netherlands
Tel: +31 (0)84 420 2397
Fax: +31 (0)84 225 9307
Mail: mtaal@springsite.com - mtaal@elver.org
Web: www.springsite.com - www.elver.org
Previous Topic:[Compare] undo/apply with several DiffElement
Next Topic:[Teneo] Build update
Goto Forum:
  


Current Time: Sat Sep 19 16:51:30 GMT 2020

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

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

Back to the top