|
Re: [Teneo][Error generating mapping for bpmn2] [message #902118 is a reply to message #902083] |
Thu, 16 August 2012 03:57 |
Martin Taal Messages: 5468 Registered: July 2009 |
Senior Member |
|
|
He Marcos,
I have not tried this model. I am quite interested to support all kinds of models so it is nice to add this one to the
test stack, especially as this model is also from an eclipse project.
Can you open a bugzilla with the ecore files you use? I saw four ecore files in git but not sure which one or all should
be used here.
http://git.eclipse.org/c/bpmn2/tree/org.eclipse.bpmn2/model
gr. Martin
On 08/15/2012 08:51 PM, Marcos Dutto wrote:
> I am trying to persist the bpmn2 model using teneo/hibernate (the model is described here
> http://www.eclipse.org/modeling/mdt/?project=bpmn2) and I found several problems.
>
> 1. The models include eClasses called "DocumentRoot" so Teneo doesn't take them into account. I tried including the
> option teneo.mapping.map_document_root=true. But it doesn´t work, the error says there are duplicate attributes for the
> class DocumentRoot.
> Is there any way to generate the entity-names using the package-name or something like that?
>
> 2. We have a problem with the eAnnotations in the references of the eClass. If we generate without deleting the
> eAnnotations, the one-to-many references are converted to many-to-one :? . And we don't understand what is happening.
>
> 3. We tried using the option teneo.mapping.inheritance=JOINED, but it generates an error we don´t understand.
>
> Any ideas?
> Thanks in advance,
>
> Marcos Dutto
--
With Regards, Martin Taal
Springsite/Elver.org
Office: Hardwareweg 4, 3821 BV Amersfoort
Postal: Nassaulaan 7, 3941 EC Doorn
The Netherlands
Cell: +31 (0)6 288 48 943
Tel: +31 (0)84 420 2397
Fax: +31 (0)84 225 9307
Mail: mtaal@xxxxxxxx - mtaal@xxxxxxxx
Web: www.springsite.com - www.elver.org
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03658 seconds