Java Basic


  1. Which of the following is not an advantage of Hibernate Criteria API?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: D

    addOrder() can be used for ordering the results.


  1. In which file database table configuration is stored?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: A

    Database table configuration is stored in .hbm file.



  1. Which of the following is not an advantage of using Hibernate Query Language?











  1. 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.


  1. Which of the following is not an inheritance mapping strategies?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: B

    Table per class is not an inheritance mapping strategies.



  1. Which of the following is not a state of object in Hibernate?











  1. 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.