9

I Googled around but don't see any tutorials for upgrading Hibernate to 5.2.

The only thing I could find was this: http://hibernate.org/search/documentation/migrate/5.0/ but it seems to specific to Hibernate search.

user3133300
  • 607
  • 4
  • 13
  • 23
  • Possible duplicate of [How to upgrade Hibernate from version 4.3 to 5.2 for migration to JDK 10?](https://stackoverflow.com/questions/50207195/how-to-upgrade-hibernate-from-version-4-3-to-5-2-for-migration-to-jdk-10) – Julien Kronegg Jul 30 '19 at 07:09

1 Answers1

10

The full Hibernate ORM Upgrade Guide can be found here:

https://github.com/hibernate/hibernate-orm/blob/5.0/migration-guide.adoc

peach
  • 657
  • 5
  • 26
  • But where do I actually change the version number? – user3133300 Jun 18 '18 at 16:59
  • which version number? what are you using? gradle? spring boot? Please ask answers that can actually be answered :) – peach Jun 19 '18 at 07:11
  • The Hibernate version number. Thanks for answering, btw :) – user3133300 Jun 19 '18 at 12:28
  • what are you using? gradle? spring boot? Please ask concrete questions with all the info needed in order to answer. in case you are using spring boot with gradle and want to override the version you can find it in the [Spring Docs](https://docs.spring.io/platform/docs/Brussels-SR9/reference/html/getting-started-overriding-versions.html): `ext['hibernate.version'] = '5.2.12.Final'` for Hibernate with Gradle/hibernate directly see the [Hibernate Docs](http://hibernate.org/orm/documentation/getting-started/) `` – peach Jun 19 '18 at 15:34
  • Yup! I'm using spring boot 1.3. I need to upgrade to spring boot 2.0, which requires Hibernate 5.2. – user3133300 Jun 19 '18 at 17:03