Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » [Teneo][Error generating mapping for bpmn2]([Teneo][Error generating mapping for bpmn2])
[Teneo][Error generating mapping for bpmn2] [message #902083] Wed, 15 August 2012 18:51 Go to next message
Marcos Dutto is currently offline Marcos DuttoFriend
Messages: 3
Registered: August 2012
Junior Member
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 Confused . 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
Re: [Teneo][Error generating mapping for bpmn2] [message #902118 is a reply to message #902083] Thu, 16 August 2012 03:57 Go to previous messageGo to next message
Martin Taal is currently offline Martin TaalFriend
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
Re: [Teneo][Error generating mapping for bpmn2] [message #902276 is a reply to message #902118] Thu, 16 August 2012 17:57 Go to previous messageGo to next message
Marcos Dutto is currently offline Marcos DuttoFriend
Messages: 3
Registered: August 2012
Junior Member
I had just added this bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=387421
Re: [Teneo][Error generating mapping for bpmn2] [message #912061 is a reply to message #902276] Wed, 12 September 2012 21:51 Go to previous messageGo to next message
Marcos Dutto is currently offline Marcos DuttoFriend
Messages: 3
Registered: August 2012
Junior Member
Martin,

Did you find a solution to this problem?
Are you working on it? I ask because I have to know with technology use to my project and this is a crucial point in my decision.
Re: [Teneo][Error generating mapping for bpmn2] [message #912808 is a reply to message #912061] Fri, 14 September 2012 08:16 Go to previous message
Martin Taal is currently offline Martin TaalFriend
Messages: 5468
Registered: July 2009
Senior Member
Hi Marcos,
Sorry did not look at it yet. Hopefully during the weekend.

gr. Martin

On 09/12/2012 11:51 PM, Marcos Dutto wrote:
> Martin,
>
> Did you find a solution to this problem? Are you working on it? I ask because I have to know with technology use to my
> project and this is a crucial point in my decision.


--

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
Previous Topic:Genmodel Factory Inheritance
Next Topic:DND create EObject while dragging
Goto Forum:
  


Current Time: Thu Apr 25 09:10:54 GMT 2024

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

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

Back to the top