Database development method and device based on ORM (Object Relational Mapping) frame

A database and framework technology, applied in the field of database development based on ORM framework, can solve problems such as increasing coding complexity

Active Publication Date: 2017-10-20
武汉普利商用机器有限公司 +1
View PDF3 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

And if you need to continue the one-to-many association between multiple database tables, you need more add / delete / modify / check operations, you have to write a lot of sql statements yourself, and you also need to do the link between Java variables and database records. Mutual conversion, etc., greatly increasing the complexity of coding

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Database development method and device based on ORM (Object Relational Mapping) frame
  • Database development method and device based on ORM (Object Relational Mapping) frame
  • Database development method and device based on ORM (Object Relational Mapping) frame

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0044] The specific implementation manners of the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. The following examples are used to illustrate the present invention, but are not intended to limit the scope of the present invention.

[0045] Object-relational mapping (Object / Relation Mapping, referred to as ORM), is produced with the development of object-oriented software development methods. The object-oriented development method is the mainstream development method in today's enterprise-level application development environment, and the relational database is the mainstream data storage system for permanently storing data in the enterprise-level application environment. Objects and relational data are two manifestations of business entities. Business entities are represented as objects in memory and as relational data in the database. There are associations and inheritance relationships between obje...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention provides a database development method and device based on an ORM (Object Relational Mapping) frame. The method comprises the following steps that: S1: on the basis of the template file format of the ORM frame, adding a first-class template file and at least one second-class template file into appointed program engineering, wherein the first-class template file is used for creating a database and generating all database tables, and the second-class template file is used for carrying out initialization and deletion operations on the single database table; S2: in application engineering, citing the appointed program engineering, and utilizing the ORM frame to automatically generate a database program code; and S3: utilizing a database object in the database program code to create the database, and generating all database tables, and executing the initialization operation of each database table. By use of the method, the database program code is automatically generated to quickly realize the development of the database, the workload of development personnel can be saved, and development efficiency is greatly improved.

Description

technical field [0001] The present invention relates to the field of software development, and more specifically, to a database development method and device based on an ORM framework. Background technique [0002] Database (Database) is a warehouse that organizes, stores and manages data according to the data structure. It was produced more than 60 years ago. With the development of information technology and the market, especially after the 1990s, data management It is no longer just storing and managing data, but has transformed into various data management methods that users need. There are many types of databases, ranging from the simplest tables storing various data to large database systems capable of storing massive amounts of data, which have been widely used in various aspects. [0003] In the information society, fully and effectively managing and utilizing various information resources is a prerequisite for scientific research and decision-making management. Da...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F17/30
CPCG06F16/21
Inventor 吉纲李会丽平萍王虹童小峰彭骏张艳红
Owner 武汉普利商用机器有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products