Cascade feature for creating records in a database
First Claim
1. A computer-implemented method of generating new records by a database program that serves as an interface to a database that stores at least a plurality of records in a computer readable medium, said computer-implemented method comprising:
- receiving, by said database program, a request to enter data in a non-existing record in said database, wherein said non-existing record has not been created in said database, but is to be created as a first record in a first table which is related in a bidirectional relationship to a second table and at least one intermediate table between said first and second tables in said relationship, wherein said at least one intermediate table has at least one common field in common with each of said first and second tables;
generating, by said database program, said first record in said first table in order to create said non-existing record;
storing, by said database system, said first record in said computer readable medium;
recursively providing a parent record as the next child record in said bidirectional relationship in order to (a) determine whether to propagate one or more values;
copying match values from another parent record of the parent record to the next child record when said determining (a) determines to propagate said one or more values;
copying match values from the next child record of the child record to the other parent record when said determining (a) determines to propagate said one or more values;
entering, by said database program, said data into a field of said first record;
(b) determining, by said database program, whether to propagate one or more values stored in common fields between said first, second, and at least one intermediate table in order to establish said bidirectional relationship for said first record; and
automatically propagating, by said database program, at least one of said values stored in said common fields between said first, second, and at least one intermediate table in both directions, thereby automatically creating said bidirectional relationship between said first record and one or more records of said second table and at least one intermediate table.
2 Assignments
0 Petitions
Accused Products
Abstract
Techniques for providing a “cascade create” mechanism which allows data to be entered in related non-existing records in the database are disclosed. The techniques can be used to provide a database program that supports graphical, bi-directional data relationships, as well as multiple predicates. The “cascade create” mechanism supports arbitrary data relationships, as well as complex data models that are not supported by conventional techniques. Furthermore, the “cascade create” mechanism frees the users and database programmers from having to write code or provide rules that are specific to a particular data model and/or specific data relationship.
-
Citations
24 Claims
-
1. A computer-implemented method of generating new records by a database program that serves as an interface to a database that stores at least a plurality of records in a computer readable medium, said computer-implemented method comprising:
-
receiving, by said database program, a request to enter data in a non-existing record in said database, wherein said non-existing record has not been created in said database, but is to be created as a first record in a first table which is related in a bidirectional relationship to a second table and at least one intermediate table between said first and second tables in said relationship, wherein said at least one intermediate table has at least one common field in common with each of said first and second tables; generating, by said database program, said first record in said first table in order to create said non-existing record; storing, by said database system, said first record in said computer readable medium; recursively providing a parent record as the next child record in said bidirectional relationship in order to (a) determine whether to propagate one or more values; copying match values from another parent record of the parent record to the next child record when said determining (a) determines to propagate said one or more values; copying match values from the next child record of the child record to the other parent record when said determining (a) determines to propagate said one or more values; entering, by said database program, said data into a field of said first record; (b) determining, by said database program, whether to propagate one or more values stored in common fields between said first, second, and at least one intermediate table in order to establish said bidirectional relationship for said first record; and automatically propagating, by said database program, at least one of said values stored in said common fields between said first, second, and at least one intermediate table in both directions, thereby automatically creating said bidirectional relationship between said first record and one or more records of said second table and at least one intermediate table. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
-
-
12. A computer system for accessing a database, wherein said computer system includes at least one processor which is configured for:
-
receiving a request to enter data in a non-existing record in said database, wherein said non-existing record has not been created in said database, but is to be said relationship, wherein said at least one intermediate table has at least one common field in common with each of said first and second tables; generating said first record in said first table in order to create said non-existing record; recursively providing a parent record as the next child record in said bidirectional relationship in order to (a) determine whether to propagate one or more values; copying match values from another parent record of the parent record to the next child record when said determining (a) determines to propagate said one or more values; copying match values from the next child record of the child record to the other parent record when said determining (a) determines to propagate said one or more values; entering said data into a field of said first record; (b) determining whether to propagate one or more values stored in common fields between said first, second, and at least one intermediate table in order to establish said bidirectional relationship for said first record; and automatically propagating at least one of said values stored in said common fields between said first, second, and at least one intermediate table in both directions, thereby automatically creating said bidirectional relationship between said first record and one or more records of said second table and at least one intermediate table. - View Dependent Claims (13, 14, 15, 16)
-
-
17. A computer readable medium including at least computer program code for generating new records in a database that stores at least a plurality of records, said computer readable medium comprising:
-
computer program code for receiving a request to enter data in a non-existing record in said database, wherein said non-existing record has not been created in said database, but is to be created as a first record in a first table which is related in a bidirectional relationship to a second table and at least one intermediate table between said first and second tables in said relationship, wherein said at least one intermediate table has at least one common field in common with each of said first and second tables; computer program code for generating said first record in said first table in order to create said non-existing record; computer program code for recursively providing a parent record as the next child record in said bidirectional relationship in order to (a) determine whether to propagate one or more values; computer program code for copying match values from another parent record of the parent record to the next child record when said determining (a) determines to propagate said one or more values; computer program code for copying match values from the next child record of the child record to the other parent record when said determining (a) determines to propagate said one or more values; computer program code for entering said data into a field of said first record; computer program code (b) determining whether to propagate one or more values stored in common fields between said first, second, and at least one intermediate table in order to establish said bidirectional relationship for said first record; and computer program code automatically propagating by at least one of said values stored in said common fields between said first, second, and at least one intermediate table in both directions, thereby automatically creating said bidirectional relationship between said first record and one or more records of said second table and at least one intermediate table. - View Dependent Claims (18, 19, 20, 21, 22, 23, 24)
-
Specification