Hibernate Quiz 4, Hibernate Online Test Series 4, 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 Quiz 4, Hibernate Online Test Series 4, Hibernate Mock Test. Hibernate Online Quiz 4 Question and Answers 4018. Java online Test Quiz 4. Java OOPs Quiz 4 Free Mock Test 2019. Hibernate Online Test Series 4, Hibernate Quiz 4, Hibernate Mock Test Series 4th. Hibernate Tutorial with Example Projects to Download, Hibernate Tutorials for Beginners and Advanced users. Hibernate Spring, Struts3, Spring MVC projects. 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 201. QuestionWhat JDBC stands for? Correct
 JDBC stands for Java Database Connectivity and provides a set of Java API for accessing the relational databases from Java program. Incorrect
 JDBC stands for Java Database Connectivity and provides a set of Java API for accessing the relational databases from Java program. 
- 
                            Question 2 of 202. QuestionWhich of the following is true about SessionFactory object in hibernate? Correct
 The SessionFactory is heavyweight object so usually it is created during application start up and kept for later use. You would need one SessionFactory object per database using a separate configuration file. So if you are using multiple databases then you would have to create multiple SessionFactory objects. Incorrect
 The SessionFactory is heavyweight object so usually it is created during application start up and kept for later use. You would need one SessionFactory object per database using a separate configuration file. So if you are using multiple databases then you would have to create multiple SessionFactory objects. 
- 
                            Question 3 of 203. QuestionWhich method is used to remove a persistent instance from the datastore? Correct
 Session.delete() removes a persistent instance from the datastore. Incorrect
 Session.delete() removes a persistent instance from the datastore. 
- 
                            Question 4 of 204. QuestionWhich element of hbm.xml defines maps the unique ID attribute in class to the primary key of the database table? Correct
 The element maps the unique ID attribute in class to the primary key of the database table. Incorrect
 The element maps the unique ID attribute in class to the primary key of the database table. 
- 
                            Question 5 of 205. QuestionWhich of the following element maps java.util.Collection property in hibernate? Correct
 java.util.Collection property is mapped with a or element and initialized with java.util.ArrayList. Incorrect
 java.util.Collection property is mapped with a or element and initialized with java.util.ArrayList. 
- 
                            Question 6 of 206. QuestionWhich of the following situation represents many-to-many relationship? Correct
 An employee can have multiple certificates and same certificate can be conferred to many employees. Such situation represents many-to-many association. Incorrect
 An employee can have multiple certificates and same certificate can be conferred to many employees. Such situation represents many-to-many association. 
- 
                            Question 7 of 207. QuestionWhis of the following is true about first level cache in hibernate? Correct
 The first-level cache is the Session cache and is a mandatory cache through which all requests must pass. The Session object keeps an object under its own power before committing it to the database. Incorrect
 The first-level cache is the Session cache and is a mandatory cache through which all requests must pass. The Session object keeps an object under its own power before committing it to the database. 
- 
                            Question 8 of 208. QuestionWhen a Nonstrict-read-write concurrency strategy is to be used? Correct
 Nonstrict-read-write strategy makes no guarantee of consistency between the cache and the database. Use this strategy if data hardly ever changes and a small likelihood of stale data is not of critical concern. Incorrect
 Nonstrict-read-write strategy makes no guarantee of consistency between the cache and the database. Use this strategy if data hardly ever changes and a small likelihood of stale data is not of critical concern. 
- 
                            Question 9 of 209. QuestionPersistent 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 2010. QuestionWhich of the following is true about HQL? Correct
 Incorrect
 
- 
                            Question 11 of 2011. QuestionCan embeddable class be used as primary key? Correct
 Incorrect
 
- 
                            Question 12 of 2012. QuestionIf a single table hosts all the instances of a class hierarchy, then it is known as Correct
 Incorrect
 
- 
                            Question 13 of 2013. QuestionHow to inherit properties from superclasses in hibernate? Correct
 Incorrect
 
- 
                            Question 14 of 2014. QuestionHow to override attributes from embeddable class in hibernate? Correct
 Incorrect
 
- 
                            Question 15 of 2015. QuestionIf entity is not annotated with @Table, what will happen? Correct
 Incorrect
 
- 
                            Question 16 of 2016. QuestionWhen several entities points to the target entity, that is achieved by Correct
 Incorrect
 
- 
                            Question 17 of 2017. QuestionTo persist collections of embeddable type, hibernates uses Correct
 Incorrect
 
- 
                            Question 18 of 2018. QuestionIn hibernate @OrderBy makes a list as Correct
 Incorrect
 
- 
                            Question 19 of 2019. QuestionTo map an enum in hibernate, we use Correct
 Incorrect
 
- 
                            Question 20 of 2020. QuestionTo map a date in hibernate, we use Correct
 Incorrect
 
