For a few weeks now, we have been receiving very inconsistence foreign key constraint errors from the DB. After viewing SQL Profiler, it appears that child records are trying to be saved prior to the parent record, thus causing the constraint errors.
Sometimes we get the errors, sometimes we don’t. We haven’t found any consistency.
Is there a way to determine what DevForce is using for the order with which it attempts to persist to the database? And how DevForce determines this order?
Are there any known issues with PersistenceOrder that we might work around?