CN112905453A - Method for quickly generating database operation code in automatic test - Google Patents
Method for quickly generating database operation code in automatic test Download PDFInfo
- Publication number
- CN112905453A CN112905453A CN202110152581.0A CN202110152581A CN112905453A CN 112905453 A CN112905453 A CN 112905453A CN 202110152581 A CN202110152581 A CN 202110152581A CN 112905453 A CN112905453 A CN 112905453A
- Authority
- CN
- China
- Prior art keywords
- code
- file
- data
- database
- data object
- 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.)
- Pending
Links
- 238000012360 testing method Methods 0.000 title claims abstract description 54
- 238000000034 method Methods 0.000 title claims abstract description 37
- 238000013507 mapping Methods 0.000 claims abstract description 65
- 238000012423 maintenance Methods 0.000 abstract description 10
- 238000011161 development Methods 0.000 abstract description 6
- 238000004590 computer program Methods 0.000 abstract description 2
- 238000012986 modification Methods 0.000 description 7
- 230000004048 modification Effects 0.000 description 7
- 238000010586 diagram Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
- G06F11/3668—Software testing
- G06F11/3672—Test management
- G06F11/3684—Test management for test design, e.g. generating new test cases
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
- G06F11/3668—Software testing
- G06F11/3672—Test management
- G06F11/3688—Test management for test execution, e.g. scheduling of test suites
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/24—Querying
- G06F16/242—Query formulation
- G06F16/2433—Query languages
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Computer Hardware Design (AREA)
- Quality & Reliability (AREA)
- Mathematical Physics (AREA)
- Computational Linguistics (AREA)
- Data Mining & Analysis (AREA)
- Databases & Information Systems (AREA)
- Debugging And Monitoring (AREA)
Abstract
The invention discloses a method for quickly generating database operation codes in an automatic test, belongs to the technical field of computer program development, and provides the following scheme aiming at the problems of higher code development cost and difficult later maintenance in the automatic test of a bank interface: configuring an operation configuration mapping file code, a data access object file code and a data object file code of a data operation object and a database operation based on a MyBatis framework to generate a configuration file; generating a code annotation of a data access object file code and a code annotation of a data object file code in a configuration file, and storing an operation configuration mapping file code, the data access object file code and the data object file code in a sub-directory; and generating a database operation code according to the configuration file, wherein the database operation code comprises an operation configuration mapping file code, a data access object file code and a data object file code.
Description
Technical Field
The invention relates to the technical field of computer program development, in particular to a method for quickly generating database operation codes in an automatic test.
Background
In the traditional bank interface automatic test, the database access operation mainly depends on a tester to manually write functional codes, and then the tester to write the codes is quoted in specific interface test codes. In this way, the SQL statements used for the database operation are mainly embedded in the function codes, which may cause the SQL statements of the specific database operation to be coupled with the externally exposed database access, and when modifying, it is possible that the logic of the method for the database access caused by the modification of one SQL statement may also be modified. That is, the SQL statement and the operation object are not separated, so that the later maintenance difficulty of the interface automation test code is increased, and the maintenance cost is increased. In addition, if the interface correlation degree related to the interface automatic test code is high, a large number of database tables need to be operated in a tested business project, and testers need to write access and operation codes of the database, so that the code development cost of the testers is increased, and the automatic test coding and management efficiency is greatly reduced.
Disclosure of Invention
The technical problem to be solved by the invention is to provide a method for quickly generating database operation codes in an automatic test, and the database operation codes are automatically generated in batches, so that the code development cost of developers is reduced, and the automatic code compiling efficiency is improved.
The basic scheme provided by the invention is as follows:
the method for quickly generating the database operation code in the automatic test comprises the following steps:
configuring an operation configuration mapping file code, a data access object file code and a data object file code of a database based on a MyBatis framework to generate a configuration file;
generating a code annotation of the data access object file code and a code annotation of the data object file code in the configuration file, and storing the operation configuration mapping file code, the data access object file code and the data object file code in a sub-directory;
and generating a database operation code according to the configuration file, wherein the database operation code comprises an operation configuration mapping file code, a data access object file code and a data object file code.
The principle and effect of the basic scheme are as follows:
through inheritance and expansion of a MyBatis framework and combination of code annotation of data access object file codes, code annotation of data object file codes and configuration of operation configuration mapping file codes of a database, generation of data objects, data operation objects and database operation configuration mapping file codes in the database operation codes is achieved, the operation configuration mapping file codes, the data object file codes and the data access object file codes are stored in a sub-directory mode, retrieval is conveniently carried out according to use requirements respectively and correspondingly when a fault problem occurs in a system, the fault problem is conveniently located, and therefore locating efficiency of the fault problem when debugging interface automation codes are used is improved.
The operation configuration mapping file code, the data access object file code and the data object file code of the database are configured through a MyBatis framework, and the configuration of each file code of the database specifically comprises an address, a user name, a password for accessing the database, a data table of the operation configuration mapping file code to be generated, and a storage path of the operation configuration mapping file code, the data access object file code and the data object file code to be generated. The database operation code comprises an operation configuration mapping file code, a data access object file code and a data object file code, the data access object file code is used for designating a data object code file of the database as an operation object of the database, for example, a return result of the database can be stored in the data object file code, and the data access object file code and the data object file code are stored in a java format. The operation configuration mapping file code is a mapping file of a data access object file code and a concrete implementation of the data object file code in a database, and the operation configuration mapping file code is a file code stored in an XML format.
And generating a code annotation of a data access object and a code annotation of a data object according to a database operation code generated by the MyBatis framework configuration, and generating an operation configuration mapping file code of the database, so that the readability of the generated code in the interface automation test is improved.
In addition, due to the classification structure adopted for the data object, the data operation object and the database operation configuration mapping file code, when the logic of the file code in the specific database needs to be modified, only corresponding configuration needs to be carried out on the operation configuration mapping file code, and because the data object file code and the data operation object file are not changed at the moment, the original interface automation test code does not need to be modified; in the interface automatic test, the database operation is generally the operation on the structured query statement, and the adoption of the classification structure mode of the scheme can greatly reduce the frequency of modifying the automatic test code in the subsequent code maintenance and improve the maintainability of the whole interface automatic test code.
In the scheme, the MyBatis framework is an open source access framework of the MyBatis database, and a code developer can configure and generate different databases in batches by means of a method provided by the MyBatis framework. The operation configuration mapping file codes of the database, namely the specific operation logic files of the database, are stored in an XML format, mainly structured query statements of some database operations and the mapping of the operation logics of the database to corresponding data operation objects, and the mapping of the input parameters and the output parameters required in each database operation logic to the data objects is put in the operation configuration mapping file codes of the database.
In the scheme, the database operation codes are automatically generated in batches, so that the time cost brought by a developer to manually write the codes is greatly reduced, and the automatic code writing efficiency is improved. The classified and layered code structure in the database is clearer and easier to read. The logical change of the database only needs to modify the codes of the operation configuration mapping file, and does not need to modify specific test codes, so that the later maintenance modification is more convenient and efficient.
Further, the step of generating a code annotation of the data access object file code and a code annotation of the data object file code in the configuration file, and storing the operation configuration mapping file code, the data access object file code and the data object file code in a sub-directory includes:
inheriting the commementGenerator base class of the MyBatis framework, adding class-level based and method-level based annotations to the configuration file.
By inheriting the commementGenerator base class of the MyBatis framework, annotations based on class level and method level are added into the database operation code to be generated, so that the readability of the generated database operation code is improved.
Further, the code annotation comprises:
a description of the data object class level and attribute level, and a description of the data access object class level and method action.
In the scheme, the class level and the attribute level of the data object are described respectively, and the class level and the method function of the data access object are described respectively, so that the readability of the operation code generated based on the MyBatis framework is further improved.
Further, the step of generating a code annotation of the data access object file code and a code annotation of the data object file code in the configuration file, and storing the operation configuration mapping file code, the data access object file code and the data object file code in a sub-directory further includes:
inheriting the PluginAdaper base class of the MyBatis framework, and generating an operation configuration mapping file code of the database.
By inheriting the PluginAdaper base class of the MyBatis framework, each file data table can generate an operation configuration mapping file code and automatically corresponds to a corresponding data access object file code, so that modification of a structural query statement of database operation in the later period can be directly configured in the operation configuration mapping file code of the database.
Further, the step of generating a code annotation of the data access object file code and a code annotation of the data object file code in the configuration file, and storing the operation configuration mapping file code, the data access object file code and the data object file code in a sub-directory further includes:
inheriting the PluginAdaper base class of the MyBatis framework, renaming the generated data object file code to be a java file with a DO suffix and storing the java file into a data object directory, and renaming the generated data access object file code to be a java file with a DAO suffix and storing the java file into the data access object directory.
The generated data object file codes and the data access objects are renamed respectively through a PluginAdaper base class inheriting a MyBatis framework, and are renamed into java files with DO suffixes and java files with DAO suffixes respectively, and are stored in a data object directory and a data access object directory in a one-to-one correspondence mode, so that the database operation codes can be called conveniently in the automatic interface test.
Further, still include:
and dynamically outputting the attribute of the data object and the value of the data object according to the generated data object file code.
And the attribute and the value of the data object are dynamically output, so that the data object is convenient for developers to use when debugging the automatic test code of the interface.
Further, dynamically outputting the attribute of the data object and the value of the data object according to the generated data object file code comprises:
inheriting the PluginAdaper base class of MyBatis, and generating a character string code in the data object so as to print nouns and values of any attribute in the data object.
A character string code is generated in any data object by inheriting the PluginAdaper base class of MyBatis, and nouns and values of the character string code attribute are printed, so that the method is convenient for developers to use when debugging the interface automation test code.
Further, the database operation code is a code for automated testing of a bank interface.
In the scheme, the data object file code, the data operation object file and the database operation configuration mapping file code are mainly used in a scene that the database needs to be operated in the bank interface automatic test.
Further, the database is a MySQL database or an oracle database.
In the scheme, the database generated based on the MyBatis framework configuration is a MySQL database or an oracle database, the secondary development is realized by inheriting basic java files, different databases are configured, so that codes meeting the automatic testing of a bank interface can be generated, and the application range is wider.
Drawings
FIG. 1 is a flow chart illustrating an embodiment of a method for fast generation of database operation codes in an automated test according to the present invention;
FIG. 2 is a block diagram illustrating modules involved in a method for fast generation of database operation codes in an automated test according to an embodiment of the present invention.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
In the following description, suffixes such as "module", "component", or "unit" used to denote elements are used only for facilitating the explanation of the present invention, and have no specific meaning in itself. Thus, "module", "component" or "unit" may be used mixedly.
The following is further detailed by way of specific embodiments:
the invention provides a method for quickly generating database operation codes in an automatic test, which comprises the following steps:
quickly generating codes which are used for accessing data of a database in the automatic test codes for compiling bank interfaces by rewriting the commementGenerator base class and the PluginAdaper base class of the MyBatis framework; realizing batch generation of operation codes for scenes with more data tables needing to be operated; and the structured operation code management is used for managing the operation of the database according to three types of files, namely a data object, a data access object and a bottom layer operation configuration. In this embodiment, the operation code is an operation configuration mapping file code, a data access object file code, and a data object file code generated by the database.
Specifically, referring to fig. 1 and fig. 2, fig. 1 is a schematic flowchart illustrating an embodiment of a method for quickly generating an operation code of a database in an automated test, and fig. 2 is a schematic diagram illustrating modules involved in an embodiment of the method for quickly generating an operation code of a database in an automated test.
While a logical order is illustrated in the flow charts, in some cases, the steps shown or described may be performed in a different order than presented.
The method for quickly generating the database operation code in the automatic test comprises the following steps:
step S100, configuring operation configuration mapping file codes, data access object file codes and data object file codes of data operation objects and database operations based on a MyBatis framework to generate configuration files;
in the scheme, the generation of an operation code of a MySQL database or an oracle database is configured, and an operation configuration mapping file code, a data access object file code and a storage path of the data object file code of the database and a file data table corresponding to the operation configuration mapping file code are obtained to form a configuration file of the database. It should be noted that each file data table generates an operation configuration mapping file code and automatically corresponds to a corresponding data access object file code, so that modification of a structured query statement of a database operation at a later stage can be directly configured in the operation configuration mapping file code of the database.
Step S200, generating a code annotation of the data access object file code and a code annotation of the data object file code in the configuration file, and storing the data access object file code and the data object in a sub-directory.
A code annotation generation module and an operation configuration mapping file code generation module are added to a configuration file generated through a MyBatis framework, the code annotation generation module generates a code annotation of a data access object and a code annotation of a data object, the operation configuration mapping file code generation module generates an operation configuration mapping file code of a database, and the code annotations improve the readability of generated codes in an interface automation test.
Further, in a possible embodiment, in step S200, the step of generating a code annotation of the data access object file code and a code annotation of the data object file code in the configuration file, and storing the data access object file code and the data object in a sub-directory may include:
inheriting the commementGenerator base class of the MyBatis framework, adding class-level based and method-level based annotations to the configuration file.
Inheriting the PluginAdaper base class of the MyBatis framework, and generating an operation configuration mapping file code of the database.
In the scheme, referring to fig. 2, by adding a code annotation generation module and an operation configuration mapping file code generation module, annotations based on class level and method level are added to the operation code to be generated through rebuilding the commentGenerator base class of the MyBatis framework, so as to improve the readability of the operation code. It should be noted that, in the present solution, the code annotation includes a description of the class level of the data object, such as the role of the data object; and specifications of the data object's attribute level, such as what the specific role of each attribute of the data object is. The description of the class level of the data access object, such as the role of the data access object, and the description of the role of the method in the data access object. Namely, through the code annotation, the operation code can be conveniently read by a developer in the interface automation test.
Through the reconstruction of the PluginAdaper base class of the MyBatis framework, the operation configuration mapping file codes of the database can be generated rapidly, each file data table can generate one operation configuration mapping file code, and the operation configuration mapping file code corresponds to the corresponding data access object file code automatically, so that developers can configure the structured statement of the database operation directly when modifying the structured statement.
The operation configuration mapping file codes of the database, namely the specific operation logic files of the database, are stored in an XML format, mainly structured query statements of some database operations and the mapping of the operation logics of the database to corresponding data operation objects, and the mapping of the input parameters and the output parameters required in each database operation logic to the data objects is put in the operation configuration mapping file codes of the database. It should be noted that the value of the input parameter is required by the called function, and the value of the output parameter is required by the calling function.
Step S300, executing the configuration file and generating a database operation code, wherein the database operation code comprises an operation configuration mapping file code, a data access object file code and a data object file code.
In one embodiment, through inheritance and extension of a MyBatis framework, generation of a data object, a data operation object and a database operation configuration mapping file code of a database operation code is realized, and code sub-directory storage of the data object, the data operation object and the database operation configuration mapping file is realized, so that retrieval can be conveniently carried out according to use requirements when needed. Specifically, for example, if the data object needs to be modified, the corresponding data object is retrieved through the data object directory to be modified; retrieving the corresponding data access object through the data access object directory to modify the data access object when the data access object needs to be modified; when the bottom SQL logic needs to be modified, the corresponding operation configuration mapping file code is retrieved through the directory stored by the operation configuration mapping file code and is modified. And the SQL statement of a specific database operation is not coupled with the database access exposed to the outside, so that the method logic of the database access caused by the modification of one SQL structured query statement is modified together when the modification is carried out. The method and the system have the advantages that the SQL structured query statement is separated from the operation object, so that the later maintenance of the interface automatic test code is simpler, and the later maintenance cost is reduced. Meanwhile, according to the scheme, the operation configuration mapping file codes, the data access object file codes and the data object file codes are stored in the sub-directory mode, so that the fault position can be more conveniently and rapidly located when the codes of the interface automation are debugged, and the locating efficiency of the fault problem is improved.
Further, in a possible embodiment, in step S300, the step of "executing the configuration file to generate a database operation code, where the database operation code includes an operation configuration mapping file code, a data access object file code and a data object file code" may include:
inheriting the PluginAdaper base class of the MyBatis framework, renaming the generated data object file code to be a java file with a DO suffix and storing the java file into a data object directory, and renaming the generated data access object file code to be a java file with a DO suffix and storing the java file into the data access object directory.
In the scheme, the DO index data object file is stored in a java file form, and the entry parameters required by the database operation and the result after the database operation are encapsulated in the data object, so that the data object can be called in other parts of the code of the interface automation test. The DAO index data accesses the object file and is stored in the form of a java file, the operation of the database is defined by the mode of the java interface, and other parts of the code of the interface automation test can realize the operation of the database by calling the method of the scheme.
In the above embodiment, the problems of difficulty in later maintenance of the test code and increase in maintenance cost in the bank interface automation test in the conventional technology are solved. The method solves the problems that the interface correlation degree related to the bank interface automatic test codes is high, and the test business project not only needs to operate a large number of database tables, but also needs developers to compile access and operation codes of the database, so that the code development cost of the developers is increased, and the automatic test coding and management efficiency is greatly reduced.
In the scheme, codes which are needed to be used for operating data of the database in the written automatic test codes are quickly generated by rewriting the commementGenerator base class and the PluginAdaper base class of MyBatis, and batch generation of operation codes is realized for scenes with more data tables needing to be operated, so that the code development cost of developers is reduced, and the automatic code writing efficiency is improved; and structured code management, namely managing the operation of the database according to three types of files of a data object, a data access object and a bottom layer operation configuration, namely improving the positioning efficiency of the automatic code of the bank debugging interface on the fault problem and simultaneously improving the maintainability of the automatic test code of the whole interface. Specifically, the operation of the database is divided into three types of files, namely a data object file code DO, a data access object file code DAO and an operation configuration mapping file code Mapper, and the files are stored in different directories, so that the files can be conveniently retrieved according to the use requirement when needed, the fault position can be more conveniently and rapidly positioned when the code of the interface automation is debugged, and the positioning efficiency of the fault problem is improved. Furthermore, due to the classified sub-directory structure adopted by the scheme, when the logic of the specific SQL needs to be modified, only corresponding configuration needs to be carried out on the operation configuration mapping file code Mapper, and because the data object file code DO and the data access object file code DAO are not changed at the moment, the original bank interface automation test code does not need to be modified. In the automatic testing of the bank interface, the frequency of modifying the automatic testing code in the subsequent code maintenance is reduced, and the maintainability of the automatic testing code of the whole interface is improved.
The foregoing are merely exemplary embodiments of the present invention, and no attempt is made to show structural details of the invention in more detail than is necessary for the fundamental understanding of the art, the description taken with the drawings making apparent to those skilled in the art how the several forms of the invention may be embodied in practice with the teachings of the invention. It should be noted that, for those skilled in the art, without departing from the structure of the present invention, several changes and modifications can be made, which should also be regarded as the protection scope of the present invention, and these will not affect the effect of the implementation of the present invention and the practicability of the patent. The scope of the claims of the present application shall be determined by the contents of the claims, and the description of the embodiments and the like in the specification shall be used to explain the contents of the claims.
Claims (9)
1. A method for quickly generating database operation codes in an automatic test is characterized by comprising the following steps:
configuring an operation configuration mapping file code, a data access object file code and a data object file code of a database based on a MyBatis framework to generate a configuration file;
generating a code annotation of the data access object file code and a code annotation of the data object file code in the configuration file, and storing the operation configuration mapping file code, the data access object file code and the data object file code in a sub-directory;
and generating a database operation code according to the configuration file, wherein the database operation code comprises an operation configuration mapping file code, a data access object file code and a data object file code.
2. The method of claim 1, wherein the step of generating code annotations for the data access object file code and the data object file code in the configuration file and storing the operation configuration mapping file code, the data access object file code, and the data object file code in a sub-directory comprises:
inheriting the commementGenerator base class of the MyBatis framework, adding class-level based and method-level based annotations to the configuration file.
3. The method for rapid generation of database operation codes in automation test as set forth in claim 2, wherein the code annotation comprises:
a description of the data object class level and attribute level, and a description of the data access object class level and method action.
4. The method of claim 2, wherein the step of generating code annotations for the data access object file code and the data object file code in the configuration file and storing the operation configuration mapping file code, the data access object file code, and the data object file code in the sub-directory further comprises:
inheriting the PluginAdaper base class of the MyBatis framework, and generating an operation configuration mapping file code of the database.
5. The method of claim 1, wherein the step of generating code annotations for the data access object file code and the data object file code and storing the operation configuration mapping file code, the data access object file code, and the data object file code in the configuration file further comprises:
inheriting the PluginAdaper base class of the MyBatis framework, renaming the data object file code configured in the configuration file to be a java file with a DO suffix and storing the java file into a data object directory, renaming the data access object file code configured in the configuration file to be a java file with a DAO suffix and storing the java file into the data access object directory.
6. The method for rapid generation of database operation codes in automation test as set forth in claim 5, further comprising:
and dynamically outputting the attribute of the data object and the value of the data object according to the data object file code.
7. The method for rapid generation of database operation codes in automation test as claimed in claim 6, wherein the dynamically outputting the attributes the data object has and the values of the data object according to the data object file code comprises:
inheriting the PluginAdaper base class of MyBatis, and generating a character string code in the data object so as to print nouns and values of any attribute in the data object.
8. The method for rapidly generating the database operation code in the automatic test according to any one of claims 1 to 7, wherein the database operation code is a code of a bank interface automatic test.
9. The method for rapidly generating database operation codes in the automatic test according to any one of claims 1 to 7, wherein the database is a MySQL database or an oracle database.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110152581.0A CN112905453A (en) | 2021-02-03 | 2021-02-03 | Method for quickly generating database operation code in automatic test |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110152581.0A CN112905453A (en) | 2021-02-03 | 2021-02-03 | Method for quickly generating database operation code in automatic test |
Publications (1)
Publication Number | Publication Date |
---|---|
CN112905453A true CN112905453A (en) | 2021-06-04 |
Family
ID=76122092
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110152581.0A Pending CN112905453A (en) | 2021-02-03 | 2021-02-03 | Method for quickly generating database operation code in automatic test |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112905453A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114756554A (en) * | 2022-06-13 | 2022-07-15 | 中建电子商务有限责任公司 | Data query processing method based on MyBatis framework |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102968306A (en) * | 2012-11-29 | 2013-03-13 | 广东全通教育股份有限公司 | Method and system for automatically generating code based on data model drive |
CN109471619A (en) * | 2018-11-20 | 2019-03-15 | 北京千丁互联科技有限公司 | Mybatis code generating method, device and terminal |
CN110232024A (en) * | 2019-05-26 | 2019-09-13 | 必成汇(成都)科技有限公司 | Software automated testing frame and test method |
CN112000320A (en) * | 2020-08-27 | 2020-11-27 | 中国平安财产保险股份有限公司 | Automatic code generation method, device, equipment and storage medium |
CA3163301A1 (en) * | 2020-02-28 | 2021-01-28 | Chirodip Pal | System and method for application environment migration |
-
2021
- 2021-02-03 CN CN202110152581.0A patent/CN112905453A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102968306A (en) * | 2012-11-29 | 2013-03-13 | 广东全通教育股份有限公司 | Method and system for automatically generating code based on data model drive |
CN109471619A (en) * | 2018-11-20 | 2019-03-15 | 北京千丁互联科技有限公司 | Mybatis code generating method, device and terminal |
CN110232024A (en) * | 2019-05-26 | 2019-09-13 | 必成汇(成都)科技有限公司 | Software automated testing frame and test method |
CA3163301A1 (en) * | 2020-02-28 | 2021-01-28 | Chirodip Pal | System and method for application environment migration |
CN112000320A (en) * | 2020-08-27 | 2020-11-27 | 中国平安财产保险股份有限公司 | Automatic code generation method, device, equipment and storage medium |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114756554A (en) * | 2022-06-13 | 2022-07-15 | 中建电子商务有限责任公司 | Data query processing method based on MyBatis framework |
CN114756554B (en) * | 2022-06-13 | 2022-09-30 | 中建电子商务有限责任公司 | Data query processing method based on MyBatis framework |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US6182245B1 (en) | Software test case client/server system and method | |
US5995736A (en) | Method and system for automatically modelling registers for integrated circuit design | |
US7810069B2 (en) | Methods and systems for relating data structures and object-oriented elements for distributed computing | |
Smaragdakis et al. | DiSTiL: A Transformation Library for Data Structures. | |
US20030093433A1 (en) | Method and system for software application development and customizible runtime environment | |
US7240338B1 (en) | Computer language translation system and method of converting procedural computer language software to object-oriented computer language software | |
US10445675B2 (en) | Confirming enforcement of business rules specified in a data access tier of a multi-tier application | |
Akehurst et al. | Implementing associations: UML 2.0 to Java 5 | |
CN102054041B (en) | Method and system for upgrading metadata | |
Hussmann et al. | Modular architecture for a toolset supporting OCL | |
Hicks | Knowledge base management systems-tools for creating verified intelligent systems | |
CN112905453A (en) | Method for quickly generating database operation code in automatic test | |
Clemm | THE ODIN SYSTEM: AN OBJECT MANAGER FOR EXTENSIBLE SOFTWARE ENVIRONMENTS (EFFICIENT, FILE SYSTEM, PROGRAMMING, DATABASE, TOOL) | |
Schauerhuber et al. | Bridging WebML to model-driven engineering: from document type definitions to meta object facility | |
Lamersdorf | Recursive data models for non-conventional database applications | |
Bakkom et al. | Implementation of a prototype generalized file translator | |
Fry et al. | An assessment of the technology for data-and program-related conversion. | |
US8997068B1 (en) | Method and system for providing an implicit unknown value to user ENUM data constructs in an HDL system to model power shutoff in simulation | |
KR100656559B1 (en) | Program Automatic Generating Tools | |
CN116627390B (en) | ICD file substitution method and device in aviation software development | |
WO1995021416A1 (en) | Distributed file system providing transparent data management | |
CN118760433A (en) | Method, system and storage medium for reducing MybatisPlus template codes | |
Talby et al. | The design and implementation of a metadata repository | |
Huang | Express query language and templates and rules: Two languages for advanced software system integrations | |
CN115048109A (en) | Code generation method and device based on metadata |
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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20210604 |