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

Matching method and device for type and database table, equipment and medium

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

Active Publication Date: 2021-11-05
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 and device for type and database table, equipment and medium
  • Matching method and device for type and database table, equipment and medium
  • Matching method and device for type and database table, equipment and medium

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

The embodiment of the invention provides a matching method and device for a type and a database table, equipment and a medium, and the method comprises the steps: correspondingly updating codes and annotations and / or annotations of the database table through electronic equipment, namely, automatically and correspondingly updating the codes to the database table one by one or automatically and correspondingly updating the data table to the codes one by one. Inaccuracy caused by manual searching and updating is avoided, the technical problem that the matching difficulty of the class and the annotation annotation of the database table is high is solved, and the technical effect that the class and the annotation annotation of the database table are efficiently and accurately matched is achieved.

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
IPC IPC(8): G06F16/22G06F16/23G06F16/2457
CPCG06F16/2282G06F16/2365G06F16/24573
Inventor 不公告发明人
Owner CHENGDU SHULIANYUNSUAN TECH CORP