Abstract:
The present invention provides a method, a system and a computer program product for maintaining data consistency between multiple databases. A dependency graph for a data entity is generated based on a declarative specification the data entity. A source instance and a destination instance of the dependency graph are instantiated. Each data record in the source instance and a corresponding data record in the destination instance are compared to ascertain data consistency therein. One or more database transactions are performed based on the result of such consistency analysis.