Application and Relational Database Co-Refactoring

Ondrej Macek1 and Karel Richta2

  1. Dept. of Computer Science and Engineering, Faculty of Electrical Engineering, Czech Technical University in Prague
    Karlovo namesti 13, 121 35 Praha 2, Czech Republic
  2. Dept. of Software Engineering, Faculty of Mathematics and Physics, Charles University
    Malostranske namesti 25, 118 00, Praha 1, Czech Republic


A refactoring of application persistent objects affects not only the source code but the stored data as well. The change is usually processed in two steps: refactoring and data migration, which is ineffective and error prone. We provide a formal model for solution which is capable to migrate database according to a refactoring in the application code. The feasibility of the change and its data-secure processing is addressed as well.

Key words

code refactoring, relational schema evolution, formal model

Digital Object Identifier (DOI)

Publication information

Volume 11, Issue 2 (June 2014)
Year of Publication: 2014
ISSN: 1820-0214 (Print) 2406-1018 (Online)
Publisher: ComSIS Consortium

Full text

DownloadAvailable in PDF
Portable Document Format

How to cite

Macek, O., Richta, K.: Application and Relational Database Co-Refactoring. Computer Science and Information Systems, Vol. 11, No. 2, 503–524. (2014),