wood burning stoves 2.0*
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 failed.org.hibernate.HibernateException: 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
Consider Paul's rocket mass heater.
subject: Hibernate how to enabled 2 cache.
Similar Threads
How to map a class that has an object that is defined as @Embeddable
org.hibernate.InvalidMappingException: Could not parse mapping document from resource
java.lang.ClassNotFoundException: javax.persistence.JoinTable
Hibernate example error message
Hibernate annotations problem