Professional Documents
Culture Documents
Hibernate is an?
A. Open Source
B. Lightweight
C. ORM
D. Both A, B and C
Which element of hbm.xml is used to map a Java class property to a column in the
database table?
C. property
Which method is used to save the state of the given instance from the underlying
database?
Session.save
Session.createQuery creates a new instance of Query for the given HQL query string.
A.TRUE
Hibernate Named Query can be defined in Hibernate mapping files or through the use
of JPA annotations:
A. @NamedQuery
B. @NamedNativeQuery
C. A and B
Hibernate caching improves the performance of the application by pooling the object
in the cache.
TRUE