DocumentCode :
1872473
Title :
Performance antipatterns of one to many association in hibernate
Author :
Wegrzynowicz, Patrycja
Author_Institution :
Inst. of Inf., Univ. of Warsaw, Warsaw, Poland
fYear :
2013
fDate :
8-11 Sept. 2013
Firstpage :
1475
Lastpage :
1481
Abstract :
Hibernate is the most popular ORM framework for Java. It is a straightforward and easy-to-use implementation of Java Persistence API. However, its simplicity of usage often becomes mischievous to developers and leads to serious performance issues in Hibernate-based applications. This paper presents five performance antipatterns related to the usage of one-to-many associations in Hibernate. These antipatterns focus on the problems of the owning side of collections, the Java types and annotations used in mappings, as well as processing of collections. Each antipattern consists of the description of a problem along with a sample code, negative performance consequences, and the recommended solution. Performance is analyzed in terms of the number and complexity of issued database statement. The code samples illustrate how the antipatterns decrease performance and how to implement the mappings to speed up the execution times.
Keywords :
Java; application program interfaces; database management systems; Hibernate-based applications; Java persistence API; ORM framework; annotations; database statement; execution times; mappings; negative performance consequences; one-to-many associations; performance antipatterns; sample code; Databases; Engines; Java; Object oriented modeling; Semantics; Unified modeling language; Vegetation;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Computer Science and Information Systems (FedCSIS), 2013 Federated Conference on
Conference_Location :
Krako??w
Type :
conf
Filename :
6644211
Link To Document :
بازگشت