package nl.vpro.poel.repository;

import nl.vpro.poel.domain.Group;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

@Repository
public interface GroupRepository extends JpaRepository<Group, Long>{

    Group findByName(String name);
}

package nl.vpro.poel.repository;

import nl.vpro.poel.domain.Group;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

@Repository
public interface GroupRepository extends JpaRepository<Group, Long> {

    Group findByName(String name);
}

Use the space, Luke!