Database connection structure based on json format

A connection structure and database technology, applied in the direction of electrical digital data processing, special data processing applications, instruments, etc., can solve problems such as program exceptions, increased development workload, and affect project debugging, and reduce professional requirements and workload , Data exchange common effect

Inactive Publication Date: 2016-04-06
JIANGSU DINGFENG INFORMATION TECH CO LTD
View PDF1 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] 1. When used in a relatively large project, due to the large number of data tables, each table needs to develop a corresponding entity bean to encapsulate the data, which increases the development workload, and if the structure of the data table changes, the corresponding entity Bean also needs to be changed accordingly;
[0006] 2. Programmers who participate in the development must be very familiar with SQL syntax, otherwise the program will be abnormal due to the syntax problem of the incoming SQL statement, which will affect the debugging of the entire project

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
  • Database connection structure based on json format
  • Database connection structure based on json format

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0014] Below in conjunction with accompanying drawing and specific embodiment, further illustrate the present invention, should be understood that these embodiments are only for illustrating the present invention and are not intended to limit the scope of the present invention, after having read the present invention, those skilled in the art will understand various aspects of the present invention Modifications in equivalent forms all fall within the scope defined by the appended claims of this application.

[0015] as attached figure 2 As shown, a database connection structure based on json format, middleware based on json format is set between the application program and the database, json is a lightweight data exchange format, which is based on a subset of ECMAScript, using a complete Language-independent text format. In order to make it easier for developers to operate and access variables on the database, JDBC and SQL statements are encapsulated. Developers do not need ...

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 database connection structure based on a json format. A middleware based on the json format is arranged between an application program and a database; JDBC and SQL statements are packaged; when operation and access are carried out to the database, the method provided by the middleware based on the json format is directly invoked, and operation to the database is finished. The structure is advantaged by that with respect to different data table structures, the data are unnecessarily packaged by respectively developed corresponding entity Bean; the workload of a developer is greatly reduced; the professional requirement to a programmer is reduced; and data exchange is more general.

Description

technical field [0001] The invention relates to a data connection structure of a database. Background technique [0002] Most traditional applications use JDBC to connect to data. JDBC is a "low-level" interface, that is, it is used to directly invoke SQL commands. Also designed as a base interface upon which advanced interfaces and tools can be built. A high-level interface is a "user-friendly" interface that uses a more understandable and convenient API that is translated behind the scenes to a lower-level interface such as JDBC. [0003] In the "object / relational" mapping of a relational database, each row in a table corresponds to an instance of a class, and the value of each column corresponds to an attribute of that instance. Thus, programmers can directly operate on Java objects; the SQL calls required to access data will be automatically generated "under the covers". It is also possible to provide more complex mappings, such as combining rows from multiple tables ...

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): G06F17/30
CPCG06F16/2456
Inventor 韩学龙
Owner JIANGSU DINGFENG INFORMATION TECH CO LTD
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