Bakalářská práce

Comparison of Java ORM Frameworks

Lukáš Wild
Anotace

Java ORM frameworky zavádějí mechanismy, jako je správa kontextu perzistence, ukládání do mezipaměti a dávkové zpracování, které mohou ovlivnit výkon aplikací v OLTP systémech. Tato práce porovnává Hibernate, EclipseLink, DataNucleus a SQL mapper MyBatis v rámci kontrolovaného, škálovatelného OLTP benchmarku s nevyváženými přístupovými vzory a souběžným prováděním. Hibernate a EclipseLink konzistentně …více

Abstract

Java ORM frameworks introduce runtime mechanisms, such as persistence context management, caching, and batching, that may affect application performance in OLTP systems. This thesis compares Hibernate, EclipseLink, DataNucleus, and the SQL mapper MyBatis under a controlled, scalable OLTP benchmark with skewed access patterns and concurrent execution. Hibernate and EclipseLink consistently lead across …více

Zadání práce

The aim of this thesis is to analyze and experimentally compare selected Java frameworks for working with relational databases (Hibernate, EclipseLink, DataNucleus, and MyBatis) with respect to data access efficiency and scalability for larger volumes of data (ranging from thousands to millions of records).

The thesis focuses on comparing ORM frameworks that implement the Jakarta Persistence specification (Hibernate, EclipseLink, DataNucleus) with the SQL mapper MyBatis. The evaluation will primarily consider performance in terms of throughput and response time when executing database operations on entities of varying complexity and with different types of relationships between entities (e.g., foreign keys, inheritance).

As part of the thesis, the selected frameworks will be briefly introduced, a methodology for measuring their performance and scalability will be designed, and experiments will be conducted on datasets of different sizes. Measurements will be performed both on a defined transaction mix inspired by OLTP workloads and on the level of individual transactions. Based on the obtained results, the strengths and weaknesses of the individual frameworks will be evaluated, and recommendations for their use will be formulated with respect to different workload characteristics and application requirements.

The results, including any associated code, will be publicly available in the IS under the MIT License.

Práce zkontrolována:
22. 5. 2026 12:15, RNDr. Michal Batko, Ph.D., učo 2907
Jazyk práce
angličtina angličtina
Termín obhajoby
22. 6. 2026
Práce byla úspěšně obhájena

Vedoucí

RNDr. Michal Batko, Ph.D., učo 2907
KSUZD FI MU

Oponent

doc. RNDr. Vlastislav Dohnal, Ph.D., učo 2952
KSUZD FI MU

Literatura

  • FOWLER, Martin. Patterns of enterprise application architecture. Boston: Addison-Wesley, 2003, xxiv, 533. ISBN 0321127420.

Masarykova univerzita Fakulta informatiky
Plán
Programování a vývoj aplikací
  • Přidání souboru

    Soubor nebo složku lze nahrát pomocí tlačítka Přidat.
  • Další operace se soubory

    Podrobnosti lze zjistit označením příslušného řádku.
  • Pohled pro experty

    Pro častou práci je možné zvolit režim Více možností.
  • Vyhledávání souborů

    Vyhledávaný výraz můžete zadat přímo do adresního řádku.
  • Rychlý přístup k souborům

    Pomocí funkce Nedávné je možné se rychle vrátit k právě prohlíženým souborům. Oblíbené soubory je také možné označit Hvězdičkou.