• 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
  • Tim Cooke
  • paul wheaton
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
  • Paul Clapham
  • Liutauras Vilda
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

Hibernate Caching

 
Ranch Hand
Posts: 1906
3
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: 1906
3
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!
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic