Object relational mapping method, device and processor
An object-relational mapping and connection-relationship technology, which is applied in the field of object-relational mapping methods, devices, and processors, can solve the problems of poor reuse, low flexibility, and difficult maintenance, and achieve high reuse, high flexibility, The effect of easy maintenance
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0055] Embodiment 1 of the present application discloses an object-relational mapping method, which is used to solve the coding confusion in the first method and difficult maintenance in the prior art when performing object-relational mapping, and the flexibility in the second method Low, the problem of poor reuse.
[0056] see figure 1 As shown in the schematic diagram of the workflow, the object-relational mapping method includes:
[0057] Step S11: Construct a data association model corresponding to the business subject to be queried according to the connection relationship of the database tables in the relational data model and the database tables contained in the business model corresponding to the business subject to be queried, wherein the data The node of the association model is the alias of the database table defined in the business model.
[0058] The relational data model includes a data structure, so that the connection relationship of the database tables can be...
Embodiment 2
[0117] Embodiment 2 of the present application discloses an object-relational mapping device correspondingly, see Figure 4 As shown in the structural diagram, the object-relational mapping device includes: a data association model building module 100 , a table connection relationship building module 200 and an object data returning module 300 .
[0118] Wherein, the data association model construction module 100 is configured to construct the corresponding database table of the business subject to be queried according to the connection relationship of the database tables in the relational data model and the database tables included in the business model corresponding to the business subject to be queried. The data association model, wherein, the node of the data association model is an alias of the database table defined in the business model;
[0119] The table connection relationship building module 200 is used to receive database operation statements and query parameters w...
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