Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

Difference between first level and second level cache in hibernate

1. First level Cache is enabled by default whereas Second level cache needs to be enabled explicitly.

2. First level Cache came with Hibernate 1.0 whereas Second level cache came with Hibernate 3.0.

3. First level Cache is Session specific whereas Second level cache is shared by sessions that is why First level cache is considered local and second level cache is considered global.





This post first appeared on Techsharepoint, please read the originial post: here

Share the post

Difference between first level and second level cache in hibernate

×

Subscribe to Techsharepoint

Get updates delivered right to your inbox!

Thank you for your subscription

×