🧪 Hibernate MCQ Quiz Hub

Hibernate - Java (MCQ) questions and answers

Choose a topic to test your knowledge and improve your Hibernate skills

1. Which ways are used by the Log4j and Logback frameworks in hibernate framework to support logging?




2. What does the Session object hold?




3. In the elements of Hibernate architecture is a factory of session and client of ConnectionProvider It holds the second level cache (optional) of data is _____.




4. In case of Table per Concrete class there will be three tables in the database having no relations to each other. Which are the ways to map the table?




5. Abbreviate the term HQL?




6. Which method is easy for a java programmer to add a criteria?




7. Hibernate is an?




8. Which of these simplifies an Object Relational Mapping tool?




9. How many layers are available in Hibernate architecture?




10. Which session bean does the conversational state between multiple method calls is not maintained by the container?




11. Which type of instances retain no data or conversational state for a specific client?




12. Which middleware services are provided by EJB?




13. How many types of session beans are available in EJB?




14. Which server-side component is required to be deployed on the server?




15. Which ways are used by the Log4j and Logback frameworks in hibernate framework to support logging?




16. What does the Session object hold?




17. In the elements of Hibernate architecture is a factory of session and client of ConnectionProvider It holds the second level cache (optional) of data is _____.




18. In case of Table per Concrete class there will be three tables in the database having no relations to each other. Which are the ways to map the table?




19. Abbreviate the term HQL?




20. Which method is easy for a java programmer to add a criteria?




21. Hibernate is an?




22. Which of these simplifies an Object Relational Mapping tool?




23. How many layers are available in Hibernate architecture?




24. Which session bean does the conversational state between multiple method calls is not maintained by the container?




25. Which type of instances retain no data or conversational state for a specific client?




26. Which middleware services are provided by EJB?




27. How many types of session beans are available in EJB?




28. Which server-side component is required to be deployed on the server?