문제

After setup for new ecommerce business, I would like to export all data, and stored as seed-ext data.

Now, I setup new ofbiz instance, and run ant task load-extseed to load previous ext seed data, but many errors occured which caused by key in database.

My question is "Is there any ways to import data after export all data"?

Thank for any comments, ideas or answers :-)

도움이 되었습니까?

해결책

To resolve FK errors in loaded data you have a couple options:

  1. change the files to reorder the data to satisfy dependencies
  2. use the dummy FKs option Bilgin mentioned

The dummy FKs option can also be done on the command line with "createfks=true". If you are using the ant target you may need to modify it to add this argument.

다른 팁

You can try importing the data from webtools data import page. Use "Create Dummy FKs" option

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top