I am using Spring 5 in my project. Until today there was available method CrudRepository#findOne.
But after downloading latest snapshot it suddenly disappeared! Is t
An other way more. Add a @Query. Even if I would prefer to consume the Optional:
@Repository public interface AccountRepository extends JpaRepository { @Query("select a from AccountEntity a where a.id=?1") public AccountEntity findOne(Long id);