[Teneo] Build update [message #103606] |
Thu, 22 November 2007 12:46 |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.03654 seconds