aspose file tools*
The moose likes Object Relational Mapping and the fly likes Hibernate Caching Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "Hibernate Caching" Watch "Hibernate Caching" New topic
Author

Hibernate Caching

Theodore Casser
Ranch Hand

Joined: Mar 14, 2001
Posts: 1902

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!


Theodore Jonathan Casser
SCJP/SCSNI/SCBCD/SCWCD/SCDJWS/SCMAD/SCEA/MCTS/MCPD... and so many more letters than you can shake a stick at!
srinivas guruzu
author
Greenhorn

Joined: Jun 08, 2010
Posts: 20
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

Joined: Mar 14, 2001
Posts: 1902

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!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Hibernate Caching