• 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
  • Liutauras Vilda
  • Paul Clapham
Sheriffs:
  • paul wheaton
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Piet Souris
Bartenders:
  • Mike London

Upgrading our application to higher versions

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic