Java EJB (Enterprise Java Bean) platform based entity BEAN general query method
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- 中科瑞通科技股份有限公司
- Publication Date
- 2017-03-22
Smart Images

Figure 1 
Figure 2 
Figure 3
Abstract
Description
technical field
[0001] The invention relates to the technical field of the Java EJB platform, in particular to an entity BEAN general query method based on the EJB platform. Background technique
[0002] When using the EntityManager class to perform multi-condition complex queries under the Java EJB platform, it is easy to cause code errors. For this reason, a method is needed to effectively solve this problem. Contents of the invention
[0003] The technical problem solved by the invention is to provide a general query method of entity BEAN based on the EJB platform; to solve the problem that programmers are prone to make mistakes when writing HQL statements when data is multi-condition and complex query.
[0004] The technical scheme that the present invention solves the problems of the technologies described above is:
[0005] Contains the following steps:
[0006] Step 1. Create an entity object query result dataset class DataSet, and encapsulate the queried data; ...