Abstract
The object-relational impedance mismatch problem consists of two sub-issues: language impedance and data structure mismatch. Solution to the first issue is to abstract away the programming language from SQL; to the second issue is to abstract away the object-relational transformation from developer. This paper presents three standardized data access services, query, command and repository, collectively as a preferable solution to relational data access. These services are specified declaratively with SQL and JSON. The hard object-relational transformation is delegated to service engine. This paper also presents a reference implementation of the service engine for service execution. The complexity test proves that this reference service engine is capable of handling highly complex objects up to the 5x5 level on the complexity scale developed in this research.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
References
Fowler, M.: ORM Hate. https://www.martinfowler.com/bliki/OrmHate.html. Accessed 09 Nov 2023
Neward, T.: The Vietnam of computer science. https://www.semanticscholar.org/paper/The-Vietnam-of-Computer-Science-Neward/331e490c55ee72d6011bbceb323c03f0572a5235 (2006). Accessed 09 Nov 2023
DB-Engines DB-Engines Ranking, https://db-engines.com/en/ranking. November 2023, Accessed 09 Nov 2023
Bauer, C., King G.: Java Persistence with Hibernate. Manning Publications Co., 209 Bruce Park Ave. Greenwich, CT 06830 (2007)
Ireland, J.: Object-relational impedance mismatch: a framework based approach, PhD thesis The Open University (2011)
Oracle Data Access Object. https://www.oracle.com/java/technologies/data-access-object.html. Accessed 09 Nov 2023
GitHub Service Builder. https://github.com/bklogic/ServiceBuilder. Accessed 09 Nov 2023
GitHub data access service example. https://github.com/bklogic/data-access-service-example. Accessed 09 Nov 2023
GitHub Complexity Test. https://github.com/bklogic/complexity-test. Accessed 13 Nov 2023
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2024 The Author(s), under exclusive license to Springer Nature Switzerland AG
About this paper
Cite this paper
Wang, K. (2024). Solving the Relational Data Access Problem with Data Access Services. In: Rocha, Á., Adeli, H., Dzemyda, G., Moreira, F., Poniszewska-Marańda, A. (eds) Good Practices and New Perspectives in Information Systems and Technologies. WorldCIST 2024. Lecture Notes in Networks and Systems, vol 989. Springer, Cham. https://doi.org/10.1007/978-3-031-60227-6_18
Download citation
DOI: https://doi.org/10.1007/978-3-031-60227-6_18
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-031-60226-9
Online ISBN: 978-3-031-60227-6
eBook Packages: Intelligent Technologies and RoboticsIntelligent Technologies and Robotics (R0)