Methods and systems for loose coupling between triggers and entities
First Claim
Patent Images
1. A method for using a database program with loose triggers, the method comprising:
- providing by the database program, a first loose trigger;
receiving by the database program, a selection of a first entity from a plurality of entities associated with a plurality of organizations, each entity being a subdivision of an associated organization and being associated with a plurality of databases;
storing by the database program, the selected first entity and the first loose trigger in a metadata database before code associated with the first loose trigger is compiled and the first loose trigger is coupled to one of the plurality of entities; and
coupling the selected first entity with the first loose trigger after the code associated with the first loose trigger has been compiled such that at least the selected first entity of the plurality of entities is coupled to the first loose trigger after the first loose trigger has been compiled, the first loose trigger causing a change to one of the plurality of databases associated with the selected first entity in response to being triggered.
2 Assignments
0 Petitions
Accused Products
Abstract
A database program includes loose triggers that are not coupled to specific entities at the time the database program is compiled. The database program provides a user interface that allows a user to couple selected entities to the loose triggers or decouple selected entities from loose triggers. The database program validates the entities that are selected by the user for coupling or decoupling and stores the coupled entities as part of the loose trigger definitions in a loose trigger metadata database.
-
Citations
21 Claims
-
1. A method for using a database program with loose triggers, the method comprising:
-
providing by the database program, a first loose trigger; receiving by the database program, a selection of a first entity from a plurality of entities associated with a plurality of organizations, each entity being a subdivision of an associated organization and being associated with a plurality of databases; storing by the database program, the selected first entity and the first loose trigger in a metadata database before code associated with the first loose trigger is compiled and the first loose trigger is coupled to one of the plurality of entities; and coupling the selected first entity with the first loose trigger after the code associated with the first loose trigger has been compiled such that at least the selected first entity of the plurality of entities is coupled to the first loose trigger after the first loose trigger has been compiled, the first loose trigger causing a change to one of the plurality of databases associated with the selected first entity in response to being triggered. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A computer program product comprising computer-readable program code to be executed by one or more processors when retrieved from a non-transitory machine-readable medium, the program code including instructions to
provide by the database program, a first loose trigger; -
receive by the database program, a selection of a first entity from a plurality of entities associated with a plurality of organizations, each entity being a subdivision of an associated organization and being associated with a plurality of databases; store by the database program, the selected first entity and the first loose trigger in a metadata database before code associated with the first loose trigger is compiled and the first loose trigger is coupled to one of the plurality of entities; and couple the selected first entity with the first loose trigger after the code associated with the first loose trigger has been compiled such that at least the selected first entity of the plurality of entities is coupled to the first loose trigger after the first loose trigger has been compiled, the first loose trigger causing a change to one of the plurality of databases associated with the selected first entity in response to being triggered. - View Dependent Claims (9, 10, 11, 12, 13, 14)
-
-
15. An apparatus for using a database program with loose triggers, the apparatus comprising:
-
a processor; and one or more stored sequences of instructions which, when executed by the processor, cause the processor to; provide by the database program, a first loose trigger; receive by the database program, a selection of a first entity from a plurality of entities associated with a plurality of organizations, each entity being a subdivision of an associated organization and being associated with a plurality of databases; store by the database program, the selected first entity and the first loose trigger in a metadata database before code associated with the first loose trigger is compiled and the first loose trigger is coupled to one of the plurality of entities; and couple the selected first entity with the first loose trigger after the code associated with the first loose trigger has been compiled such that at least the selected first entity of the plurality of entities is coupled to the first loose trigger after the first loose trigger has been compiled, the first loose trigger causing a change to one of the plurality of databases associated with the selected first entity in response to being triggered. - View Dependent Claims (16, 17, 18, 19, 20, 21)
-
Specification