Saved in:
Bibliographic Details
Main Authors: Grynets, Oleg, Lyashkevych, Vasyl, Baran, Dmytro, Orliansky, Maksym, Zelenyy, Taras, Leshchyshyn, Markiian
Format: Preprint
Published: 2025
Subjects:
Online Access:https://arxiv.org/abs/2512.13515
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866912880551526400
author Grynets, Oleg
Lyashkevych, Vasyl
Baran, Dmytro
Orliansky, Maksym
Zelenyy, Taras
Leshchyshyn, Markiian
author_facet Grynets, Oleg
Lyashkevych, Vasyl
Baran, Dmytro
Orliansky, Maksym
Zelenyy, Taras
Leshchyshyn, Markiian
contents The study presents the outcomes of research and experimental validation in the domain of automated codebase migration, with a focus on addressing challenges in transitioning SQL-based systems. The proposed method for migration essentially appears as a framework that leverages the best aspects of traditional software engineering techniques and provides an iterative, scalable, precise and efficient solution for modern database transformations. The central piece of the approach is the integration of a fine-tuned Large Language Model to address critical issues in SQL code conversion, such as syntax mapping, resolving discrepancies between Oracle PL/SQL and PostgreSQL, and optimising database elements such as stored procedures, triggers, views, and overall database logic. Thus, the method involves a trade-off between fine-tuning and prompt engineering. Special attention is given to a fine-tuning approach, which enhances the adaptability and compatibility with migration requirements across the entire database. According to the achieved results, fine-tuning plays a very important role. The study employs targeted evaluation methodologies along with computational metrics to measure the success of iterative conversion cycles. Core innovations include automated SQL feature detection, semi-supervised error analysis and integration of Subject Matter Experts feedback within a systematic migration workflow. The methodology achieves significant reductions in Syntax Error Rates, enhances feature alignment throughout migration iterations, and leverages dataset sampling to ensure continual improvement. By embedding GAI into the migration process, the framework facilitates precise feature mapping, semi-automated error resolution, and data-driven optimisation loops, improving workflow efficiency.
format Preprint
id arxiv_https___arxiv_org_abs_2512_13515
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Fine-tuned LLM-based Code Migration Framework
Grynets, Oleg
Lyashkevych, Vasyl
Baran, Dmytro
Orliansky, Maksym
Zelenyy, Taras
Leshchyshyn, Markiian
Software Engineering
Computation and Language
Logic in Computer Science
68T07 (Primary), 03G99 (Secondary)
D.2; F.3; I.2
The study presents the outcomes of research and experimental validation in the domain of automated codebase migration, with a focus on addressing challenges in transitioning SQL-based systems. The proposed method for migration essentially appears as a framework that leverages the best aspects of traditional software engineering techniques and provides an iterative, scalable, precise and efficient solution for modern database transformations. The central piece of the approach is the integration of a fine-tuned Large Language Model to address critical issues in SQL code conversion, such as syntax mapping, resolving discrepancies between Oracle PL/SQL and PostgreSQL, and optimising database elements such as stored procedures, triggers, views, and overall database logic. Thus, the method involves a trade-off between fine-tuning and prompt engineering. Special attention is given to a fine-tuning approach, which enhances the adaptability and compatibility with migration requirements across the entire database. According to the achieved results, fine-tuning plays a very important role. The study employs targeted evaluation methodologies along with computational metrics to measure the success of iterative conversion cycles. Core innovations include automated SQL feature detection, semi-supervised error analysis and integration of Subject Matter Experts feedback within a systematic migration workflow. The methodology achieves significant reductions in Syntax Error Rates, enhances feature alignment throughout migration iterations, and leverages dataset sampling to ensure continual improvement. By embedding GAI into the migration process, the framework facilitates precise feature mapping, semi-automated error resolution, and data-driven optimisation loops, improving workflow efficiency.
title Fine-tuned LLM-based Code Migration Framework
topic Software Engineering
Computation and Language
Logic in Computer Science
68T07 (Primary), 03G99 (Secondary)
D.2; F.3; I.2
url https://arxiv.org/abs/2512.13515