TRACKING CONSTRAINTS AND DEPENDENCIES ACROSS MAPPING LAYERS
First Claim
1. A method for object relational mapping, comprising:
- generating at least one object level custom command for at least one object modification in an object graph determined to be configured to be processed at an application level;
generating at least one object level dynamic command for at least one object modification in the object graph determined to be configured to be processed at a store level, the at least one object level dynamic command and the at least one object level custom command forming a plurality of object level commands;
assigning an identifier to each entity present in the object level commands;
assigning a pair of the identifiers to each relationship present in the object level commands, the pair of identifiers assigned to a first relationship being first and second identifiers respectively assigned to first and second entities included in the first relationship;
converting the at least one object level dynamic command to at least one store level dynamic command;
generating a dependency graph that includes a plurality of nodes and an edge coupled between a pair of nodes of the plurality of nodes, each node being associated with a corresponding store level dynamic command or an object level custom command;
configuring the edge according to an assigned identifier associated with the pair of nodes and a dependency between commands associated with the pair of nodes; and
performing a topological sort of the dependency graph to determine an execution order of the store level dynamic commands and the object level custom commands.
2 Assignments
0 Petitions
Accused Products
Abstract
Techniques for object relational mapping (ORM) are provided. A dependency graph generator receives a combination of object level custom commands and store level dynamic commands. Each store level dynamic command is generated from at least one object level dynamic command. An identifier is assigned to each entity present in the object level custom commands and the object level dynamic commands. A store level dynamic command includes any identifiers assigned in the corresponding object level dynamic command(s). The dependency graph generator is configured to generate a dependency graph that includes nodes and at least one edge coupled between a corresponding pair of nodes. Each node is associated with a corresponding store level dynamic command or an object level custom command. An edge is configured according to an identifier associated with the corresponding pair of nodes and a dependency between commands associated with the corresponding pair of nodes.
92 Citations
18 Claims
-
1. A method for object relational mapping, comprising:
-
generating at least one object level custom command for at least one object modification in an object graph determined to be configured to be processed at an application level; generating at least one object level dynamic command for at least one object modification in the object graph determined to be configured to be processed at a store level, the at least one object level dynamic command and the at least one object level custom command forming a plurality of object level commands; assigning an identifier to each entity present in the object level commands; assigning a pair of the identifiers to each relationship present in the object level commands, the pair of identifiers assigned to a first relationship being first and second identifiers respectively assigned to first and second entities included in the first relationship; converting the at least one object level dynamic command to at least one store level dynamic command; generating a dependency graph that includes a plurality of nodes and an edge coupled between a pair of nodes of the plurality of nodes, each node being associated with a corresponding store level dynamic command or an object level custom command; configuring the edge according to an assigned identifier associated with the pair of nodes and a dependency between commands associated with the pair of nodes; and performing a topological sort of the dependency graph to determine an execution order of the store level dynamic commands and the object level custom commands. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. An object relational mapping (ORM) system, comprising:
-
a dependency graph generator that receives at least one object level custom command and at least one store level dynamic command, the at least one store level dynamic command being generated from at least one object level dynamic command, an identifier being assigned to each entity present in the at least one object level custom command and to each entity present in the at least one object level dynamic command, the at least one store level dynamic command including any identifiers assigned in the at least one object level dynamic command; the dependency graph generator being configured to generate a dependency graph that includes a plurality of nodes and an edge coupled between a pair of nodes of the plurality of nodes, each node being associated with a corresponding store level dynamic command or an object level custom command; and the dependency graph generator being configured to configure the edge according to an assigned identifier associated with the pair of nodes and a dependency between commands associated with the pair of nodes. - View Dependent Claims (9, 10, 11, 12, 13)
-
-
14. A method for generating a dependency graph, comprising:
-
receiving at least one object level custom command and at least one store level dynamic command, the at least one store level dynamic command being generated from at least one object level dynamic command, an identifier being assigned to each entity present in the at least one object level custom command and to each entity present in the at least one object level dynamic command, the at least one store level dynamic command including any identifiers assigned in the at least one object level dynamic command; generating a dependency graph that includes a plurality of nodes and an edge coupled between a pair of nodes of the plurality of nodes, each node being associated with a corresponding store level dynamic command or an object level custom command; and configuring the edge according to an assigned identifier associated with the pair of nodes and a dependency between commands associated with the pair of nodes. - View Dependent Claims (15, 16, 17, 18)
-
Specification