Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Rapid generation method of data table code

A data table code and data table technology, applied in the computer field, can solve problems such as cumbersome codes, and achieve the effects of fast development, standardization, and convenient development work.

Pending Publication Date: 2019-12-20
北京天地和兴科技有限公司
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In the current actual project development, there are at least dozens of database tables in the database system used, and the number of columns, types, lengths, etc. in each table is huge. It is the work of writing, reading and writing model control codes for data tables It will be extremely cumbersome, and the detection and verification operations after the code is written will also become a heavy manual labor. Therefore, a new data table code generation method is needed to free programmers from this repetitive and tedious labor.

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
  • Rapid generation method of data table code

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0020] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative work, any modifications, equivalent replacements, improvements, etc., shall be included in the protection scope of the present invention Inside.

[0021] The present invention proposes a method for quickly generating data table codes, the steps of which are as follows: figure 1 Shown:

[0022] 1. Configure database information, including connection driver, address, user name and password, etc.;

[0023] 2. Analyze configuration configuration, including information such as code setting configuration;

[0024] 3. Establish a databa...

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 invention discloses a rapid generation method of data table codes. The rapid generation method comprises the following steps: S1, configuring information of a database; S2, analyzing the configuration file; S3, establishing database connection and obtaining information of the data table; S4, generating configuration information; S5, reading the ftl template file; and S6, generating a code fileof the data table according to the configuration information, the ftl template file, the information of the data table and a reflection mechanism of the java program. According to the method, the data table code is generated by using the ftl template file, so that the working time and the working energy of developers are greatly shortened and reduced, and the development efficiency of the data table code is improved. Meanwhile, the ftl template file can ensure the standardization of data table codes, and the development effect of the data table codes is improved. On the other hand, the Bug rate in the data table development process can be effectively reduced, and convenience is brought to development work of computer program developers.

Description

technical field [0001] The invention relates to the field of computers, in particular to a method for quickly generating data table codes. Background technique [0002] Nowadays, database technology has become the core part of computer applications, and almost all systems involving computer applications cannot do without the support of databases. In the current actual project development, there are at least dozens of database tables in the database system used, and the number of columns, types, lengths, etc. in each table is huge. It is the work of writing, reading and writing model control codes for data tables It will be extremely cumbersome, and the detection and verification operations after the code is written will also become a heavy manual labor. Therefore, a new data table code generation method is needed to liberate programmers from this repetitive and tedious labor. Contents of the invention [0003] The object of the present invention is to address the above pr...

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 Applications(China)
IPC IPC(8): G06F8/30G06F8/33
CPCG06F8/31G06F8/33
Inventor 王小东李佳鑫
Owner 北京天地和兴科技有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products