Universal metadata/ relation mapping frame
A technology of relational mapping and metadata, applied in the direction of electrical digital data processing, special data processing applications, instruments, etc., can solve the problems of module codes violating object-oriented design and reduce the attention of developers, so as to improve understandability and comprehensibility Maintainability, ensure integrity and consistency, and enhance the effect of attention
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0071] Embodiment 1, generating an entity proxy class.
[0072] First, read the mapping configuration file to obtain the information of the entity class and its fields; then, according to the mapping configuration information, use the virtual machine bytecode generation tool to generate the bytecode of the entity class, including fields, primary key fields, and setter / getter method; then, combined with the dynamic proxy mode, a proxy interface is generated for the entity class; finally, an implementation class of the proxy interface is generated.
Embodiment 2
[0073] Embodiment 2, generating a DAO class corresponding to an entity proxy class and its CRUD method.
[0074] First, according to the mapping configuration information, use the virtual machine bytecode generation tool to generate the bytecode corresponding to the DAO class for each tag of the metadata; then, generate the findBy method with the field value as the search condition and the primary key field for each DAO class It is the findByPK method for finding conditions, the findAll method for returning a list of entity objects composed of all record rows under the corresponding Tag, and the findByConditions method for combining query conditions and sorting criteria with multiple field values and field names; finally, generate the methods for modification, The update, delete and insert methods for deleting and inserting entity class objects.
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