Lazy initialization in hibernate.

Ads

 
 

Share on Google+Share on Google+

samar
Lazy initialization in hibernate.
1 Answer(s)      6 years and 6 months ago
Posted in : Hibernate Interview Questions

What is lazy initialization in hibernate?

Ads
View Answers

March 7, 2011 at 5:45 PM


Hi Samar,

Lazy loading in Hibernate means fetching and loading the data, only when it is needed, from a persistent storage like a database. Lazy loading improves the performance of data fetching and significantly reduces the memory footprint.

Thanks.


Ads









Related Tutorials/Questions & Answers:
Lazy initialization in hibernate.
Lazy initialization in hibernate.  What is lazy initialization in hibernate
Hibernate Lazy Initialization
Hibernate Lazy Initialization  What is lazy initialization in hibernate?   In Lazy Loading, Hibernate engine loads only those objects... make lazy=true or lazy=false. Lazy initialization comes into play only when u
Advertisements
Hibernate lazy
In this section, you will learn about lazy loading in Hibernate
Spring Lazy Initialization, Spring Lazy Loading example
Spring Lazy Initialization In general all bean are initialized at startup. To stop such unnecessary initialization we use lazy initialization which create the bean instance when it if first requested The lazy-init attribute
What is lazy fetching in hibernate
What is lazy fetching in hibernate  Hi, What is lazy fetching in hibernate Thanks
Hibernare Lazy - Hibernate
Hibernare Lazy  What is a lazy loading in hibernate?i want one example of source code?plz reply
Hibernate Criteria Lazy Loading
hibernate criteria lazy loading To perform a Lazy Loading in Hibernate Criteria do the following Criteria criteria = session.createCriteria(Contact.class...", 1)); An example Lazy Loading is given below, Please consider the example
Lazy loading
. In Hibernate, u can make lazy=true or lazy=false. Lazy initialization comes into play... it does   Hi Friend, In Lazy Loading, Hibernate engine loads only those.... An attribute 'lazy' can be used to let Hibernate know if the associated entity
servlet initialization
servlet initialization  define servlet initialization
Pre-initialization of Servlet
Pre-initialization of Servlet   What is meant by Pre-initialization of Servlet?   When servlet container is loaded, all the servlets...-initialization of Servlet. In case of Pre-initialization, the servlet is loaded
hibernate - Hibernate
hibernate    what is the lazy Loading in hibernate? can you give the example table ?  Lazy Loading in Hibernate In Hibernate, Lazy... in the program's operation. The syntax of lazy loading in Hibernate... public Entity
Array Initialization in obj C
Array Initialization in obj C  how can we initialize array in objective with some object ??? and give me also way to print the Array!!!   hello, you can initialize the array by this code // in your .h @interface
Version of com.thejohnfreeman>lazy dependency
List of Version of com.thejohnfreeman>lazy dependency
Hibernate - Hibernate
Hibernate  What is a lazy loading in hibernate?i want one example of source code?plz reply
Version of com.madgag>lazy-drawables dependency
List of Version of com.madgag>lazy-drawables dependency
Version of com.madgag>lazy-drawables dependency
List of Version of com.madgag>lazy-drawables dependency
Version of com.shamanland>lazy-files dependency
List of Version of com.shamanland>lazy-files dependency
hibernate
hibernate  1.difference between lazy=true and lazy=false? 2.difference between merge() and update()? 3.what is detached object
Maven Dependency lazy >> 0.1.0
You should include the dependency code given in this page to add Maven Dependency of com.thejohnfreeman >> lazy version0.1.0 in your project
Maven Dependency lazy >> 0.2.0
You should include the dependency code given in this page to add Maven Dependency of com.thejohnfreeman >> lazy version0.2.0 in your project
Maven Dependency lazy >> 0.4.0
You should include the dependency code given in this page to add Maven Dependency of com.thejohnfreeman >> lazy version0.4.0 in your project
Maven Dependency lazy >> 0.5.0
You should include the dependency code given in this page to add Maven Dependency of com.thejohnfreeman >> lazy version0.5.0 in your project
Maven Dependency lazy >> 0.3.0
You should include the dependency code given in this page to add Maven Dependency of com.thejohnfreeman >> lazy version0.3.0 in your project
Maven Dependency lazy >> 0.6.0
You should include the dependency code given in this page to add Maven Dependency of com.thejohnfreeman >> lazy version0.6.0 in your project
Version of com.madgag>lazy-drawables-samples dependency
List of Version of com.madgag>lazy-drawables-samples dependency
Version of com.madgag>lazy-drawables-tests dependency
List of Version of com.madgag>lazy-drawables-tests dependency
Version of com.madgag>lazy-drawables-samples dependency
List of Version of com.madgag>lazy-drawables-samples dependency
Version of com.madgag>lazy-drawables-tests dependency
List of Version of com.madgag>lazy-drawables-tests dependency
Servlet container initialization through code
In this section, you will learn about Servlet container initialization through code in Spring MVC
Need for hibernate - Hibernate
Lazy collection initialization. For read hibernate Tutorial and examples...Need for hibernate  Can anyone say why should we go for hibernate?   Hi friend, Advantages of hibernate : It is based on object