Java Basic
- Which of the following is not an advantage of Hibernate Criteria API?
-
View Hint View Answer Discuss in Forum
NA
Correct Option: D
addOrder() can be used for ordering the results.
- In which file database table configuration is stored?
-
View Hint View Answer Discuss in Forum
NA
Correct Option: A
Database table configuration is stored in .hbm file.
- Which of the following is not an advantage of using Hibernate Query Language?
-
View Hint View Answer Discuss in Forum
NA
Correct Option: A
HQL is easy to implement. Also, to implement it HQL it is not dependent on a database platform.
- Which of the following is not an inheritance mapping strategies?
-
View Hint View Answer Discuss in Forum
NA
Correct Option: B
Table per class is not an inheritance mapping strategies.
- Which of the following is not a state of object in Hibernate?
-
View Hint View Answer Discuss in Forum
NA
Correct Option: C
Attached() is not a state of object in Hibernate. Detached(), Persistent() and Transient() are the only states in Hibernate.