|
|
|
Hibernate Interview Questions
1. What are the Collection types in Hibernate?
2. What is the differnece between load() and get() methods? When we use both of them?
load()
- Use load() method when you are sure the object exists.
- It throw an exception if the unique id is not found in the database.
get()
- Use get() method when you are not sure that the object exists.
- It returns null if the unique id is not found in the database.
- get() will hit the database immediately.
For more questions, Please download this.
If you need any urgent assistance on hibernate-interview-questions-with-answers, kindly email your requirement to us at : info@javagenious.com or Contact-an-Expert. Our experts will try their best to solve your problem.
You can also subscribe to our newsletters on hibernate-interview-questions-with-answers, to receive updates on hibernate-interview-questions-with-answers,via email.Enter you email below:
Keyword Tags: hibernate-interview-questions-with-answers tutorial,hibernate-interview-questions-with-answers in java,Concepts of hibernate-interview-questions-with-answers,Java,J2EE,Interview Questions,hibernate-interview-questions-with-answers Examples
|
|
|