1. A method for reducing dependency calculation time in object persistence with circular referential integrity dependency, comprising: building a graph using foreign key dependency from object to relational mapping, where nodes of the graph are object types and connected directionally from a source containing a foreign key to a target of a foreign key reference; topologically sorting the graph to order dependencies among the nodes including circular dependencies; encapsulating the circular dependencies as a complex node; performing object dependency calculations on the nodes and the complex node in the graph; and using results of the object dependency calculations to generate a sequence in which the objects can be modified in a relational database.