Database mapping file conversion method and system based on large model
By automatically converting the SQL statements of the MyBatis framework project into the target database syntax based on a large model method, the problems of low efficiency and poor accuracy of manual conversion are solved, and efficient and accurate database migration and adaptation are achieved.
Patent Information
- Application Number
- CN202511133790.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-08-14
- Publication Date
- 2025-09-12
- Estimated Expiration
- 2045-08-14
AI Technical Summary
During the database migration process, manually converting SQL statements in the MyBatis framework project to different database syntaxes is labor-intensive, inefficient, and prone to errors, affecting project progress and the stability of the application system.
Using a large model-based approach, we recursively traverse the files under the project path, use the natural language processing capabilities of the large model to construct target prompt words, convert SQL statements into target database syntax, and generate an adapted database mapping file.
It improves the efficiency and accuracy of database adaptation and conversion, ensures that the project can interact normally after migration, reduces manual intervention, and improves the stability and adaptation efficiency of the project.