• 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
  • Liutauras Vilda
  • Tim Cooke
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Devaka Cooray
  • Ron McLeod
  • paul wheaton
Saloon Keepers:
  • Tim Moores
  • Piet Souris
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Frits Walraven
  • Scott Selikoff

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?
 
reply
    Bookmark Topic Watch Topic
  • New Topic