Method and device for adding new attribute data in database
A technology of attribute data and database, which is applied in electronic digital data processing, special data processing applications, semi-structured data query, etc. It can solve the problems of loss of production data and chaotic structure of database tables, so as to ensure security and avoid production data. Losing and avoiding the effect of database table structure confusion
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0036] see figure 1 , figure 1 A flowchart of a method for adding new attribute data to a database provided by an embodiment of the present invention. like figure 1 As shown, the method includes:
[0037] Step S101, obtaining a message, where the message includes a request for adding new attribute data;
[0038] Specifically, the message is obtained from a message interface, where the message includes a request for adding new attribute data, and the request includes information about the new attribute data.
[0039] Step S102, parsing the message, parsing the new attribute data into an attribute of the MappedClob data type object;
[0040] Specifically, the MappedClob is a Java data type corresponding to a CLOB (Character Large Object, character large object) data type of the database. CLOB data type is a database data type used to store larger text.
[0041] Step S103, converting the MappedClob data type object into an XML (Extensible MarkupLanguage, Extensible Markup L...
Embodiment 2
[0051] see figure 2 , figure 2 A flowchart of another method for adding new attribute data to a database provided by an embodiment of the present invention. like figure 2 As shown, the method includes:
[0052] Step S201, adding reserved field descriptions in the data entities that have the requirement of adding new attribute data;
[0053] Specifically, the database includes a plurality of data entities, and the reserved field description is added to the data entities that have new business requirements (ie, have new attribute data requirements). The reserved field description, specifically, is a CLOB data type attribute. In the invention, the CLOB data type attribute "reserved field description" is added to the entities that are prone to have future data expansion requirements in database design to prepare reservations for future attribute information expansion.
[0054] Specifically, the step S201 includes:
[0055] Get a request to add the CLOB data type attribute...
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