gs gs128 Java Autoboxing - Hibernate - Quiz No.1
gs gs128 Java Quiz
This quiz belongs to book/course code gs gs128 Java of gs organization. We have 136 quizzes available related to the book/course Java. This quiz has a total of 10 multiple choice questions (MCQs) to prepare and belongs to topic Java Autoboxing. NVAEducation wants its users to help them learn in an easy way. For that purpose, you are free to prepare online MCQs and quizzes.
NVAEducation also facilitates users to contribute in online competitions with other students to make a challenging situation to learn in a creative way. You can create one to one, and group competition on an topic of a book/course code. Also on NVAEducation you can get certifications by passing the online quiz test.
Question 1: Which of the following is not a core interface of Hibernate?
Configuration
Criteria
SessionManagement
Session
Question 3: Which of the following methods returns proxy object?
loadDatabase()
getDatabase()
load()
get()
Question 4: Which of the following methods hits database always?
load()
loadDatabase()
getDatabase()
get()
Question 5: Which of the following method is used inside session only?
merge()
update()
end()
kill()
Question 6: Which of the following is not a state of object in Hibernate?
Attached()
Detached()
Persistent()
Transient()
Question 7: Which of the following is not an inheritance mapping strategies?
Table per hierarchy
Table per concrete class
Table per subclass
Table per class
Question 8: Which of the following is not an advantage of using Hibernate Query Language?
Database independent
Easy to write query
No need to learn SQL
Difficult to implement
Question 9: In which file database table configuration is stored?
.dbm
.hbm
.ora
.sql
Question 10: Which of the following is not an advantage of Hibernate Criteria API?
Allows to use aggregate functions
Cannot order the result set
Allows to fetch only selected columns of result
Can add conditions while fetching results