SQL lightweight persistent layer framework and configuration method

A configuration method and persistence layer technology, applied in software maintenance/management, software design, etc., can solve problems such as poor maintainability, cumbersome code, and time cost of developers, so as to improve maintainability, clear design, and facilitate unified management and optimize the effect

Inactive Publication Date: 2020-05-15
GUANGXI COMM PLANNING SURVEYING & DESIGNING INST
View PDF8 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Every time an entity class is added and modified, the code is cumbersome and repetitive, which consumes a lot of time and cost for developers
[0005] 2. After the program is released, simply modify the database table, the program must modify the entity class information, and then recompile and release
If the name of the database table field is modified after the program is released, the attribute of the entity class must be modified, and then recompiled and released, resulting in poor maintainability

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
  • SQL lightweight persistent layer framework and configuration method
  • SQL lightweight persistent layer framework and configuration method
  • SQL lightweight persistent layer framework and configuration method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0043] The present invention will be further described in detail below in conjunction with the accompanying drawings and specific preferred embodiments.

[0044] In the description of the present invention, it should be understood that the orientations or positional relationships indicated by the terms "left side", "right side", "upper", "lower" are based on the orientations or positional relationships shown in the accompanying drawings, and are only For the purpose of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operate in a specific orientation, "first", "second", etc. importance, and therefore should not be construed as limiting the invention. The specific dimensions used in this embodiment are only for illustrating the technical solution, and do not limit the protection scope of the present invention.

[0045] Such as figure ...

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 an SQL lightweight persistent layer framework and a configuration method. The SQL lightweight persistent layer framework comprises a database initialization module, a request receiving module, an object analysis module, an object construction module and a result return module. The configuration method comprises the steps of loading database configuration and initializing adatabase connection pool; receiving a called service request, wherein the request comprises an SQL object resource code; analyzing an SQL service object according to the SQL object resource code; constructing an SQL execution object capable of responding to the service result according to the SQL service object; and returning a processing result according to the executable SQL object. Entity classes corresponding to the database tables do not need to be compiled any more in service logic implementation; after the program is published, the name of the field of the database table is modified, the SQL in the XML configuration file is directly modified without compiling the program again for publishing, the troubles of program modification, editing and re-publishing caused by database table modification are solved, and the maintainability is improved.

Description

technical field [0001] The invention relates to an interaction technology between JAVA application software and a database, in particular to an SQL lightweight persistence layer framework and a configuration method. Background technique [0002] Database access technology has always been the most commonly used technology in the field of application software. It is a middleware technology between business and data. Its framework is large and small, including open source community framework, personal contribution framework, commercial application software, etc. Its purpose is to realize the mutual relationship mapping between the memory model and the database table relational model , encapsulating the unchanging parts that are not strongly related to the actual business, avoiding the huge amount of development brought about by developers directly using JDBC code to access the database, and directly realizing the access and storage of business data with the database through it....

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/20G06F8/70
CPCG06F8/24G06F8/70
Inventor 王长海周坦之周铮沈堪海肖亮亮胡文君周敏璐邓定丰罗海宇张昕
Owner GUANGXI COMM PLANNING SURVEYING & DESIGNING INST
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products