Browse Source

Polishing.

Original Pull Request: #4949
pull/4976/head
Mark Paluch 8 months ago
parent
commit
ed7943a949
No known key found for this signature in database
GPG Key ID: 55BC6374BAA9D973
  1. 8
      src/main/antora/modules/ROOT/pages/repositories/core-concepts.adoc

8
src/main/antora/modules/ROOT/pages/repositories/core-concepts.adoc

@ -2,11 +2,3 @@ include::{commons}@data-commons::page$repositories/core-concepts.adoc[] @@ -2,11 +2,3 @@ include::{commons}@data-commons::page$repositories/core-concepts.adoc[]
[[mongodb.entity-persistence.state-detection-strategies]]
include::{commons}@data-commons::page$is-new-state-detection.adoc[leveloffset=+1]
[NOTE]
====
Cassandra provides no means to generate identifiers upon inserting data.
As consequence, entities must be associated with identifier values.
Spring Data defaults to identifier inspection to determine whether an entity is new.
If you want to use xref:mongodb/auditing.adoc[auditing] make sure to either use xref:mongodb/template-crud-operations.adoc#mongo-template.optimistic-locking[Optimistic Locking] or implement `Persistable` for proper entity state detection.
====

Loading…
Cancel
Save