Generating method and device of persistence layer codes
A technology of persistence layer and code, applied in the computer field, can solve the problems of large redundancy of persistence layer code and waste of storage space, and achieve the effect of reducing redundancy, reducing complexity and reducing system resources.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0042] Such as figure 1 As shown, the persistence layer code generation system 100 includes: a website server 102 and a client 104 . The working process of the persistence layer code generation system 100 can be shown as follows:
[0043] S1: The server 102 generates a running configuration file according to the source configuration file and the received entity name, wherein the running configuration file includes the entity name, preferably, the above running configuration file includes a bean configuration file and a sql file, and the above entity name can preferably be It is the entity name (such as: student) input by the user to the server through the client, and the system default entity name is recorded in the source configuration file, for example, the system default entity name is: teacher; in this step, the source configuration file is the system Pre-generated, the source configuration file can contain the sql statement configuration file required at runtime and some...
Embodiment 2
[0059] exist Figure 1-7 On the basis of , this application provides a preferred generation method of the persistence layer code, in order to achieve the technical effects of reducing the redundancy of the persistence layer code, saving storage space, and reducing the system resources required for code maintenance. In order to achieve the above purpose, specifically, as Figure 8 As shown, the generation method of the above persistence layer code includes:
[0060] S802: Generate a running configuration file according to the source configuration file and the received entity name, wherein the running configuration file includes the entity name; preferably, the above-mentioned running configuration file includes a bean configuration file and a sql file, and the above-mentioned entity name can preferably be a user The entity name (such as: student) input by the client to the server, the system default entity name is recorded in the source configuration file, for example, the sys...
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