Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Hibernate Caching

 
Theodore Casser
Ranch Hand
Posts: 1902
Hibernate Netbeans IDE PHP
  • 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!
 
srinivas guruzu
author
Greenhorn
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 Netbeans IDE PHP
  • 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!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic