Java EJB (Enterprise Java Bean) platform based entity BEAN general query method
A general query and entity technology, applied in special data processing applications, program control design, instruments, etc., can solve the problem of error-prone HQL statements, and achieve the effect of simplifying queries and avoiding errors.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0020] As shown in Figure 1, the present invention adopts the following steps
[0021] Step 1. Create an entity object query result dataset class DataSet, which is used to encapsulate the queried data; for example:
[0022]
[0023]
[0024] Step 2. Create a query condition class QueryCondition, which mainly encapsulates field names, parameter types, operators, parameter values and sub-query conditions; for example:
[0025]
[0026]
[0027] Step 3. Create the query condition setting class QueryConditionSetting, which defines some constants, such as: equal to, greater than, greater than or equal to, etc., and the QueryCondition collection, and provides the method of adding and query condition addAndQueryCondition, or query condition method addORQueryCondition, to obtain the query condition method getQueryConditions, etc.; such as:
[0028]
[0029]
[0030]
[0031]
[0032] Step 4. Add the sorting class OrderColumn...
PUM

Abstract
Description
Claims
Application Information

- R&D
- Intellectual Property
- Life Sciences
- Materials
- Tech Scout
- Unparalleled Data Quality
- Higher Quality Content
- 60% Fewer Hallucinations
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2025 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com