GroupRepository.java 251 Bytes
package fr.plil.sio.persistence.jpa;

import fr.plil.sio.persistence.api.Group;
import org.springframework.data.jpa.repository.JpaRepository;

public interface GroupRepository extends JpaRepository<Group, Long> {

    Group findByName(String name);
}