File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Object Relational Mapping and the fly likes Hibernate how to enabled 2 cache. 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 how to enabled 2 cache. " Watch "Hibernate how to enabled 2 cache. " New topic

Hibernate how to enabled 2 cache.

Cristian Daniel Ortiz Cuellar
Ranch Hand

Joined: Feb 02, 2011
Posts: 81
Hi Guys. i am learning hibernate like i put it in my last post.

i am trying to enabled hibernate 2 cache..
here is my hibernate.cfg.xml.

i have a javabean like this.

i am getting this error GRAVE: Initial SessionFactory creation Could not instantiate cache implementation.

my question is. does hibernate have a proper 2 cache. if it's so? how can i enabled?
or do i have to implements a 2 cache vendor provider..
thanks a lot
I agree. Here's the link:
subject: Hibernate how to enabled 2 cache.
It's not a secret anymore!