• 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
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

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?
 
There's a city wid manhunt for this tiny ad:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic