Search Interview Questions | More than 3000 questions in repository. There are more than 900 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 'Geometric' - 1 question(s) found - Order By Newest | ||||
Frequently asked question in companies using hibernate. | ||||
| ||||
Ans. 1. First level cache is enabled by default whereas Second level cache needs to be enabled explicitly. 2. First level Cache came with Hibernate 1.0 whereas Second level cache came with Hibernate 3.0. 3. First level Cache is Session specific whereas Second level cache is shared by sessions that is why First level cache is considered local and second level cache is considered global. | ||||
Help us improve. Please let us know the company, where you were asked this question : | ||||
Like Discuss Correct / Improve  hibernate   orm   hibernate cache   architecture   technical lead   first level cache vs second level cache Asked in 18 Companies Intermediate   frequent | ||||
Related Questions | ||||
How to configure second level cache in Hibernate ? | ||||
What are some differences between Spring caching and Hibernate caching? | ||||
What is the use case for AWS Gateway cached , stored and VTL ? | ||||
What are the the methods to clear cache in Hibernate ? | ||||
What are different types of second level cache ? | ||||
Can we disable first level cache ? What should one do if we don't want an object to be cached ? | ||||
Have you ever faced any problem due to caching? | ||||
Can you please provide an implementation of application level cache ? | ||||
Implement an LRU Cache ? | ||||