2023-10-06 10:32:26 -04:00
|
|
|
= 6.4 Migration Guide
|
2015-08-20 15:29:48 -04:00
|
|
|
:toc:
|
2022-01-05 17:24:11 -05:00
|
|
|
:toclevels: 4
|
2022-12-22 11:29:51 -05:00
|
|
|
:docsBase: https://docs.jboss.org/hibernate/orm
|
2023-10-06 10:32:26 -04:00
|
|
|
:versionDocBase: {docsBase}/6.4
|
2022-12-22 11:29:51 -05:00
|
|
|
:userGuideBase: {versionDocBase}/userguide/html_single/Hibernate_User_Guide.html
|
|
|
|
:javadocsBase: {versionDocBase}/javadocs
|
2022-01-05 17:24:11 -05:00
|
|
|
|
|
|
|
|
2023-10-06 10:32:26 -04:00
|
|
|
This guide discusses migration to Hibernate ORM version 6.4. For migration from
|
2015-08-20 15:29:48 -04:00
|
|
|
earlier versions, see any other pertinent migration guides as well.
|
|
|
|
|
2023-10-06 10:32:26 -04:00
|
|
|
* link:{docsBase}/6.3/migration-guide/migration-guide.html[6.3 Migration guide]
|
2023-01-27 04:28:55 -05:00
|
|
|
* link:{docsBase}/6.2/migration-guide/migration-guide.html[6.2 Migration guide]
|
2022-12-22 11:29:51 -05:00
|
|
|
* link:{docsBase}/6.1/migration-guide/migration-guide.html[6.1 Migration guide]
|
|
|
|
* link:{docsBase}/6.0/migration-guide/migration-guide.html[6.0 Migration guide]
|
|
|
|
|
2023-09-28 16:50:51 -04:00
|
|
|
|
2023-10-12 22:12:11 -04:00
|
|
|
[[soft-delete]]
|
|
|
|
== Soft Delete
|
|
|
|
|
2023-10-14 03:14:45 -04:00
|
|
|
6.4 adds support for soft deletes against an entity's primary table and collection tables, using the
|
|
|
|
new `@SoftDelete` annotation.
|
|
|
|
|
|
|
|
[source,java]
|
|
|
|
----
|
|
|
|
@Entity
|
|
|
|
@SoftDelete
|
|
|
|
class Account {
|
|
|
|
...
|
|
|
|
}
|
|
|
|
----
|
|
|
|
|
|
|
|
See the link:{userGuideBase}#soft-delete[User Guide] for details.
|