Questions of Test: Hibernate Interview Questions - II

More >>

1

In Hibernate, how can you change the default access type of a persistent class?

2

In Hibernate, how can you change the default access type of a persistent class?

3

What is the use of noop access type?

4

What is the use of derived properties in Hibernate?

5

What is the use of putting 
dynamic-insert="true", dynamic-update="true" 
attributes in the <class> element of a hibernate mapping file?

6

What is the use of making an persistent class immutable in Hibernate?

7

Can you have 2 persistent classes by same name, but in different packages in Hibernate?

8

Which of the following statements are true about mapping.

9

In my application I have to map a student bean to student table. I have a field by name score which is of type 'Double'. (in STUDENT table the SCORE column type is float).  The class is mapped using XML mapping file. What if the file just includes <property name="score" column="SCORE"/> in it omitting type="double" from property tag?

10

Can you map a table without primary key in Hibernate 

More >>