Java - Online Test - Hibernate - javasearch.buggybread.com
OCJP / SCJP
New in Java 8
Java 8 Lambda
Java 8 java.time
Search Java Test Questions
223 test questions in repository.
Java - Test Questions on 'Hibernate' - 10 questions found
What is Lazy Initialization in Hibernate ?
Feature to load the dependencies from Cache
Feature to load all objects and relationships in advance before they can be used
Feature to not load dependencies and relationship in advance and load when required
Feature to not load the dependencies and relationships at all
Which of the following is not the benefit of Lazy Initialization in Hibernate ?
Laod When required provides better performance
Object stays lighter
Less number of Database calls
Less load on Database
Which of the following is not true for Hibernate Cache ?
First level cache is enabled by default
First level Cache is Session specific
First level cache is considered global
First level Cache came with Hibernate 1.0
Which of the following is not an Hibernate Annotation
Which of the following Design pattern has been used with Hibernate Criteria ?
Which of following is not core interface of Hibernate ?
hibernate Core Interface
Which of the following session method is used to disassociate / disconnect all objects from the session
Which of the following session method is used to disassociate / disconnect a particular object / entity from the session
Which of following is not the resolution for preventing LazyInitializationException?
Set fetch=FetchType.EAGER for Dependent entity mapping
Make sure that we are accessing the dependent objects before closing the session
Make sure that we are accessing the dependent objects after closing the session
Wrap the complete access within Transaction
Which of the following is not an advantage of JSON over XML ?
Lighter and Faster
Supports multiple data types
Backward compatible with all XML applications
comments powered by Disqus.
comments powered by