Method and configuration for generating query condition in annotation way
An annotation and query operation technology, applied in the field of electronic information, can solve problems such as time-consuming and long-time requests, and achieve the effect of easy use
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0022] Embodiment one, see figure 1 , figure 2
[0023] The invention provides a method for generating database query sentences through annotations.
[0024] The class parser calls the field parser again after parsing the query request parameters sent by the client and the annotations of the defined database table entity classes to generate the final query SQL.
[0025] From the above, it can be seen that the method for generating database query statements in the form of annotations provided by the present invention has the following advantages.
[0026] (1) Easy to configure
[0027] The present invention only needs to configure the annotation of the entity class, and it can be completed by calling the resolver.
[0028] (2) Wide variety of application databases
[0029] The present invention uses the type of data dialect, and if the database type annotation is configured, the generated SQL supports changing the database.
[0030] (3) More object-oriented
[0031] Whe...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com