
Hibernate Java
Authored by Prof. ArulkumarV
Computers
University
Used 291+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
8 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
1. Which of the following is not a core interface of Hibernate?
a) Configuration
b) Criteria
c) SessionManagement
d) Session
2.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
2. Which of the following methods hits database always?
a) load()
b) loadDatabase()
c) getDatabase()
d) get()
3.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
3. Which of the following is not an advantage of Hibernate Criteria API?
a) Allows to use aggregate functions
b) Cannot order the result set
c) Allows to fetch only selected columns of result
d) Can add conditions while fetching results
4.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
4.Which ways are used by the Log4j and Logback frameworks in hibernate framework to support logging?
a. By log4j.xml file
b. By log4j.properties
c. Both A & B
d. None of the above
5.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
5.We need to specify @Inheritance(strategy=InheritanceType.JOINED) in the parent class and @PrimaryKeyJoinColumn annotation in the subclasses.
a. True
b. False
6.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
6.Abbreviate the term HQL?
a. Hibernate Queue Language
b. Hibernate Query Language
c. Hipher Query Language
d. None of the above
7.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
7.Which of the following is NOT a mapping association used in Hibernate?
A. Many-to-Many Association
B. One-to-Many Associationcorrect
C. One-to-One Association
D. None
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?