Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » teneo:circular loop on DB2 error
teneo:circular loop on DB2 error [message #615872] Thu, 13 March 2008 21:03
Julia is currently offline JuliaFriend
Messages: 85
Registered: July 2009
Hi Martin,

I'm using teneo with DB2 and on certain section of my meta-data during my
database initialize returns me an error which is essentially a loop -
table a is connect to table b to table c to table a.

DB21034E The command was processed as an SQL statement because it was not
a valid Command Line Processor command. During SQL processing it
returned: SQL20254N FOREIGN KEY "NVGTNLMN_LYTLMNTR" is not valid since it
would cause
table "DB2INST1.NAVIGATIONELEMENT" to be delete-connected to itself
through a cycle that contains a delete rule of either RESTRICT or SET
NULL. Reason code = "1". SQLSTATE=42915

DB2 was able to pinpoint where this happens and am able to replicate it on
a small sample.

If I make a substitution change in one of the element (for loop:Text and
copy Text into Preference), the problem goes away.


<xs:complexType name="Preference">
<xs:element name="value" type="loop:Text" minOccurs="0"
maxOccurs="unbounded"/> <--- use actual Text here
<xs:attribute name="name" type="xs:string" use="required"/>

I'm not sure if this is a bug or not. Perhaps changing my settings on how
I generate jdo might be a workaround for this problem. Currently I am using


Is there any other settings that you think I can try? I sent you my simple
sample just in case you want to try it. Thanks.

Previous Topic:[Teneo] Is there a way to separate notation that define column length?
Next Topic:[CDO 0.8M5] Persisting Enums troubles
Goto Forum:

Current Time: Mon Jun 27 08:55:56 GMT 2022

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

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

Back to the top