Browse Source

Fix typo in object-mapping.adoc.

Closes #3076
pull/3081/head
Alexander Münch 2 years ago committed by Mark Paluch
parent
commit
2f9427a94b
No known key found for this signature in database
GPG Key ID: 55BC6374BAA9D973
  1. 2
      src/main/antora/modules/ROOT/pages/object-mapping.adoc

2
src/main/antora/modules/ROOT/pages/object-mapping.adoc

@ -299,7 +299,7 @@ Spring Data automatically tries to detect a persistent entity's constructor to b @@ -299,7 +299,7 @@ Spring Data automatically tries to detect a persistent entity's constructor to b
The resolution algorithm works as follows:
1. If there is a constructor that is annotated with `@PersistenceCreator`, it is used.
2. If the type is a <<mapping.kotlin,Kotlin data cass>> the primary constructor is used.
2. If the type is a <<mapping.kotlin,Kotlin data class>> the primary constructor is used.
3. If there is a single static factory method annotated with `@PersistenceCreator` then it is used.
4. If there is a single constructor, it is used.
5. If there are multiple constructors and exactly one is annotated with `@PersistenceCreator`, it is used.

Loading…
Cancel
Save