|
1 |
| -= 5.5 Migration Guide |
| 1 | += 5.6 Migration Guide |
2 | 2 | :toc:
|
3 | 3 |
|
4 |
| -This guide discusses migration from Hibernate ORM version 5.4 to version 5.5. For migration from |
5 |
| -earlier versions, see any other pertinent migration guides as well. |
6 |
| - |
7 |
| -== Background |
| 4 | +This guide discusses migration from Hibernate ORM version 5.5 to version 5.5. |
8 | 5 |
|
| 6 | +For migration from other versions, see https://github.com/hibernate/hibernate-orm/wiki/Migration-Guides . |
9 | 7 |
|
10 | 8 | == Known changes
|
11 | 9 |
|
12 |
| -This version is very similar to Hibernate ORM 5.4; essentially it includes all bugfixes that have been |
13 |
| -applied to the 5.4 maintenance releases, and on top of this it introduces support for the Jakarta Persistence |
14 |
| -API (in addition the the JPA APIs we already support). |
15 |
| - |
| 10 | +This version is very similar to Hibernate ORM 5.5, with the exception of having removed some long standing deprecated features. |
16 | 11 |
|
17 |
| -=== Dom4J based XML mapping |
| 12 | +=== Javassist removed |
18 | 13 |
|
19 |
| -The implementation of Hibernate's parsing of XML mapping definitions has been entirely reimplemented based on |
20 |
| -JAXB rather than DOM4J, making progress to remove this ancient dependency. |
21 |
| -No specific issues are known at this time. |
| 14 | +It is no longer an option to choose Javassist as implementation used for the bytecode enhancement of entities. |
| 15 | +Byte Buddy has been the default for some time, and Javassist has been deprecated for some time and now has been removed. |
22 | 16 |
|
23 |
| -=== Removed the ability to disable "enhanced proxies" |
| 17 | +This should have no functional impact on applications; the only exception being that it's not longer valid to |
| 18 | +configure `hibernate.bytecode.provider=javassist`: remove the property if you're using this. |
24 | 19 |
|
25 |
| -The "enhanced proxies" feature has been introduced as a performance improving feature in 5.3 initially, at |
26 |
| -which time it was optional. |
| 20 | +A side effect is that Hibenate ORM no longer lists javassist among its dependencies. |
27 | 21 |
|
28 |
| -Since then, many more corner cases have been fixed and this feature is now always enabled. Enjoy the improvements! |
29 |
| -No changes are expected to be needed in user code to benefit from this. |
0 commit comments