Skip to content

Commit 324ce21

Browse files
theHackermp911de
authored andcommitted
Fix typo in object-mapping.adoc.
Closes #3076
1 parent 3381808 commit 324ce21

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/asciidoc/object-mapping.adoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,7 @@ Spring Data automatically tries to detect a persistent entity's constructor to b
305305
The resolution algorithm works as follows:
306306

307307
1. If there is a constructor that is annotated with `@PersistenceCreator`, it is used.
308-
2. If the type is a <<mapping.kotlin,Kotlin data cass>> the primary constructor is used.
308+
2. If the type is a <<mapping.kotlin,Kotlin data class>> the primary constructor is used.
309309
3. If there is a single static factory method annotated with `@PersistenceCreator` then it is used.
310310
4. If there is a single constructor, it is used.
311311
5. If there are multiple constructors and exactly one is annotated with `@PersistenceCreator`, it is used.

0 commit comments

Comments
 (0)