• 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

Hibernate Caching

 
Ranch Hand
Posts: 1902
Hibernate Spring Java
  • Mark post as helpful
  • send pies
  • 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
  • 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
  • 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!
 
Consider Paul's rocket mass heater.
    Bookmark Topic Watch Topic
  • New Topic