[hibernate-dev] Migration path from 3.6 to 5.2

Vlad Mihalcea mihalcea.vlad at gmail.com
Tue Jun 13 02:59:35 EDT 2017


You can migrate from 3.6 to 5.2 directly. Just read all the migration
guides from 3.x to 5.2 to know what has changed and what you need to take
into consideration. For example, 5.x uses the enhanced identifier
generators which you might want to disable if you relied on the old
sequence-based optimizer strategies.


On Tue, Jun 13, 2017 at 12:40 AM, Prasanth Mathialagan <
prasanthmathialagan at gmail.com> wrote:

> Hi,
> We have been using hibernate-orm in our application for a long time. The
> version of hibernate we use is 3.6.10.Final. I know it is archaic. We would
> like to migrate to the latest stable version (5.2) to reap the benefits of
> new optimizations and features. Initially we thought about upgrading to
> 4.x. Since we are also doing Java 8 and Spring 4 upgrades, we have decided
> that it would be better to migrate hibernate to 5.2 together.
> I know it is not possible to migrate from 3.6 to 5.2 directly.I have
> checked online for migration guides. But I am bit off about which path
> should I take to migrate (eg. 3.6 to 4.3 to 4.5 to 5.2). Can someone help
> me with figuring out minimum number of migrations from 3.6 to reach 5.2? I
> would be grateful if you could point me to some resources
> _______________________________________________
> hibernate-dev mailing list
> hibernate-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/hibernate-dev

More information about the hibernate-dev mailing list