Skip to main content



      Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » Validation Exception with Teneo 0.7.5 (April 22) when moving to EMF 2.2.2
Validation Exception with Teneo 0.7.5 (April 22) when moving to EMF 2.2.2 [message #606853] Mon, 04 June 2007 19:11
Eclipse UserFriend
Moved to EMF Ecore 2.2.2, and now when trying to save Resources, I get the
following StoreValidationException:

org.eclipse.emf.teneo.StoreValidationException: Diagnosis of
com.tibco.matrix.models.componentmodel.impl.ResourcesTypeImp l@5b1426{hibernate://?dsname=amx50&query1=FROM
AdminCluster cluster left join fetch cluster.plugins plugin where
plugin.name = 'amxadministrator'#//@component/@resources}
The ID '1' of
' com.tibco.matrix.models.componentmodel.impl.UiResourceTypeIm pl@14af469{hibernate://?dsname=amx50&query1=FROM
AdminCluster cluster left join fetch cluster.plugins plugin where
plugin.name = 'amxadministrator'#1}' collides with that of
' com.tibco.matrix.models.administrationmodel.impl.MatrixAdmin InstanceImpl@154f77b{hibernate://?dsname=amx50&query1=FR OM
AdminCluster cluster left join fetch cluster.plugins plugin where
plugin.name = 'amxadministrator'#1}'

When I look at the code, the validation is being done by
org.eclipse.emf.teneo.resource.NonLoadingDiagnostician which extends (and
uses methods from) org.eclipse.emf.ecore.util.Diagnostician.

Is this a known problem in moving to EMF Ecore 2.2.2? Is there a
workaround? The two objects that are "conflicting" here are actually from
completely different tables i.e. they are not extended from the same model
base class - so it should be ok for them to have the same IDs.

Thanks,

Sundeep
Previous Topic:[Teneo] Enhancement using ENum literals in HQL queries...
Next Topic:Validation Exception with Teneo 0.7.5 (April 22) when moving to EMF 2.2.2
Goto Forum:
  


Current Time: Thu Jul 03 06:24:42 EDT 2025

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

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

Back to the top