What is the difference between get and load method?
Answer / Rajesh Kumar Maurya
The main difference between get and load methods in Hibernate lies in their behavior towards the initial fetching of an entity. The get method fetches the data immediately, while the load method loads only the proxy object without actually querying the database.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is hibernate and how it works?
What is callback interface?
What are different types of second level cache?
Difference between load and get?
What is java hibernate?
Difference between save() and saveorupdate() method of hibernate?
What are the different types of extension interface that is present in hibernate?
What will happen if we don’t have no-args constructor in entity bean?
What is jpa and hibernate?
Why do we use jpa instead of hibernate?
Which are the elements of hibernate architecture?
What is ogm in hibernate?