File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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: 1502
    
    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
 
Similar Threads
TCP/IP connection to the host localhost, port 1433 has failed
What's wrong with my code?
InvalidMappingException in Hibernate
Could not parse configuration: /hibernate.cfg.xml
Cannot connect to MySQL server ...