RE: [OJB-developers] RE: Referantial Integrity under ODMG
Brought to you by:
thma
From: Florian B. <bf...@fl...> - 2002-02-23 15:54:51
|
Hi, > I just loaded your stuff from CVS and there is only one failure for the > delete TestCase. > The changes look quite straightforward. The failure within the delete testcase looks like it exposes another problem. If the foreign key ist part of the details primary key, the objects are retrieved correctly and the deletion works. If the foreign key is not part of the primary key the query doesn't return the correct objects. In the test case there are five different objects associated to a master object, but the query returns the same object five times, therefore there is still a fk constraint violation, because four objects remain related to the master object. lg, Florian, der trotz strahlendem Sonnenschein in Wien herumhackt... |