Back to Search Start Over

A survey of problematic database code fragments in software systems

Authors :
Bader Alshemaimri
Mousa Almotairi
Ramez Elmasri
Tariq Alsahfi
Source :
Engineering Reports, Vol 3, Iss 10, Pp n/a-n/a (2021)
Publication Year :
2021
Publisher :
Wiley, 2021.

Abstract

Database code fragments exist in software systems by using Structured Query Language (SQL) as the standard language for relational databases. Traditionally, developers bind databases as backends to software systems for supporting user applications. However, these bindings are low‐level code and implemented to persist user data, so Object Relational Mapping (ORM) frameworks take place to abstract database access details. Both approaches are prone to problematic database code fragments that negatively impact the quality of software systems. We survey problematic database code fragments in the literature and examine antipatterns that occur in low‐level database access code using SQL and high‐level counterparts ORM frameworks. We also study problematic database code fragments in different and popular software architectures such as Service‐Oriented Architecture, Microservice Architecture, and Model View Controller. We create a novel categorization of both SQL schema and query antipatterns in terms of performance, maintainability, portability, and data integrity.

Details

ISSN :
25778196
Volume :
3
Database :
OpenAIRE
Journal :
Engineering Reports
Accession number :
edsair.doi.dedup.....fe4ec2521dd6587b62a02fcb35d9f2a1
Full Text :
https://doi.org/10.1002/eng2.12441