• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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

 
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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

 
Bartender
Posts: 1558
5
Eclipse IDE Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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).
 
Nimu Chox
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I just realized that "NoCacheProvider" is depracated in Hibernate4...
 
reply
    Bookmark Topic Watch Topic
  • New Topic