-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 4 posts ] 
Author Message
 Post subject: Hibernate5 turns on cahing
PostPosted: Thu Jun 30, 2016 1:42 pm 
Newbie

Joined: Wed Jun 22, 2016 1:37 pm
Posts: 4
Hi,

Which setting turns on and off 2nc level cache?


Last edited by hibernateuser100 on Thu Jun 30, 2016 5:38 pm, edited 1 time in total.

Top
 Profile  
 
 Post subject: Re: Hibernate5 unable to turn caching off
PostPosted: Thu Jun 30, 2016 2:45 pm 
Hibernate Team
Hibernate Team

Joined: Thu Sep 11, 2014 2:50 am
Posts: 1628
Location: Romania
If you don't supply a region factory, there is no 2nd level caching.


Top
 Profile  
 
 Post subject: Re: Hibernate5 unable to turn caching off
PostPosted: Thu Jun 30, 2016 3:58 pm 
Newbie

Joined: Wed Jun 22, 2016 1:37 pm
Posts: 4
Thanks, but what does it mean:
Quote:
Second-level cache is used in the application
in this case? Where to find the cause? I can debug Hibernate sources, what to check?


Top
 Profile  
 
 Post subject: Re: Hibernate5 turns on cahing
PostPosted: Fri Jul 01, 2016 2:15 am 
Hibernate Team
Hibernate Team

Joined: Thu Sep 11, 2014 2:50 am
Posts: 1628
Location: Romania
Check-out the Caching chapter on the reference documentation as well as the cache concurrency strategies:

- READ_ONLY
- NONSTRICT_READ_WRITE
- READ_WRITE
- TRANSACTIONAL


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 4 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.