What does session.createQuery("Query").scroll() return ?
a) ListResultSet
b) ResultSet
c) ScrollableResultSet
d) ScrollableResult
How can the mapping files be configured in Hibernate?
a) Mapping files can be added to Configuration in the application code
b) They can be configured in hibernate.cfg.xml using the elements
c) both a and b
d) none of the above
SessionFactory represent which level of cache ?
a) 2nd
b) Ist
c) 3rd
d) 4th
hibernate.cache.use_query_cache setting true enable cache regions ?
a) StandardQueryCache and UpdateTimestampsCache
b) StandardQueryCache
c) QueryCache
d) QueryCache and TimestampsCache
batch fetching is useful incase of ?
a) lazy="true"
b) lazy="false"
c) lazy="on"
d) lazy="off"
what is the default value in hibernate ?
a) lazy=false;
b) lazy=true;
c) lazy=yes;
d) lazy=no;
HQL is used in ?
a) session.createQuery();
b) session.createCriteria();
c) session.createSQLQuery();
d) session.lod();