Unlock instant, AI-driven research and patent intelligence for your innovation.

Matching method, device, equipment and medium for a category and a database table

A matching method and database technology, applied in database indexing, database updating, electronic digital data processing, etc., can solve the problem of high difficulty in matching annotations and annotations, and achieve the effect of avoiding inaccuracy

Active Publication Date: 2022-01-25
CHENGDU SHULIANYUNSUAN TECH CORP
View PDF10 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The main purpose of this application is to provide a method, device, equipment and medium for matching classes and database tables, and to solve the technical problem of high difficulty in matching annotations of existing classes and database tables

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Matching method, device, equipment and medium for a category and a database table
  • Matching method, device, equipment and medium for a category and a database table
  • Matching method, device, equipment and medium for a category and a database table

Examples

Experimental program
Comparison scheme
Effect test

Embodiment approach

[0133] Possible implementations include:

[0134] In one embodiment, if the code corresponding to the database table does not exist, then according to the database table resource, add the target class code and target class attribute code corresponding to the database table.

[0135] In the specific implementation process, the class name can be generated according to the database table name, the attribute name can be generated from the database column name, and the attribute type can be generated from the database column type.

[0136] In one embodiment, if the code corresponding to the database table exists, modify the target class code and target class attribute code corresponding to the database table according to the database table resource.

[0137] In the specific implementation process, the class name can also be generated according to the database table name, the attribute name can be generated from the database column name, and the attribute type can be generated from ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

Embodiments of the present application provide a matching method, device, device, and medium for a class and a database table, by using electronic equipment to update the annotations and / or annotations of the code and the database table correspondingly, that is, through the conversion from the code to the database table One-by-one automatic corresponding update, or one-by-one automatic corresponding update from data table to code, avoids inaccuracy caused by manual search and update, solves the technical problem of high difficulty in matching annotations of classes and database tables, and achieves the goal of making classes and database tables Annotation annotations for efficient and accurate matching of technical effects.

Description

technical field [0001] The invention relates to the technical field of software, in particular to a method, device, equipment and medium for matching a category and a database table. Background technique [0002] The existing Java orm framework can generate database tables from Java codes through forward engineering, and can also generate Java codes from database tables through reverse engineering. According to the requirements of coding standardization and database design standardization, the code needs to add clear comments, and the database table also needs to add clear comments. Usually, there is a one-to-one correspondence between the database table and the Java object, that is, the fields of the database table correspond to the attributes in the Java object. Therefore, there should be a one-to-one correspondence between the annotations of the database table fields and the annotations of the Java object properties, but in actual operation, there are often situations wh...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06F16/22G06F16/23G06F16/2457
CPCG06F16/2282G06F16/2365G06F16/24573
Inventor 不公告发明人
Owner CHENGDU SHULIANYUNSUAN TECH CORP