Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Persistent layer device and database operation method

A database and persistence layer technology, applied in the database field, can solve the problems of low database operation flexibility and database instability, and achieve the effect of improving scalability, realizing flexible and complex operations, and high independence.

Inactive Publication Date: 2016-05-04
BEIJING UNIV OF POSTS & TELECOMM
View PDF1 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the configuration file is a static Extensible Markup Language (XML) configuration file. Since the data definition language (Data Definition Language, DDL) operation will change the content of the configuration file to a certain extent, once the configuration file is modified, it must be reloaded. , multiple overloads will also cause database instability
Therefore, static configuration files will restrict some DDL operations of the application system on the database, resulting in low flexibility for database operations

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
  • Persistent layer device and database operation method
  • Persistent layer device and database operation method
  • Persistent layer device and database operation method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0037] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without making creative efforts belong to the protection scope of the present invention.

[0038] figure 2 It is a schematic structural diagram of a persistent layer device provided by an embodiment of the present invention. Such as figure 2 As shown, the persistence layer device provided by the embodiment of the present invention includes: a database table module, configured to generate at least one set of preset tables, the set of preset...

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 persistent layer device and a database operation method. The method comprises the following steps: establishing at least one group of preset tables in advance, wherein each group of preset tables comprises at least one database table; establishing a management table, and managing the preset table; carrying out a DML (Data Manipulation Language) operation on the management table; mapping the management table and a persistent object PO (Persistent Object) class through a configuration file; and finally, packaging a one-to-one correspondence relationship obtained by mapping into one object operation; and providing the packaged object operation for outside to be called through a uniform external operation interface. In the process, the double-layer table structure design of the management table and the preset table converts a complex database DDL (Data Definition Language) operation into a simple database DML operation, a defect that a static configuration file restricts certain DDL operations on the database by an application system in a traditional persistent layer structure can be solved, and the flexible operation of the database is realized.

Description

technical field [0001] The invention relates to database technology, in particular to a persistent layer device and a database operation method. Background technique [0002] Persistence technology refers to the technology of saving data to a power-down storage device. For application systems, persistence usually saves data in a database. The purpose of designing the persistence layer is to achieve data persistence and solve the impedance mismatch between the object-oriented development method of the application system and the relational model of the database. [0003] Currently, the persistence layer is generated through an object relational mapping (ObjectRelationalMapping, ORM) method. Taking Hibernate, the mainstream persistence layer framework in the industry, as an example, during the generation of the persistence layer, the database table (that is, the table in the database) and the persistent object (PersistentObject, PO) class in the object-oriented development me...

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
IPC IPC(8): G06F17/30
CPCG06F16/21
Inventor 许可皮人杰周慧玲周晓光王尧刘佳伟杨岱宗梁穆雨
Owner BEIJING UNIV OF POSTS & TELECOMM
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products