Encoding a schema version in table names
First Claim
1. A computer-readable storage medium encoded with instructions for causing one or more programmable processors to:
- create a first version of a database using a first version of a database schema that defines a set of tables for the database;
without first performing an explicit database schema version check, execute a single command to verify a database schema version of the database and retrieve a set of access information contained in the database, wherein the single command includes one or more encoded table names, wherein each of the one or more encoded table names included in the single command is generated based on at least a first database schema version identifier, wherein the one or more encoded table names generated based on the first database schema version identifier that identifies the first version of the database schema for the database are different from one or more encoded table names generated based on a second database schema version identifier that identifies a second version of the database schema for the database, and wherein the first version of the database schema and the second version of the database schema are different database schemas for the database; and
receive a result that is responsive to the single command, such that, when at least one of the one or more encoded table names included in the single command corresponds to a name of a table of the database, the result
1) indicates a success condition of the single command and
2) includes the set of the information contained in the database.
2 Assignments
0 Petitions
Accused Products
Abstract
The subject matter of this disclosure can be implemented in, among other things, a device that includes processors, a data repository, and a table version module configured to create a first version of a database within the data repository using a first version of a database schema that defines a set of tables for the database, and receive a result that is responsive to a command, such that when the result indicates a success condition, execution of the command allows access to data contained in the database and verification of the database schema version, wherein the result does not include database schema version information. The device further includes means for executing the command to access the data, wherein the command includes one or more encoded table names, and wherein each of the encoded table names included in the command is generated based on at least a database schema version identifier.
17 Citations
20 Claims
-
1. A computer-readable storage medium encoded with instructions for causing one or more programmable processors to:
-
create a first version of a database using a first version of a database schema that defines a set of tables for the database; without first performing an explicit database schema version check, execute a single command to verify a database schema version of the database and retrieve a set of access information contained in the database, wherein the single command includes one or more encoded table names, wherein each of the one or more encoded table names included in the single command is generated based on at least a first database schema version identifier, wherein the one or more encoded table names generated based on the first database schema version identifier that identifies the first version of the database schema for the database are different from one or more encoded table names generated based on a second database schema version identifier that identifies a second version of the database schema for the database, and wherein the first version of the database schema and the second version of the database schema are different database schemas for the database; and receive a result that is responsive to the single command, such that, when at least one of the one or more encoded table names included in the single command corresponds to a name of a table of the database, the result
1) indicates a success condition of the single command and
2) includes the set of the information contained in the database. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. A method comprising:
-
creating a first version of a database using a first version of a database schema that defines a set of tables for the database; without first performing an explicit database schema version check, executing a single command to verify a database schema version of the database and retrieve a set of access information contained in the database, wherein the single command includes one or more encoded table names, and wherein each of the one or more encoded table names included in the single command is generated based on at least a database schema version identifier, wherein the one or more encoded table names generated based on a first database schema version identifier that identifies the first version of the database schema for the database are different from one or more encoded table names generated based on a second database schema version identifier that identifies a second version of the database schema for the database, wherein the first version of the database schema and the second version of the database schema are different database schemas for the database; and receiving a result that is responsive to the single command, such that, when at least one of the one or more encoded table names included in the single command corresponds to a name of a table of the database, the result
1) indicates a success condition of the single command and
2) includes the set of the information contained in the database. - View Dependent Claims (11, 12, 13, 14, 15, 16)
-
-
17. A device comprising:
-
one or more processors; a data repository configured to store information; a table version module operable by the one or more processors to create a first version of a database within the data repository using a first version of a database schema, wherein the first version of the database schema defines a set of tables for the database; and an application operable by the one or more processors to, without first performing an explicit database schema version check, execute a single command to verify a database schema version of the database and retrieve a set of access information contained in the database, wherein the single command includes one or more encoded table names, wherein each of the one or more encoded table names included in the single command is generated based on at least a database schema version identifier, wherein the one or more encoded table names generated based on a first database schema version identifier that identifies the first version of the database schema for the database are different from one or more encoded table names generated based on a second database schema version identifier that identifies a second version of the database schema for the database, and wherein the first version of the database schema and the second version of the database schema are different database schemas for the database, and wherein the table version module is further operable by the one or more processors to receive a result that is responsive to the single command, such that when at least one of the one or more encoded table names included in the single command corresponds to a name of a table of the database, the result
1) indicates a success condition of the single command and
2) includes a set of the information contained in the database. - View Dependent Claims (18, 19, 20)
-
Specification