Search Java Interview Questions
| 2280 questions in repository.|
There are more than 200 unanswered questions.
Click here and help us by providing the answer.
Have a video suggestion.
Click Correct / Improve and please let us know.
|Interview Questions and Answers for 'Dex media' - 1 question(s) found - Order By Newest|
|Frequently asked question in companies using Hibernate.|
|Ans. It's a feature to lazily initialize dependencies , relationship and associations from the Database. Any related references marked as @OneToMany or @ManyToMany are loaded lazily i.e when they are accessed and not when the parent is loaded.|
Sample Code for Lazy Initialization
|Help us improve. Please let us know the company, where you were asked this question :|
|Like Discuss Correct / Improve hibernate lazy loading hibernate lazy initialization hibernate architecture overstock.com BridgePoint Technologies Medgate Dex Media Diversant Tieto Oracle Bank of America Merrill LYNCH NEC Japan HCL Technologies Basic   frequent|
Try 2 Question(s) Test
|What are the ways to avoid LazyInitializationException ?|
|After which Hibernate version , related Entities are initialized lazily ?|