• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Hibernate Caching

 
Ranch Hand
Posts: 1902
Hibernate Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I realize that the book cannot possibly cover every issue that might present itself, but given that we use Hibernate pretty heavily at work, I'm wondering what kind of recipes the book covers with regards to caching. Does it discuss specific solutions or address caching in general? Does it discuss how to tune the caching for different objects in the same environment?

Thanks!
 
author
Posts: 20
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Theodore Casser,

In Caching we cover the following

Using the First-Level Cache
Configuring the Second-Level Cache
Caching Associations
Caching Collections
Caching Queries

we explain how to work with regions. You should be able to configure caching for each object, but we could not give examples on tuning each object.

I think the developer should be able to define the caching parameters depending on the structure of the object.

Hope this information helps.

Regards

Srinivas Guruzu
 
Theodore Casser
Ranch Hand
Posts: 1902
Hibernate Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
It sounds like it would serve as a decent foundation, at the very least. (I would admit that I think caching is where I'm weakest with our implementation of Hibernate at my job at the moment.) I'll have to take a look.

Thanks!
 
Try 100 things. 2 will work out, but you will never know in advance which 2. This tiny ad might be one:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic