Method for querying appointed field data of data table under simplified JAVA program, multi-table conjunctive query method under simplified JAVA program and statistical query method under simplified JAVA program
A technology of specifying fields and joint query, applied in the field of computer programming, can solve problems such as many writing and many steps, and achieve the effect of reducing the amount of code
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0048] The operating principles involved in the method of the present invention include:
[0049] a. Create a class, define attributes, write the get / set method of the attribute, and map the class and its attribute name with the data table and its fields, such as figure 1 As shown, based on this, a query object is created. This object can define all queryable settings such as wheregroupby of the query;
[0050] b. The name of the class attribute corresponding to some fields to be queried is represented by putting it into a string array;
[0051] c. Loop the string array and set each attribute name into the query object to set the field to be queried;
[0052] d. Write a method to put the data of the obtained data set into the entity class. This entity class is generally a class mapped to a table, or it can be another class. This class must provide a get / set method;
[0053] e. On the basis of the above method, multi-table joint query and aggregation calculation query can be ...
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