|
From: SourceForge.net <no...@so...> - 2012-07-23 09:06:04
|
Feature Requests item #3471931, was opened at 2012-01-10 09:04 Message generated for change (Settings changed) made by rlogiacco You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=449494&aid=3471931&group_id=47439 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None >Status: Pending Resolution: None Priority: 5 Private: No Submitted By: Ignacio Alvarez (ialvarez79) Assigned to: Nobody/Anonymous (nobody) Summary: Avoid CyclicTablesDependencyException Initial Comment: I found a way to avoid CyclicTablesDependencyException (maybe I'm missing some part of the problem). This could be as simple (maybe some configurable item), to split the dataset in two datasets. The first will do the inserts, having problematic fields in null. The second dataset will then update the records, defining dependencies according to our needs. (This is the natural way I do this stuff when I have to insert cyclic data manually) ---------------------------------------------------------------------- Comment By: Roberto Lo Giacco (rlogiacco) Date: 2012-07-23 02:05 Message: Your approach is correct, the problem would be to do it automatically. We have an implementation strategy for dbUnit 3 using EL, but we don't feel it practical for dbUnit 2 and dbUnit 3 is in it's early development stage. Unless you can provide a patch and relative unit tests I'll have to close this as not applicable. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=449494&aid=3471931&group_id=47439 |