This week's book giveaways are in the Cloud and AI/ML forums.
We're giving away four copies each of Cloud Native Patterns and Natural Language Processing and have the authors on-line!
See this thread and this one for details.
Win a copy of Cloud Native PatternsE this week in the Cloud forum
or Natural Language Processing in the AI/ML 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 ...
Marshals:
  • Campbell Ritchie
  • Devaka Cooray
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Paul Clapham
  • Knute Snortum
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Ron McLeod
  • Piet Souris
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Frits Walraven
  • Ganesh Patekar

Upgrading our application to higher versions

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

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
org.springframework.beans.factory.BeanCreationException
org.hibernate.hql.internal.ast.QuerySyntaxException



Can anyone please help me to solve this
 
Bartender
Posts: 1210
25
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?
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!