-
公开(公告)号:US20240119031A1
公开(公告)日:2024-04-11
申请号:US18115629
申请日:2023-02-28
Applicant: Oracle International Corporation
Inventor: Tirthankar Lahiri , Srikrishnan Suresh , Beda Christoph Hammerschmidt , Adrian Daniel Popescu , Jesse Kamp , Zhen Hua Liu
CPC classification number: G06F16/212 , G06F16/2365 , G06F16/258
Abstract: A computer analyzes a relational schema of a database to generate a data entry schema and encodes the data entry schema as JSON. The data entry schema is sent to a database client so that the client can validate entered data before the entered data is sent for storage. From the client, entered data is received that conforms to the data entry schema because the client used the data entry schema to validate the entered data before sending the data. Into the database, the entered data is stored that conforms to the data entry schema. The data entry schema and the relational schema have corresponding constraints on a datum to be stored, such as a range limit for a database column or an express set of distinct valid values. A constraint may specify a format mask or regular expression that values in the column should conform to, or a correlation between values of multiple columns.
-
公开(公告)号:US12147398B2
公开(公告)日:2024-11-19
申请号:US18115629
申请日:2023-02-28
Applicant: Oracle International Corporation
Inventor: Tirthankar Lahiri , Srikrishnan Suresh , Beda Christoph Hammerschmidt , Adrian Daniel Popescu , Jesse Kamp , Zhen Hua Liu
Abstract: A computer analyzes a relational schema of a database to generate a data entry schema and encodes the data entry schema as JSON. The data entry schema is sent to a database client so that the client can validate entered data before the entered data is sent for storage. From the client, entered data is received that conforms to the data entry schema because the client used the data entry schema to validate the entered data before sending the data. Into the database, the entered data is stored that conforms to the data entry schema. The data entry schema and the relational schema have corresponding constraints on a datum to be stored, such as a range limit for a database column or an express set of distinct valid values. A constraint may specify a format mask or regular expression that values in the column should conform to, or a correlation between values of multiple columns.
-