Win a copy of Svelte and Sapper in Action this week in the JavaScript forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

Upgrading our application to higher versions

Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

My Application is developed using hibernate 4 and spring 3.. I want to use the features of hibernate5... i changed my hibernate dependency to 5.1

But my application shows errors

Can anyone please help me to solve this
Posts: 1210
Android Python PHP C++ Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to CodeRanch !

Spring itself started supporting Hibernate 5 only from Spring v4.2.
So Spring 3 + Hibernate 5 is an untested, unsupported and likely incompatible combination of versions.
Worst case, you may end up wasting time trying to solve tons of vague errors due to such incompatibility.
I think you should consider migrating to latest Spring 4.2 too. What features of Hibernate 5 are you interested in?
    Bookmark Topic Watch Topic
  • New Topic