1.

In Hibernate, which of these is true for the following query:


 
 
Select count(*) as X from Table_Name Group by (<prop_name>)
2.
In Hibernate, which of the following creates a new instance of the query for the given HQL query string?
3.
In Hiberate, is the following code correct:

<class name="com.bean.AskQReply" table="table">
4.
In Hibernate, which of the following is used to configure the driver class of a database?
5.
In Hibernate, which of the following is used to specify the number of rows to be fetched in a select query?
6.
In Hibernate, which of these helps in enabling the auto-commit feature in reference to JDBC pooled connections?
7.
It is mandatory to use hibernate.cfg.xml to configure Hibernate.
8.
Which of the following statements is an attribute of persistent objects and collections in Hibernate?
9.
Which of these is recommended while creating a SessionFactory in Hibernate?
10.
When @Id is annotated with the getter() method in Hibernate, which of the following statements is true?