Isn't findAll() iterator inefficient to assert an unprecedented case in the Database?
I am a newbie constructing persistence APIs with Spring Boot, so I came about this doubt. I don't want the user to be able to register two different Accounts with the same Email. But I also don't want to use…