This content has been marked as final. Show 2 replies
TopLink inserts objects based on referential integrity rules, deadlock avoidance, and other rules.1 person found this helpful
What issue is the order causing you?
To force the order you can use flush() in JPA, or execute multiple UnitOfWork in the native API.
Hi James, Thank you for your reply.
Our business rules force to insert the objects in the insertion order. We are using native Toplink API.
I will consider using multiple UnitOfWork executions for insertion.