Spring Data JPA crudrepository 保存方法是否有任何 return 值?如果是这样,它 returns 是什么?

Does Spring Data JPA crudrepository save method have any return value? If so what does it returns?

public void registerCustomer(Customer cust)
{
customerRepo.save(cust);
}

我怎么知道我的数据在上面的代码中插入成功了?

这里来自 CrudReporsitory.save() javadoc:

Saves a given entity. Use the returned instance for further operations as the save operation might have changed the entity instance completely.

好像是保存方法returns保存的实体实例。