Create a gist now

Instantly share code, notes, and snippets.

Embed
What would you like to do?
1st version of ReservationRepository - for removing compilation error whilst executing test of ReservationService
package com.its.reservation.repository;
import org.springframework.data.repository.CrudRepository;
public interface ReservationRepository extends CrudRepository<Reservation, Long> {
Reservation findByFirstName(String name);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment