CN107506474B - Database operation method and device based on object mapping - Google Patents

Database operation method and device based on object mapping Download PDF

Info

Publication number
CN107506474B
CN107506474B CN201710794766.5A CN201710794766A CN107506474B CN 107506474 B CN107506474 B CN 107506474B CN 201710794766 A CN201710794766 A CN 201710794766A CN 107506474 B CN107506474 B CN 107506474B
Authority
CN
China
Prior art keywords
operated
data
database
base class
operating
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710794766.5A
Other languages
Chinese (zh)
Other versions
CN107506474A (en
Inventor
王林
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Lotus Technology Beijing Co Ltd
Original Assignee
Lotus Technology Beijing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Lotus Technology Beijing Co Ltd filed Critical Lotus Technology Beijing Co Ltd
Priority to CN201710794766.5A priority Critical patent/CN107506474B/en
Publication of CN107506474A publication Critical patent/CN107506474A/en
Application granted granted Critical
Publication of CN107506474B publication Critical patent/CN107506474B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/30Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
    • G06F16/33Querying

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computational Linguistics (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention provides a database operation method and a device based on object mapping, wherein the method comprises the following steps: acquiring an object to be operated; the object to be operated inherits the object data mapping base class, and after the object to be operated inherits the object data mapping base class, the object to be operated can realize an operation method in the object data mapping base class; and operating the object to be operated according to the operation method. In the embodiment of the invention, the object to be operated inherits the operation method in the object data mapping base class, and the operation of the object to be operated on the database is realized, so that the operation on the database can be correspondingly realized when the object to be operated is operated. The database operation method is simple and convenient when operating the data in the database, has good usability, and solves the technical problems of complex coding and complex operation when operating the data in the database in the prior art.

Description

Database operation method and device based on object mapping
Technical Field
The invention relates to the technical field of database operation, in particular to a database operation method and device based on object mapping.
Background
In recent years, due to the advantages of the document-type database over the relational database in terms of unstructured processing, the document-type database has more and more use environments, and sequoioiadb is used by more people as an excellent new document-type database. In the actual development process, it has become an urgent task to simplify database operations by using odm technology, however, it is difficult to find the odm framework based on sequoioid db in the market.
The official java-driven using method needs some extra coding work in actual use, and is poorer in simplicity and convenience than orm of the traditional relational database. Since the common odm framework in the market basically only supports the old brand database such as mongo, it is very difficult to fully extend the common odm framework to SequoiaDB.
In summary, when data in a database is operated in the prior art, the encoding is complicated and the operation is complex.
Disclosure of Invention
In view of the above, an object of the present invention is to provide a database operation method and apparatus based on object mapping, so as to alleviate the technical problems of complicated coding and complex operation when data in a database is operated in the prior art.
In a first aspect, an embodiment of the present invention provides a database operation method based on object mapping, where the method includes:
acquiring an object to be operated, wherein the object to be operated comprises information used for representing the attribute of the object to be operated;
the object to be operated inherits an object data mapping base class, wherein after the object to be operated inherits the object data mapping base class, the object to be operated can realize an operation method in the object data mapping base class, and the operation method comprises a method for operating a database and a method for operating the object to be operated;
and operating the object to be operated according to the operation method.
With reference to the first aspect, an embodiment of the present invention provides a first possible implementation manner of the first aspect, where the operating method includes an updating operation, and performing an operation on the object to be operated according to the operating method includes:
judging whether ID identification information exists in the object to be operated;
if the ID identification information exists, determining that the original data in the object to be operated comes from the database;
updating the original data in the object to be operated to obtain updated data after the updating operation;
comparing the original data with the updated data to determine whether the data in the object to be operated is changed;
and under the condition that the data in the object to be operated is determined to be changed, calling an interface of the object to be operated to execute the updating operation so as to update the original data into the updated data.
With reference to the first aspect, an embodiment of the present invention provides a second possible implementation manner of the first aspect, where after the interface that calls the object to be operated performs the update operation, the method further includes:
and overwriting the original data in the database as the updated data.
With reference to the first aspect, an embodiment of the present invention provides a third possible implementation manner of the first aspect, where if the ID identification information does not exist, the method further includes:
performing data insertion operation on the object to be operated to obtain data after the data insertion operation;
and calling an interface of the object to be operated to execute the data inserting operation so as to insert the data after the data inserting operation into the database through the interface.
With reference to the first aspect, an embodiment of the present invention provides a fourth possible implementation manner of the first aspect, where the update operation includes at least one of: delete operation, replace operation.
In a second aspect, an embodiment of the present invention further provides an apparatus for operating a database based on object mapping, where the apparatus includes:
the device comprises an acquisition module, a processing module and a processing module, wherein the acquisition module is used for acquiring an object to be operated, and the object to be operated comprises information used for representing the attribute of the object to be operated;
the inheritance module is used for the object to be operated to inherit the object data mapping base class, wherein after the object to be operated inherits the object data mapping base class, the object to be operated can realize an operation method in the object data mapping base class, and the operation method comprises a method for operating a database and a method for operating the object to be operated;
and the operation module is used for operating the object to be operated according to the operation method.
With reference to the second aspect, an embodiment of the present invention provides a first possible implementation manner of the second aspect, where the operation module includes:
the judging unit is used for judging whether the ID identification information exists in the object to be operated;
the determining unit is used for determining that the original data in the object to be operated comes from the database if the ID identification information exists;
the updating operation unit is used for updating the original data in the object to be operated to obtain updated data after the updating operation;
the comparison unit is used for comparing the original data with the updated data to determine whether the data in the object to be operated is changed;
and the updating operation executing unit is used for calling an interface of the object to be operated to execute the updating operation under the condition that the data in the object to be operated is determined to be changed so as to update the original data into the updated data.
With reference to the second aspect, an embodiment of the present invention provides a second possible implementation manner of the second aspect, where the update execution unit includes:
and the covering subunit is used for covering the original data in the database into the updated data.
With reference to the second aspect, an embodiment of the present invention provides a third possible implementation manner of the second aspect, where the operation module further includes:
the data inserting operation unit is used for performing data inserting operation on the object to be operated to obtain data after the data inserting operation;
and the data inserting operation unit is used for calling the interface of the object to be operated so as to insert the data after the data inserting operation into the database through the interface.
With reference to the second aspect, an embodiment of the present invention provides a fourth possible implementation manner of the second aspect, where the update operation includes at least one of: delete operation, replace operation.
The embodiment of the invention has the following beneficial effects: the embodiment of the invention provides a database operation method and a device, wherein the database operation method comprises the following steps: acquiring an object to be operated, wherein the object to be operated comprises information for representing the attribute of the object to be operated; the method comprises the following steps that an object to be operated inherits an object data mapping base class, wherein after the object to be operated inherits the object data mapping base class, the object to be operated can realize an operation method in the object data mapping base class, and the operation method comprises a method for operating a database and a method for operating the object to be operated; and operating the object to be operated according to the operation method.
In the prior art, when data in a database is operated, coding is complicated and operation is complex. In the database operation method based on object mapping in the embodiment of the invention, the object to be operated is acquired, the object to be operated inherits the object data mapping base class, and after the object to be operated inherits the object data mapping base class, the object to be operated can realize the operation method in the object data mapping base class, so that the object to be operated is operated according to the operation method. Because the object to be operated inherits the object data mapping base class, that is, the mapping relation between the object to be operated and the database is established, the operation of the object to be operated on the database is realized, and therefore, when the object to be operated is operated, the operation on the database can be correspondingly realized. The database operation method in the embodiment of the invention is simple and convenient when operating the data in the database, has good usability, and solves the technical problems of complex coding and complex operation when operating the data in the database in the prior art.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. The objectives and other advantages of the invention will be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
In order to make the aforementioned and other objects, features and advantages of the present invention comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and other drawings can be obtained by those skilled in the art without creative efforts.
Fig. 1 is a flowchart of a database operation method based on object mapping according to an embodiment of the present invention;
fig. 2 is a flowchart illustrating an operation performed on an object to be operated according to an inherited operation method according to an embodiment of the present invention;
fig. 3 is a flowchart illustrating a case where there is no ID identification information according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a database operating apparatus based on object mapping according to an embodiment of the present invention.
Icon:
11-an acquisition module; 12-an inheritance module; 13-operation module.
Detailed Description
To make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings, and it is apparent that the described embodiments are some, but not all embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
When the traditional technology (with java driver) is used for compiling the operation codes of the data base, the traditional technology is complex, and the stored objects need to be converted into character strings firstly, then the character strings are converted into BSONObject objects, and finally the BSONObject objects are transmitted into java driver interfaces. According to the method, only the base class of the object needs to be set as the base class of the ODM, and then the object needing to be stored can be directly stored in the database through the database interface function (adding, deleting, modifying and the like) of the base class.
For the convenience of understanding the embodiment, a detailed description will be first given of an object mapping-based database operation method disclosed in the embodiment of the present invention.
The first embodiment is as follows:
an operation method of a database based on object mapping, referring to fig. 1, the operation method includes:
s101, obtaining an object to be operated, wherein the object to be operated comprises information used for representing the attribute of the object to be operated;
specifically, the object to be operated is mainly information of some attributes, and when describing the object, the information is a concept for describing the characteristics of the object.
S102, the object to be operated inherits the object data mapping base class, wherein after the object to be operated inherits the object data mapping base class, the object to be operated can realize an operation method in the object data mapping base class, and the operation method comprises a method for operating a database and a method for operating the object to be operated;
specifically, the object data mapping base class is an ODM base class, a mapping relationship between the object to be operated and the database is established after the object to be operated inherits the object data mapping base class, and the object to be operated can realize a method for operating the database and a method for operating the object to be operated after the object to be operated inherits the ODM base class. Therefore, when the object to be operated is subsequently operated, the corresponding operation is automatically performed in the corresponding database.
S103, operating the object to be operated according to the operation method.
After the object to be operated inherits the ODM base class, corresponding operation can be carried out on the object to be operated according to the operation method.
In the prior art, when data in a database is operated, coding is complicated and operation is complex. In the database operation method based on object mapping in the embodiment of the invention, the object to be operated is enabled to inherit the object data mapping base class by acquiring the object to be operated, after the object to be operated inherits the object data mapping base class, the object to be operated can realize the operation method in the object data mapping base class, and then the object to be operated is operated according to the operation method. Because the object to be operated inherits the object data mapping base class, that is, the mapping relation between the object to be operated and the database is established, the operation of the object to be operated on the database is realized, and therefore, when the object to be operated is operated, the operation on the database can be correspondingly realized. The database operation method in the embodiment of the invention is simple and convenient when operating the data in the database, has good usability, and solves the technical problems of complex coding and complex operation when operating the data in the database in the prior art.
Further, referring to fig. 2, the operation method includes an update operation, and operating the object to be operated according to the operation method includes:
s201, judging whether ID identification information exists in the object to be operated;
specifically, when the ID identification information exists in the object to be operated, it indicates that the original data to be operated exists in the database, so that a delete operation or a replace operation can be performed next; and when the ID identification information does not exist, the original data to be operated does not exist in the database, so that the next operation of inserting the data can be carried out.
S202, if the ID identification information exists, determining that the original data in the object to be operated comes from a database;
specifically, the original data of the object to be operated is actually contrast BSON, that is, the contrast BSON is used to represent the original data in the object to be operated, that is, to represent the data stored before the object to be operated operates.
S203, carrying out updating operation on the original data in the object to be operated to obtain updated data after the updating operation;
specifically, a derivative class BSON value is generated through the GSON library, and the derivative class BSON value is used to represent update data obtained after an update operation is performed on original data in an object to be operated. That is, after the operation on the object to be operated is completed, the update data to be stored in the object to be operated is stored.
The update operation includes at least one of: delete operation, replace operation.
In addition, in addition to the GSON library, a JSON library, such as Jackson, JSON-lib, Flexjson, JSON-io, Genson, and the like, may be used, and the embodiments of the present invention are not particularly limited thereto.
S204, comparing the original data with the updated data to determine whether the data in the object to be operated is changed;
and comparing the original data with the updated data to determine whether the data in the object to be operated is changed.
And S205, under the condition that the data in the object to be operated is determined to be changed, calling an interface of the object to be operated to execute updating operation so as to update the original data into updated data.
Specifically, an interface of the object to be operated is called to execute an update operation, so that a part of the data which changes is updated, and a part of the data which does not change is unchanged.
Further, after the interface calling the object to be operated performs the update operation, the method includes:
the original data in the database is overwritten with the updated data.
Specifically, after the interface of the object to be operated performs the update operation, the original data in the corresponding database is covered as the update data, and the process of operating the database is completed.
Further, referring to fig. 3, if there is no ID identification information, the method further includes:
s301, performing data insertion operation on an object to be operated to obtain data subjected to data insertion operation;
specifically, a derivative class BSON value is generated by the GSON library, and the derivative class BSON object is used to represent data obtained by performing an insert data operation on an object to be operated.
S302, calling an interface of an object to be operated to execute data insertion operation, and inserting the data subjected to the data insertion operation into the database through the interface.
Specifically, an interface of the object to be operated is called to execute the data insertion operation, so as to complete the data insertion operation of the object to be operated, and correspondingly, the corresponding data insertion operation is also executed in the database.
The above processes are all realized in the function interface of the base class, the derived class does not need to add any interface function, and the function is actually operated by the interface driven by the java database, but as long as the object to be stored is inherited from the ODM base class in the invention, the database operation can be directly performed through one function.
The invention directly enables the object to have a simple interface for Sequoioia DB document type database operation through a mode of inheritance from an ODM base class, the traditional database storage mode needs 5 or 6 steps, and the code is complicated.
Example two:
an embodiment of the present invention further provides an apparatus for operating a database based on object mapping, and referring to fig. 4, the apparatus includes:
the acquiring module 11 is configured to acquire an object to be operated, where the object to be operated includes information used to represent an attribute of the object to be operated;
the inheritance module 12 is used for enabling the object to be operated to inherit the object data mapping base class, wherein after the object to be operated inherits the object data mapping base class, the object to be operated can realize an operation method in the object data mapping base class, and the operation method comprises a method for operating a database and a method for operating the object to be operated;
and the operation module 13 is configured to operate the object to be operated according to the operation method.
Further, the operation module includes:
the judging unit is used for judging whether ID identification information exists in the object to be operated;
the determining unit is used for determining that the original data in the object to be operated comes from the database if the ID identification information exists;
the updating operation unit is used for updating the original data in the object to be operated to obtain updated data after the updating operation;
the comparison unit is used for comparing the original data with the updated data to determine whether the data in the object to be operated is changed;
and the updating operation executing unit is used for calling the interface of the object to be operated to execute updating operation under the condition that the data in the object to be operated is determined to be changed so as to update the original data into the updated data.
Further, the update execution operation unit includes:
and the covering subunit is used for covering the original data in the database into the updated data.
Further, the operation module further comprises:
the data inserting operation unit is used for performing data inserting operation on an object to be operated to obtain data after the data inserting operation;
and the execution data insertion operation unit is used for calling the interface of the object to be operated so as to insert the data after the data insertion operation into the database through the interface.
Further, the update operation includes at least one of: delete operation, replace operation.
The computer program product of the object mapping-based database operation method and device provided by the embodiments of the present invention includes a computer-readable storage medium storing a program code, where instructions included in the program code may be used to execute the method described in the foregoing method embodiments, and specific implementation may refer to the method embodiments, and will not be described herein again.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the system and the apparatus described above may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In addition, in the description of the embodiments of the present invention, unless otherwise explicitly specified or limited, the terms "mounted," "connected," and "connected" are to be construed broadly, e.g., as meaning either a fixed connection, a removable connection, or an integral connection; can be mechanically or electrically connected; they may be connected directly or indirectly through intervening media, or they may be interconnected between two elements. The specific meanings of the above terms in the present invention can be understood in specific cases to those skilled in the art.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
In the description of the present invention, it should be noted that the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", etc., indicate orientations or positional relationships based on the orientations or positional relationships shown in the drawings, and are only for convenience of description and simplicity of description, but do not indicate or imply that the device or element being referred to must have a particular orientation, be constructed and operated in a particular orientation, and thus, should not be construed as limiting the present invention. Furthermore, the terms "first," "second," and "third" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance.
Finally, it should be noted that: the above-mentioned embodiments are only specific embodiments of the present invention, which are used for illustrating the technical solutions of the present invention and not for limiting the same, and the protection scope of the present invention is not limited thereto, although the present invention is described in detail with reference to the foregoing embodiments, those skilled in the art should understand that: any person skilled in the art can modify or easily conceive the technical solutions described in the foregoing embodiments or equivalent substitutes for some technical features within the technical scope of the present disclosure; such modifications, changes or substitutions do not depart from the spirit and scope of the embodiments of the present invention, and they should be construed as being included therein. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (8)

1. A method for database operations based on object mapping, the method comprising:
acquiring an object to be operated, wherein the object to be operated comprises information used for representing the attribute of the object to be operated;
the object to be operated inherits an object data mapping base class, wherein after the object to be operated inherits the object data mapping base class, the object to be operated can realize an operation method in the object data mapping base class, and the operation method comprises a method for operating a database and a method for operating the object to be operated;
operating the object to be operated according to the operation method;
the operation method comprises updating operation, and the operation of the object to be operated according to the operation method comprises the following steps:
judging whether ID identification information exists in the object to be operated;
if the ID identification information exists, determining that the original data in the object to be operated comes from the database;
updating the original data in the object to be operated to obtain updated data after the updating operation;
comparing the original data with the updated data to determine whether the data in the object to be operated changes;
and under the condition that the data in the object to be operated is determined to be changed, calling an interface of the object to be operated to execute the updating operation so as to update the original data into the updated data.
2. The method according to claim 1, wherein invoking the interface of the object to be operated to perform the update operation comprises:
overwriting the original data in the database with the updated data.
3. The method of claim 1, wherein if the ID identification information does not exist, the method further comprises:
performing data insertion operation on the object to be operated to obtain data after the data insertion operation;
and calling an interface of the object to be operated to execute the data inserting operation so as to insert the data after the data inserting operation into the database through the interface.
4. The method of claim 1, wherein the update operation comprises at least one of: delete operation, replace operation.
5. An apparatus for database manipulation based on object mapping, the apparatus comprising:
the device comprises an acquisition module, a processing module and a processing module, wherein the acquisition module is used for acquiring an object to be operated, and the object to be operated comprises information used for representing the attribute of the object to be operated;
the inheritance module is used for the object to be operated to inherit the object data mapping base class, wherein after the object to be operated inherits the object data mapping base class, the object to be operated can realize an operation method in the object data mapping base class, and the operation method comprises a method for operating a database and a method for operating the object to be operated;
the operation module is used for operating the object to be operated according to the operation method;
the operation module comprises:
the judging unit is used for judging whether the ID identification information exists in the object to be operated;
the determining unit is used for determining that the original data in the object to be operated comes from the database if the ID identification information exists;
the updating operation unit is used for updating the original data in the object to be operated to obtain updated data after the updating operation;
the comparison unit is used for comparing the original data with the updated data and determining whether the data in the object to be operated is changed;
and the updating operation executing unit is used for calling an interface of the object to be operated to execute the updating operation under the condition that the data in the object to be operated is determined to be changed so as to update the original data into the updated data.
6. The apparatus of claim 5, wherein the means for performing the update operation comprises:
and the covering subunit is used for covering the original data in the database into the updated data.
7. The apparatus of claim 5, wherein the operation module further comprises:
the data inserting operation unit is used for performing data inserting operation on the object to be operated to obtain data after the data inserting operation;
and the data inserting operation unit is used for calling the interface of the object to be operated so as to insert the data after the data inserting operation into the database through the interface.
8. The apparatus of claim 5, wherein the update operation comprises at least one of: delete operation, replace operation.
CN201710794766.5A 2017-09-05 2017-09-05 Database operation method and device based on object mapping Active CN107506474B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710794766.5A CN107506474B (en) 2017-09-05 2017-09-05 Database operation method and device based on object mapping

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710794766.5A CN107506474B (en) 2017-09-05 2017-09-05 Database operation method and device based on object mapping

Publications (2)

Publication Number Publication Date
CN107506474A CN107506474A (en) 2017-12-22
CN107506474B true CN107506474B (en) 2020-10-20

Family

ID=60695839

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710794766.5A Active CN107506474B (en) 2017-09-05 2017-09-05 Database operation method and device based on object mapping

Country Status (1)

Country Link
CN (1) CN107506474B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109634567B (en) * 2018-12-07 2022-02-22 武汉瓯越网视有限公司 Information creating method, device, terminal and storage medium
CN109901822B (en) * 2019-01-08 2022-08-12 平安科技(深圳)有限公司 Object conversion method and device, storage medium and server

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102541927A (en) * 2010-12-30 2012-07-04 北京新媒传信科技有限公司 Method and device for realizing data cache
CN105760409A (en) * 2015-03-04 2016-07-13 机械工业第六设计研究院有限公司 Method for mapping distributed object to relational database
CN105956054A (en) * 2016-04-27 2016-09-21 国家电网公司 Relational database-based power grid CIM model data storage method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102541927A (en) * 2010-12-30 2012-07-04 北京新媒传信科技有限公司 Method and device for realizing data cache
CN105760409A (en) * 2015-03-04 2016-07-13 机械工业第六设计研究院有限公司 Method for mapping distributed object to relational database
CN105956054A (en) * 2016-04-27 2016-09-21 国家电网公司 Relational database-based power grid CIM model data storage method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于C++的对象关系映射架构;雷文平等;《计算机工程》;20100731;第2010卷(第7期);全文 *

Also Published As

Publication number Publication date
CN107506474A (en) 2017-12-22

Similar Documents

Publication Publication Date Title
KR101999409B1 (en) Formatting data by example
CN107861713B (en) Data calling method and device and computer readable storage medium
CN111596965B (en) Project engineering initialization method, device, computer equipment and storage medium
CN110532107B (en) Interface calling method, device, computer equipment and storage medium
CN112765023A (en) Test case generation method and device
CN106776105B (en) System startup file checking and compiling method
CN111158741A (en) Method and device for monitoring change of dependency relationship of business module on third-party class library
CN111694572A (en) Code format conversion method, device, computer equipment and storage medium
CN108415998B (en) Application dependency relationship updating method, terminal, device and storage medium
CN107506474B (en) Database operation method and device based on object mapping
CN112667223A (en) Method and device for generating component configuration table, electronic equipment and storage medium
CN114461223A (en) Code generation method and device and terminal equipment
CN113590097A (en) API interface generation method and device, electronic equipment and storage medium
CN110442636B (en) Data reading and writing method and device and data reading and writing equipment
CN111158777B (en) Component calling method, device and computer readable storage medium
CN111708957A (en) Method, device and computer equipment for updating front-end page based on index and value index
CN114168119B (en) Code file editing method, device, electronic equipment and storage medium
CN106934021B (en) Processing method and system for modular encapsulation report
CN114625372A (en) Automatic component compiling method and device, computer equipment and storage medium
CN111104144B (en) Anchor point updating method and device
CN103677846A (en) SQLite database development kit and development method thereof
CN112764763A (en) Code conversion method, system, equipment and computer readable storage medium
CN111538651A (en) Interface testing method, device, server and storage medium
CN111562940B (en) Project data construction method and device
CN117573130A (en) Code processing method, device, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant