Porovnání použitelnosti Java O/R frameworku
Porovnání použitelnosti Java O/R frameworku
diploma thesis (DEFENDED)
![Document thumbnail](/bitstream/handle/20.500.11956/17233/thumbnail.png?sequence=7&isAllowed=y)
View/ Open
Permanent link
http://hdl.handle.net/20.500.11956/17233Identifiers
Study Information System: 46154
Collections
- Kvalifikační práce [11264]
Author
Advisor
Referee
Skopal, Tomáš
Faculty / Institute
Faculty of Mathematics and Physics
Discipline
Software Systems
Department
Department of Software Engineering
Date of defense
24. 9. 2008
Publisher
Univerzita Karlova, Matematicko-fyzikální fakultaLanguage
English
Grade
Very good
Tato diplomová práce analyzuje použitelnost jednoho z nejpopulárnějších nástrojů pro objektově-relační mapování (Hibernate). Zkoumá, jakým způsobem ovlivňuje použití tohoto nástroje architekturu a výkon aplikace a ukazuje, jak lze Hibernate využít k implementaci některých typických požadavků kladených na "enterprise" systémy (například zaznamenávání historie změn). Závěry jsou demonstrováný na strukturálně složitém doménovém modelu, který byl vytvořen pro účely této práce, ale zároveň je součástí reálné aplikace. Teoretická část se zabývá dotazovacím jazykem HQL a jeho vyjadřovací silou. Obsahuje formální důkaz o převoditelnosti speciální podmnožiny relační algebry (relační algebra bez sjednocení, průniku a rozdílu) na HQL.
The aim of this thesis is to analyze the usability of one of the most popular O/R mapping frameworks (Hibernate). It examines, whether Hibernate somehow influences an architecture or a performance of the system, which uses Hibernate for data persistence. This thesis also shows, how Hibernate can be used to implement some typical requirements for the enterprise systems (for example audit logging). Findings are demonstrated on the complex domain model, which was created for the purpose of this thesis, but it is also a part of a real-world application. Theoretical part of this thesis examines the power of HQL. It contains the formal proof of translatability of a subset of relational algebra (relational algebra without union, intersection and difference) into HQL.