Help coderanch get a
new server
by contributing to the fundraiser
  • 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
  • Ron McLeod
  • Paul Clapham
  • Devaka Cooray
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Tim Moores
  • Carey Brown
  • Mikalai Zaikin
Bartenders:
  • Lou Hamers
  • Piet Souris
  • Frits Walraven

Do HibernateDaoSupport in spring require hibernate jar files for support

 
Ranch Hand
Posts: 253
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi ,

I am a novice to spring. i am using spring 2.5. Using HibernateDaoSupport. My doubt is, do i still require Hibernate jar files for support of HibernateDaoSupport..

I did a sample example in netbeans. I unchecked the hibernate jar library. The application is still working. Is that correct working with HibernateDaoSupport class without using Hibernate jar files..


Thanks & Regards,
Vipul Kumar
 
Bartender
Posts: 1051
5
Hibernate Eclipse IDE Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You will need the Hibernate jar.
 
ranger
Posts: 17347
11
Mac IntelliJ IDE Spring
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Which version of Hibernate?

If you are using Hibernate 3.1 or higher you should never ever use either HibernateDaoSupport or HibernateTemplate in Spring. There is absolutely no need for it, nor any gain for using it. If you use Hibernate 3.1 or higher your DAO/Repositories should use Hibernate Session and SessionFactory classes directly.

Mark
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic