Sun Java System Application Server Enterprise Edition 8.2 Release Notes

Persistence

This section describes known and associated solutions related to Java Data Objects and Container-Managed Persistence

JDO76018: Unable to flush persistent instances due to circular dependencies. (ID 6500961)

Description

This exception is thrown if a chain of foreign key dependencies between instances modified (or created) in a transaction results in a circular dependency in the database.

Solution

Split the original set of operations into multiple transactions.