Prepare
Practice
Interview
Aptitude
Reasoning
English
GD
Placement papers
HR
Current affairs
Engineering
MCA
MBA
Online test
Login
Session object hold First Level Cache - Hibernate
Home
>>
Category
>>
Java (MCQ) questions and answers
>>
Hibernate
Q. What does the Session object hold?
- Published on 16 Jul 15
a.
First Level Cache
b.
Second Level Cache
c.
Both A & B
d.
None of the above
ANSWER: First Level Cache
Related Content
Core Java (
160
)
JDBC (
45
)
Hibernate (
12
)
Struts (
26
)
EJB (
25
)
RMI (
23
)
JSP (
22
)
Servlets (
27
)
Applets (
24
)
AWT and Swing (
25
)
Wrapper classes (
15
)
Basic concept of Networking (
19
)
XML (
32
)
Discussion
Prajakta Pandit
-Posted on 14 Dec 15
- Hibernate caching improves the performance of the application by pooling the object in the cache.
- It consists of two types of caching:
1. First level cache
2. Second level cache
-
Session object
holds the first level cache data.
- This cache is enabled by default.
- The data in the first level cache will not be available to the entire application. An application can use many session object.
➨
Post your comment / Share knowledge
Required!
Required!
Invalid Email Id!
Required!
Enter the code shown above:
Please enter the code shown above
(Note: If you cannot read the numbers in the above image, reload the page to generate a new one.)
MCQs
English
Tutorials
Download
▲