๐Ÿงช Hibernate MCQ Quiz Hub

Hibernate - Java (MCQ) questions and answers

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

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





โœ… Correct Answer: 3

What does the Session object hold?





โœ… Correct Answer: 1

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





โœ… Correct Answer: 2

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?





โœ… Correct Answer: 3

Abbreviate the term HQL?





โœ… Correct Answer: 2

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





โœ… Correct Answer: 1

Hibernate is an?





โœ… Correct Answer: 4

Which of these simplifies an Object Relational Mapping tool?





โœ… Correct Answer: 4

How many layers are available in Hibernate architecture?





โœ… Correct Answer: 1

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





โœ… Correct Answer: 2

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





โœ… Correct Answer: 1

Which middleware services are provided by EJB?





โœ… Correct Answer: 3

How many types of session beans are available in EJB?





โœ… Correct Answer: 2

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





โœ… Correct Answer: 1

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





โœ… Correct Answer: 3

What does the Session object hold?





โœ… Correct Answer: 1

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





โœ… Correct Answer: 2

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?





โœ… Correct Answer: 3

Abbreviate the term HQL?





โœ… Correct Answer: 2

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





โœ… Correct Answer: 1

Hibernate is an?





โœ… Correct Answer: 4

Which of these simplifies an Object Relational Mapping tool?





โœ… Correct Answer: 4

How many layers are available in Hibernate architecture?





โœ… Correct Answer: 1

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





โœ… Correct Answer: 2

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





โœ… Correct Answer: 1

Which middleware services are provided by EJB?





โœ… Correct Answer: 3

How many types of session beans are available in EJB?





โœ… Correct Answer: 2

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





โœ… Correct Answer: 1