[Teneo] : Transient annotation not working on EClass. [message #604972] |
Tue, 24 April 2007 11:13 |
Duncan Alexander Messages: 90 Registered: July 2009 |
Member |
|
|
Hi,
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="http://www.sdmx.org/resources/infomodel/1.0/keyfamily.xmi">
<eclass name="XSMeasure">
<transient/>
</eclass>
</epackage>
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
codelist.ecore#//Code"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="MeasureTypeDimension" lowerBound="1"
eType="#//MeasureTypeDimension"/>
</eClassifiers>
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.
Duncan
|
|
|
Powered by
FUDForum. Page generated in 0.02634 seconds