By Wikipedia definition, Lazy loading is a design pattern commonly used in computer programming to defer initialization of an object until the point at which it is needed. We know that in hibernate lazy loading can be done by specifying “fetch= FetchType.LAZY” in hibernate mapping annotations. e.g. The point is that it is applied only […]
The post Hibernate 4 example to get entity reference for lazy loading appeared first on How To Do In Java.