the design principles and code analysis of hibernate lazy loading
来源:互联网 发布:如何打开电脑端口 编辑:程序博客网 时间:2024/06/06 04:24
as we all know,Hibernate is already one of the most popular ORM frameworks. and its performance is key highlight .when we use ORM framework,there will be a lot of convertions between objects and database tables.if it can be handled well,it will make this framework extremely cumbersome. hibernate provides many fabulous functionalities .or example lazy loading. an domain object associates collections or another domain object, when initialition ,domain object will default not load collections and object entity. only when on demands.so it can impove performance.
what are the design principles of lazy loading?
well,proxy pattern is the core principle. for colletion mapping,like set,map ,list etc ,in hibernate codes,there are PersistentSet,PersistentMap,PersistentList classes to implement these interfaces.for associated collection,Hiberate will using CLGIB,JAVAASSIST create an proxy object to represent collection,it actually not load during the creation of the object,only needs it load them.
- the design principles and code analysis of hibernate lazy loading
- The principles of program design
- The Principles of Adaptive Design
- System Analysis, Design, and Development: Concepts, Principles, and Practices
- Introduction to The Design and Analysis of Algorithms (1)
- Introduction to The Design and Analysis of Algorithms (2)
- The Principles of Beautiful Web Design [ILLUSTRATED]
- The 13 Basic Principles of Gameplay Design
- The basic principles of design pattern
- Bob Tarr: Some Object-Oriented Design Principles(1): Minimize The Accessibility of Classes and Members
- The Design of Sites: Patterns, Principles, and Processes for Crafting a Customer-Centered Web Experi
- The Design of Sites: Patterns, Principles, and Processes for Crafting a Customer-Centered Web Experi
- Principles of Software Design
- Design and Analysis of Distributed Algorithms
- Principles of Service Design: Service Patterns and Anti-Patterns
- An introduction to the SOLID principles of OO design
- The design and analysis of high frequency phased array coils for MRI
- Design and Model Analysis of the E-Commerce Development Platform for 3-Tiered Web Applications
- 浅析C# 中object sender与EventArgs e
- Oracle Merge Into 的用法详解实例
- miii
- A+B for Input-Output Practice (I)
- php时间戳转正常时间
- the design principles and code analysis of hibernate lazy loading
- SQL中IN和EXISTS用法的区别
- I2C总线深入浅出
- 用户、用户组、角色的区别和联系 笔记
- 第一个mongoDB例子
- eclipse启动时报-Failed to create the Java Virtual Machine 解决方案
- D19597564581 猛.男.必.看
- 写今目标自动签退的记录
- 详解大端模式和小端模式