how do i resolve cyclic dependecie?

2010-05-27
2012-12-07
  • Elhanan Maayan

    Elhanan Maayan - 2010-05-27

    i'm gettings this error..
    10-05-27 10:03:23,326  INFO   - executed 22 jobs
    2010-05-27 10:03:23,654  INFO   - starting 22 jobs
    2010-05-27 10:03:23,966  INFO   - executed 22 jobs
    2010-05-27 10:03:24,356  INFO   - starting 22 jobs
    2010-05-27 10:03:24,575  INFO   - executed 22 jobs
    2010-05-27 10:03:24,809  INFO   - cleaning up…
    2010-05-27 10:03:24,871  ERROR  - 125 entities not exported due to cyclic dependencies
    java.lang.RuntimeException: 125 entities not exported due to cyclic dependencies
    at net.sf.jailer.Jailer.writeEntities(Jailer.java:638)
    at net.sf.jailer.Jailer.export(Jailer.java:1133)
    at net.sf.jailer.Jailer.jailerMain(Jailer.java:989)
    at net.sf.jailer.ui.UIUtil$5.run(UIUtil.java:357)
    at java.lang.Thread.run(Thread.java:619)
    Error: java.lang.RuntimeException: 125 entities not exported due to cyclic dependencies
    2010-05-27 10:03:24,996  ERROR  - working directory is c:\java_app\jailer

     
  • Ralf Wisser

    Ralf Wisser - 2010-05-27

    the error message indicates that the data subset contains some rows which cyclically depends on each other (due to FK constrains) and therefore cannot be exported as a sequence of INSERT-Statements. You could change the type of an association involved in the cycle from "depends on" to "associate" to get rid of the cycle.
    Also take a look at https://sourceforge.net/projects/jailer/forums/forum/700499/topic/3165031

     
  • Elhanan Maayan

    Elhanan Maayan - 2010-05-27

    but how do i know which ones have the problems?

     
  • Ralf Wisser

    Ralf Wisser - 2010-05-27

    Examine the "export.log". If that doesn't help you, email it and "jailer.log" to me.

     
  • Elhanan Maayan

    Elhanan Maayan - 2010-05-27

    sent it..

     


Anonymous

Cancel  Add attachments





Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks