We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d416f3e commit badc44aCopy full SHA for badc44a
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
The resolution algorithm works as follows:
300
301
1. If there is a constructor that is annotated with `@PersistenceCreator`, it is used.
302
-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.
303
3. If there is a single static factory method annotated with `@PersistenceCreator` then it is used.
304
4. If there is a single constructor, it is used.
305
5. If there are multiple constructors and exactly one is annotated with `@PersistenceCreator`, it is used.
0 commit comments