34 lines
1014 B
Plaintext
34 lines
1014 B
Plaintext
= 6.4 Migration Guide
|
|
:toc:
|
|
:toclevels: 4
|
|
:docsBase: https://docs.jboss.org/hibernate/orm
|
|
:versionDocBase: {docsBase}/6.4
|
|
:userGuideBase: {versionDocBase}/userguide/html_single/Hibernate_User_Guide.html
|
|
:javadocsBase: {versionDocBase}/javadocs
|
|
|
|
|
|
This guide discusses migration to Hibernate ORM version 6.4. For migration from
|
|
earlier versions, see any other pertinent migration guides as well.
|
|
|
|
* link:{docsBase}/6.3/migration-guide/migration-guide.html[6.3 Migration guide]
|
|
* link:{docsBase}/6.2/migration-guide/migration-guide.html[6.2 Migration guide]
|
|
* 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]
|
|
|
|
|
|
[[soft-delete]]
|
|
== Soft Delete
|
|
|
|
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. |