Object query method and device

A query method and object technology, applied in the database field, can solve problems such as increasing the user's programming workload, raising the programming threshold, and increasing maintenance costs, achieving the effects of reducing programming workload, reducing interaction pressure, and improving efficiency

Inactive Publication Date: 2009-11-18
YONYOU NETWORK TECH
View PDF0 Cites 20 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, it is a very complicated process for users to compile SQL query statements, which is specifically reflected in: when writing SQL query statements, it is necessary to follow the SQI compilation specification related to database table information, where the database table information is specifically the database table name, the database The fields in the table and the meanings of the fields, etc., so that the user is required to know the database well when compiling the SQL statement, which increases the programming workload of the user and greatly improves the programming threshold; and, because the SQL query The statement is process-oriented, and the statement also needs to follow the SQI compilation specification related to the database table information, which will make the written code very long and greatly increase the maintenance cost

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
  • Object query method and device
  • Object query method and device
  • Object query method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0042] In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be described in detail below in conjunction with the accompanying drawings and specific embodiments.

[0043] In the object query method provided by the embodiment of the present invention, a persistence engine needs to be predefined according to business requirements, wherein the persistence engine can directly interact with the database and provide a query interface for performing query operations. When the user needs to perform a query operation, the method mainly includes: establishing a metadata model according to business requirements; and generating the object code corresponding to the metadata model; according to the object code and the query interface provided by the predefined persistence engine ( Referred to as the predefined persistence engine query interface) to perform query operations.

[0044] In order to make the embodiment of the ...

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 object query method and a device, wherein, the method comprises: step A, setting up a metadata model according to the business demand and generating an object code corresponding to the metadata model; step B, executing the query operation, according to the object code and a predefined persistence engine query interface. By adopting the invention, the query operation can be carried out by directly using the operational object without needing to compile complicated SQL sentences like the prior art.

Description

technical field [0001] The invention relates to database technology, in particular to an object query method and device. Background technique [0002] In the current software development system, Structured Query Language (SQL: Structured Query Language) is widely used by users because of its concise structure and many other advantages. SQL is a database query and programming language. According to the provisions of the American National Standards Institute, SQL is used as the standard language for relational database management systems. Wherein, compiling the SQL statement in the logic code can realize the query operation of the database. [0003] Specifically, the existing query operations on the database using SQL statements include: opening the corresponding database according to business requirements; establishing a connection with the database; after that, the user writes SQL query statements in the logic code according to the current needs, and realizes Database quer...

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): G06F17/30
Inventor 黄海峰
Owner YONYOU NETWORK TECH
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