Method and device for performing data manipulation in Java application
A Java application and data manipulation technology, applied in the computer field, can solve problems such as low development efficiency, low stability, and error-prone, and achieve the effect of improving efficiency and accuracy
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
example 1
[0033] Example 1, the naming rules of the domain object class are set as follows: as shown in Table 1, the name of the domain object class is consistent with the name of the corresponding table, and the first letter is capitalized, the following letters are lowercase, and there is an underscore in the name of the table , remove the underscore from the name of the corresponding domain object class, capitalize the first letter after the underscore, and lowercase the following letter.
[0034] Table 1
[0035] table name
[0036] APPUSER, appuser
example 2
[0037] Example 2, when mapping the fields contained in the structure information of the table to the private data of the domain object class, the naming rules used are set as follows: Refer to Table 2, the private data name of the domain object class and the field name in the table structure information Consistent, and all letters are lowercase. When there is an underscore in the field name, when converting to the private data name of the domain object class, the underscore will be removed from the corresponding private data name, and the first letter after the underscore is capitalized, and the subsequent letters lower case.
[0038] Table 2
[0039] field names in the table
example 3
[0040] Example 3, the data type mapping rule of the domain object class is set as follows: In Java applications, the data type of a certain field of the table can be obtained through the getColumnType function in the overall comprehensive information object, and whether a certain field of the table is known through the isNullable function For null values, the data type mapping rules are determined according to the data type of the field and whether the field is null, as shown in Table 3 for details. When mapping the structure of the table as a private data member of the domain object class, it can be mapped according to the rules in Table 3.
[0041] table 3
[0042]
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com