Static Analysis of Dynamic Database Usage in Java Systems

  • Meurice L
  • Nagy C
  • Cleve A
N/ACitations
Citations of this article
2Readers
Mendeley users who have this article in their library.

This article is free to access.

Abstract

Understanding the links between application programs and their database is useful in various contexts such as migrating information systems towards a new database platform, evolving the database schema, or assessing the overall system quality. In the case of Java systems, identifying which portion of the source code accesses which portion of the database may prove challenging. Indeed, Java programs typically access their database in a dynamic way. The queries they send to the database server are built at runtime, through String concatenations, or Object-Relational Mapping frameworks like Hibernate and JPA. This paper presents a static analysis approach to program-database links recovery, specifically designed for Java systems. The approach allows developers to automatically identify the source code locations accessing given database tables and columns. It focuses on the combined analysis of JDBC, Hibernate and JPA invocations. We report on the use of our approach to analyse three real-life Java systems.

Cite

CITATION STYLE

APA

Meurice, L., Nagy, C., & Cleve, A. (2016). Static Analysis of Dynamic Database Usage in Java Systems (pp. 491–506). https://doi.org/10.1007/978-3-319-39696-5_30

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free