首页> 外文会议>Federated Conference on Computer Science and Information Systems >Performance antipatterns of one to many association in hibernate
【24h】

Performance antipatterns of one to many association in hibernate

机译:休眠中的一个到许多关联的性能反典

获取原文

摘要

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.
机译:Hibernate是Java最受欢迎的ORM框架。它是Java Persistence API的简单且易于使用的实现。然而,它的简单性通常会对开发人员恶作剧,并导致基于Hibernate的申请中的严重性能问题。本文呈现了与休眠中的一对多关联的使用相关的五个性能反图案。这些反派人员侧重于收藏品的拥有问题,映射中使用的Java类型和注释,以及收集的处理。每个反attern包括对问题的描述以及示例代码,负性能后果和推荐的解决方案。在发布的数据库声明的数量和复杂性方面分析了性能。代码示例说明了反图特子如何降低性能以及如何实现映射以加速执行时间。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号