diff --git a/docs/topics/jvm/jvm-spring-boot-using-crudrepository.md b/docs/topics/jvm/jvm-spring-boot-using-crudrepository.md index b4f8c9136ce..1b455ea93f5 100644 --- a/docs/topics/jvm/jvm-spring-boot-using-crudrepository.md +++ b/docs/topics/jvm/jvm-spring-boot-using-crudrepository.md @@ -84,7 +84,7 @@ First, you need to adjust the `Message` class for work with the `CrudRepository`

This function works with an assumption that the new object doesn't have an id in the database. Hence, the id should be null for insertion.

-

If the id isn't null, CrudRepository assumes that the object already exists in the database and this is an update operation as opposed to an insert operation. After the insert operation, the id will be generated by the data store and assigned back to the Message instance. This is why the id property should be declared using the var keyword.

+

If the id isn't null, CrudRepository assumes that the object already exists in the database and this is an update operation as opposed to an insert operation. After the insert operation, the id will be generated by the data store and assigned back to the Message instance.