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
    macekond@fel.cvut.cz
  2. Dept. of Software Engineering, Faculty of Mathematics and Physics, Charles University
    Malostranske namesti 25, 118 00, Praha 1, Czech Republic
    karel.richta@mff.cuni.cz

Abstract

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)

https://doi.org/10.2298/CSIS130610033M

Publication information

Volume 11, Issue 2 (June 2014)
Year of Publication: 2014
ISSN: 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), https://doi.org/10.2298/CSIS130610033M