I was trying to test findById(1) of Jpa Repository. But it was returning empty. When I used 0 for id , it returned the right object.
Why the TestEntityManager saves the d