What is Lazy Loading in Hibernate, How does it acts.

Tutorials Shared by the Internet Community


  Top Tutorials     New Tutorials     Submit     Login     Register  

What is Lazy Loading in Hibernate, How does it acts.

In Hibernate two types of loading of data from the database. One is Eager loading and another one is Lazy loading.
  • Total Hits: 13961

  • Average Rating :
    URL RatingURL RatingURL RatingURL RatingURL Rating


  • Total Votes: 49 votes

  • Category: JAVA/Hibernate

  • Submitted on: 2014-07-09 06:56:18

  • Submitted By: Muralidhar

  • Set as Favorite


Using get() and load() methods we can retrieve the data from databases. The get() method follows eager loading and load() method follows lazy loading.    More detail...

Rating Detail

 Stars  Percentage  Total Vote
 One star  Vote LeftVote MiddleVote Right 61.22%  30
 Two starsTwo star  Vote LeftVote MiddleVote Right 10.2%  5
 Three starsThree starsThree stars  Vote LeftVote MiddleVote Right 4.08%  2
 Four starsFour starsFour starsFour stars  Vote LeftVote MiddleVote Right 2.04%  1
 Five starsFive starsFive starsFive starsFive stars  Vote LeftVote MiddleVote Right 22.45%  11

Caste Your Vote

 Rating  Selection  Guidelines
 Poor:     Very disappointing, useless.
 Fair:     Below average, disappointing but not useless.
 Good:     About average in its class.
 Very Good:     Above average for its category.
 Excellent:     One of the best Tutorials in its category.