wood burning stoves 2.0*
The moose likes Object Relational Mapping and the fly likes Trying Out Hiberbate:Error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "Trying Out Hiberbate:Error "Cannot resolve the NoCacheProvider", when configuring hibernate.cfg.xml " Watch "Trying Out Hiberbate:Error "Cannot resolve the NoCacheProvider", when configuring hibernate.cfg.xml " New topic
Author

Trying Out Hiberbate:Error "Cannot resolve the NoCacheProvider", when configuring hibernate.cfg.xml

Nimu Chox
Greenhorn

Joined: Mar 11, 2012
Posts: 27
Hello guys,

Could you please help?


Error "Cannot resolve NoCacheProvider" .....I think I am supposed to install the jars for NoCacheProvider Class but I dont know how to install them....please help.

Error occuring on this line----<property name="cache.provider_class">org.hibernate.cache.NoCacheProvider</property>

Below is hibernate.cfg.xml file that I am configuring

Anayonkar Shivalkar
Bartender

Joined: Dec 08, 2010
Posts: 1509
    
    5

Hi Nimu Chox,

Welcome to CodeRanch!

Please CarefullyChooseOneForum. There's a dedicate forum for hibernate and other mapping frameworks. As of now, you can request the forum admin to transfer this thread to that forum (instead of starting a new thread there).


Regards,
Anayonkar Shivalkar (SCJP, SCWCD, OCMJD, OCEEJBD)
Nimu Chox
Greenhorn

Joined: Mar 11, 2012
Posts: 27
I just realized that "NoCacheProvider" is depracated in Hibernate4...
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Trying Out Hiberbate:Error "Cannot resolve the NoCacheProvider", when configuring hibernate.cfg.xml