Hibernate Online Test Series 2, Hibernate Quiz 2, Hibernate Mock Test
Finish Quiz
0 of 20 questions completed
Questions:
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
Information
Hibernate Online Test Series 2, Hibernate Quiz 2, Hibernate Mock Test. Hibernate Online Quiz 2 Question and Answers 2019. Java online Test Quiz 2. Java OOPs Quiz 2 Free Mock Test 2019. Hibernate Online Test Series 2, Hibernate Quiz 2, Hibernate Mock Test Series 2nd. Hibernate Tutorial with Example Projects to Download, Hibernate Tutorials for Beginners and Advanced users. Hibernate Spring, Struts2, Spring MVC projects.Test your Hibernate skills online by solving quiz. Here is a lot of quiz related to Hibernate framework. Solving quiz is very beneficial for interview preparation. Attend Hibernate online aptitude test here to prepare your first round job interview written test in companies and to prepare you for entrance examination and competitive examination and campus interviews.
This paper has 20 questions.
Time allowed is 25 minutes.
The Java OOPs Mock Test is Very helpful for all students. Now Scroll down below n click on “Start Quiz” or “Start Test” and Test yourself.
You have already completed the quiz before. Hence you can not start it again.
Quiz is loading...
You must sign in or sign up to start the quiz.
You have to finish following quiz, to start this quiz:
Results
0 of 20 questions answered correctly
Your time:
Time has elapsed
You have reached 0 of 0 points, (0)
Average score |
|
Your score |
|
Categories
- Not categorized 0%
Pos. | Name | Entered on | Points | Result |
---|---|---|---|---|
Table is loading | ||||
No data available | ||||
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- Answered
- Review
-
Question 1 of 20
1. Question
Which of the following is not a core component of Hibernate?
Correct
JDBC is not a core component of Hibernate.
Incorrect
JDBC is not a core component of Hibernate.
-
Question 2 of 20
2. Question
Which of the following is true about SessionFactory object in hibernate?
Correct
SessionFactory object configures Hibernate for the application using the supplied configuration file and allows for a Session object to be instantiated. The SessionFactory is a thread safe object and used by all the threads of an application.
Incorrect
SessionFactory object configures Hibernate for the application using the supplied configuration file and allows for a Session object to be instantiated. The SessionFactory is a thread safe object and used by all the threads of an application.
-
Question 3 of 20
3. Question
Which of the following is true about transient state of a persistent entity?
Correct
A new instance of a a persistent class which is not associated with a Session and has no representation in the database and no identifier value is considered transient by Hibernate.
Incorrect
A new instance of a a persistent class which is not associated with a Session and has no representation in the database and no identifier value is considered transient by Hibernate.
-
Question 4 of 20
4. Question
Which method is used to get a persistent instance from the datastore?
Correct
Session.get returns the persistent instance of the given named entity with the given identifier, or null if there is no such persistent instance.
Incorrect
Session.get returns the persistent instance of the given named entity with the given identifier, or null if there is no such persistent instance.
-
Question 5 of 20
5. Question
Which of the following is true about element?
Correct
The element within the id element is used to automatically generate the primary key values. Set the class attribute of the generator element is set to native to let hibernate pick up either identity, sequence or hilo algorithm to create primary key depending upon the capabilities of the underlying database.
Incorrect
The element within the id element is used to automatically generate the primary key values. Set the class attribute of the generator element is set to native to let hibernate pick up either identity, sequence or hilo algorithm to create primary key depending upon the capabilities of the underlying database.
-
Question 6 of 20
6. Question
Which of the following element is used to represent one-to-one relationship in hibernate?
Correct
element is used to define one-to-one association.
Incorrect
element is used to define one-to-one association.
-
Question 7 of 20
7. Question
Is query level caching mandatory in hibernate?
Correct
query level cache is an optional cache.
Incorrect
query level cache is an optional cache.
-
Question 8 of 20
8. Question
Which of the following is true with respect to ORM vs JDBC?
Correct
All of the above are true with respect to ORM vs JDBC.
Incorrect
All of the above are true with respect to ORM vs JDBC.
-
Question 9 of 20
9. Question
Persistent objects are saved and retrieved through a Session object.
Correct
Persistent objects are saved and retrieved through a Session object.
Incorrect
Persistent objects are saved and retrieved through a Session object.
-
Question 10 of 20
10. Question
Which of the following is true about HQL?
Correct
Hibernate supports named parameters in its HQL queries. HQL supports a range of aggregate methods, similar to SQL.
Incorrect
Hibernate supports named parameters in its HQL queries. HQL supports a range of aggregate methods, similar to SQL.
-
Question 11 of 20
11. Question
What is ORM?
Correct
Incorrect
-
Question 12 of 20
12. Question
Which of the following is NOT a fetching strategy
Correct
Incorrect
-
Question 13 of 20
13. Question
Does Hibernate support polymorphism?
Correct
Incorrect
-
Question 14 of 20
14. Question
Which facility provides tools for development of distributed, web based solutions.
Correct
Incorrect
-
Question 15 of 20
15. Question
The QBC stands for
Correct
Incorrect
-
Question 16 of 20
16. Question
Which of the following is NOT a mapping association used in Hibernate?
Correct
Incorrect
-
Question 17 of 20
17. Question
Select the inheritance model which is NOT avilable in Hibernate.
Correct
Incorrect
-
Question 18 of 20
18. Question
Should all the mapping files of Hibernate have .hbm.xml extension to work properly?
Correct
Incorrect
-
Question 19 of 20
19. Question
The POJOs stands for
Correct
Incorrect
-
Question 20 of 20
20. Question
Select the extension of the SQL.
Correct
Incorrect