Results 1 to 2 of 2
  1. #1
    siri.th is offline Member
    Join Date
    Jul 2010
    Posts
    2
    Rep Power
    0

    Question am little confused about the cache levels in hibernate

    hi to all,
    am confused about the cache levels in hibernate.some are saying only 2 levels and some are saying 4 levels. can anybody give answer for this. how they can be used.

  2. #2
    Ramanjaneyulu is offline Member
    Join Date
    Aug 2010
    Posts
    11
    Rep Power
    0

    Default

    Hi Siri,
    Hibernate uses two different caches for objects
    1)first-level cache(also called Session cache): This cache always Associates with the Session object. Hibernate uses this cache by default.
    and
    2)second-level cache((also called SessionFactory cache):This cache always associates with the Session Factory object. To use this cache user needs to configure.

Similar Threads

  1. Java Berlin - all levels!!!!
    By Javarecruiter in forum Jobs Offered
    Replies: 25
    Last Post: 08-14-2009, 01:42 PM
  2. Replies: 1
    Last Post: 02-19-2009, 05:02 PM
  3. Hibernate cache problem
    By jispat in forum New To Java
    Replies: 0
    Last Post: 12-29-2008, 11:18 AM
  4. Replies: 2
    Last Post: 06-30-2007, 03:01 PM
  5. Caché Monitor 0.35
    By levent in forum Java Software
    Replies: 0
    Last Post: 06-10-2007, 01:40 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •