Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » [Teneo] : Transient annotation not working on EClass.
[Teneo] : Transient annotation not working on EClass. [message #604972] Tue, 24 April 2007 11:13
Duncan Alexander is currently offline Duncan AlexanderFriend
Messages: 90
Registered: July 2009
im having a problem with the Transient annotation when set on an EClass. Im using an
annotations.xml file with the following entry:

<epackage namespace-uri="">
<eclass name="XSMeasure">

The ecore for this files looks like:

<eClassifiers xsi:type="ecore:EClass" name="XSMeasure" abstract="true">
<eStructuralFeatures xsi:type="ecore:EReference" name="Code" lowerBound="1" eType="ecore:EClass
<eStructuralFeatures xsi:type="ecore:EReference" name="MeasureTypeDimension" lowerBound="1"

The class XSMeasure has no superclass and contains only two uni-directional many-to-one references
to other classes which are navigable only from XSMeasure.

I would expect XSMeasure not to be included in the hibernate mapping which Teneo generates but it
always appears on re-generation.

Other elements within the annotations.xml file are working as expected but never the Transient tag.

Is this the correct syntax Im using here ?

Any help is appreciated.

Previous Topic:[Teneo+Hibernate] TransientObjectException while saving a resourc
Next Topic:Validation - constraintProvider - package
Goto Forum:

Current Time: Tue Jan 19 22:47:49 GMT 2021

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

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

Back to the top