Search Interview Questions
| 3304 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.
|Hibernate - Interview Questions and Answers for 'Dell' - 1 question(s) found - Order By Newest|
|Very frequently asked if being interviewed for hibernate. Frequently asked in Tata Consultancy (TCS) and Overstock.com|
|Ans. If id doesnt exist in the DB load throws an exception whereas get returns null in that case.get makes the call to DB immediately whereas load makes the call to proxy.|
|Help us improve. Please let us know the company, where you were asked this question :|
|Like Discuss Correct / Improve  hibernate Asked in 16 Companies basic   frequent|
|What is Lazy Initialization in Hibernate ?|
|What are the ways to avoid LazyInitializationException ?|
|Difference between first level and second level cache in hibernate ?|
|How to configure second level cache in Hibernate ?|
|What are the contents of Hibernate configuration file ( hibernate.cfg.xml ) ?|
|Which annotations are used in Hibernate ?|
|What things you would care about to improve the performance of Application if its identified that its DB communication that needs to be improved ?|
|What are the advantages of Hibernate ?|
|What is the purpose of dialect configured in Hibernate configuration file ?|
| Please specify in what sequence the objects of following classes will be created ?|
Session , SessionFactory, Query , Configuration