Results 1 to 4 of 4

Thread: Diff b/w Eager loading and Lazy Loading

  1. #1
    Junior Member
    Join Date
    Oct 2008
    Answers
    3

    Diff b/w Eager loading and Lazy Loading

    Hi Can anyone tell what is the difference between eager loading and lazy loading?


  2. #2
    Contributing Member
    Join Date
    Dec 2007
    Answers
    46

    Re: Diff b/w Eager loading and Lazy Loading

    Quote Originally Posted by dshaktikumar View Post
    Hi Can anyone tell what is the difference between eager loading and lazy loading?
    Loading can mean many things in computer science. Are you refering to linkers/loaders OR something else?? A better phrased question, with some context, may get you an answer.


  3. #3
    Junior Member
    Join Date
    Oct 2008
    Answers
    3

    Re: Diff b/w Eager loading and Lazy Loading

    Hi All,
    I mean, Hibernate loads the data in 2 ways.
    One is Eager loading and lazy loading. Im asking for the difference between two .


  4. #4
    Contributing Member
    Join Date
    Sep 2006
    Answers
    42

    Re: Diff b/w Eager loading and Lazy Loading

    For hibernate,
    lazy loading means that any foreign key references that you have in you table will be loaded only when referred to by the application.
    Eager loading means everything will be loaded at once.

    Regards,
    Sahil.


  5.  Sponsored Ads
    Ad


     

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
About us
Applying for a job can be a stressful and frustrating experience, especially for someone who has never done it before. Considering that you are competing for the position with a at least a dozen other applicants, it is imperative that you thoroughly prepare for the job interview, in order to stand a good chance of getting hired. That's where GeekInterview can help.
Interact