Skip to main content



      Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » Collide ID validation error
Collide ID validation error [message #126154] Fri, 20 June 2008 15:06 Go to next message
Eclipse UserFriend
I’m getting the following diagnostic error while saving the resource via
TENEO:

Diagnosis of
com.accenture.tools.sd.model.domain.impl.WindowImpl@14ad296{ hibernate://?dsname=yigal_db&query1=
from Window where entityname='WINTST2'#Window|id=95}

The ID '35' of
'com.accenture.tools.sd.model.domain.impl.EntityDescriptionI mpl @e6529c{hibernate://?dsname=yigal_db&query1=
from Window where entityname='WINTST2'#EntityDescription|id=35}'
collides with that of
' com.accenture.tools.sd.model.domain.impl.ToolResourceRegistr yImpl@d9783e{hibernate://?dsname=yigal_db&query1=
from Window where entityname='WINTST2'#ToolResourceRegistry|id=35}'

It seems that there is a conflict between IDs on different classes that
are different tables.

I do not understand why all of a sudden I have ID conflict? (we did
convert a different data set to see this issue, it does not happen with
the dataset from Assembly test).

If I have Window class that has an attribute called “WinIdKey” and it is
marked in the eCore as ID=true.

The Window class references two other classes:
1. ToolResourceRegistry (trrIdKey attribute with ID=true) and
2. EntityDescription (descIdKey attribute with ID=true)
all the ID attributes have a different name.

Why is there a conflict?


Thanks
Yigal
Re: Collide ID validation error [message #126169 is a reply to message #126154] Fri, 20 June 2008 15:36 Go to previous message
Eclipse UserFriend
Originally posted by: merks.ca.ibm.com

Yigal,

Please don't cross post questions. This was answered in the EMF
newsgroup. Note that Teneo has graduated it's good to use the EMF
newsgroup for that now.


Yigal wrote:
> I’m getting the following diagnostic error while saving the resource
> via TENEO:
>
> Diagnosis of
> com.accenture.tools.sd.model.domain.impl.WindowImpl@14ad296{ hibernate://?dsname=yigal_db&query1=
> from Window where entityname='WINTST2'#Window|id=95}
>
> The ID '35' of
> 'com.accenture.tools.sd.model.domain.impl.EntityDescriptionI mpl @e6529c{hibernate://?dsname=yigal_db&query1=
> from Window where entityname='WINTST2'#EntityDescription|id=35}'
> collides with that of
> ' com.accenture.tools.sd.model.domain.impl.ToolResourceRegistr yImpl@d9783e{hibernate://?dsname=yigal_db&query1=
> from Window where entityname='WINTST2'#ToolResourceRegistry|id=35}'
>
> It seems that there is a conflict between IDs on different classes
> that are different tables.
>
> I do not understand why all of a sudden I have ID conflict? (we did
> convert a different data set to see this issue, it does not happen
> with the dataset from Assembly test).
>
> If I have Window class that has an attribute called “WinIdKey” and it
> is marked in the eCore as ID=true.
>
> The Window class references two other classes:
> 1. ToolResourceRegistry (trrIdKey attribute with ID=true) and
> 2. EntityDescription (descIdKey attribute with ID=true)
> all the ID attributes have a different name.
>
> Why is there a conflict?
>
>
> Thanks
> Yigal
Re: Collide ID validation error [message #619273 is a reply to message #126154] Fri, 20 June 2008 15:36 Go to previous message
Eclipse UserFriend
Yigal,

Please don't cross post questions. This was answered in the EMF
newsgroup. Note that Teneo has graduated it's good to use the EMF
newsgroup for that now.


Yigal wrote:
> I’m getting the following diagnostic error while saving the resource
> via TENEO:
>
> Diagnosis of
> com.accenture.tools.sd.model.domain.impl.WindowImpl@14ad296{ hibernate://?dsname=yigal_db&query1=
> from Window where entityname='WINTST2'#Window|id=95}
>
> The ID '35' of
> 'com.accenture.tools.sd.model.domain.impl.EntityDescriptionI mpl @e6529c{hibernate://?dsname=yigal_db&query1=
> from Window where entityname='WINTST2'#EntityDescription|id=35}'
> collides with that of
> ' com.accenture.tools.sd.model.domain.impl.ToolResourceRegistr yImpl@d9783e{hibernate://?dsname=yigal_db&query1=
> from Window where entityname='WINTST2'#ToolResourceRegistry|id=35}'
>
> It seems that there is a conflict between IDs on different classes
> that are different tables.
>
> I do not understand why all of a sudden I have ID conflict? (we did
> convert a different data set to see this issue, it does not happen
> with the dataset from Assembly test).
>
> If I have Window class that has an attribute called “WinIdKey” and it
> is marked in the eCore as ID=true.
>
> The Window class references two other classes:
> 1. ToolResourceRegistry (trrIdKey attribute with ID=true) and
> 2. EntityDescription (descIdKey attribute with ID=true)
> all the ID attributes have a different name.
>
> Why is there a conflict?
>
>
> Thanks
> Yigal
Previous Topic:Collide ID validation error
Next Topic:Hibernate flush causes transactional domain error
Goto Forum:
  


Current Time: Thu Jul 03 13:14:59 EDT 2025

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

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

Back to the top