Created
June 27, 2016 01:56
-
-
Save hseritt/dbb545f16a76deccb77ccb4761f1424d to your computer and use it in GitHub Desktop.
JPA Repository
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.util.List; | |
import org.springframework.data.jpa.repository.JpaRepository; | |
public interface AgentRepository extends JpaRepository<Agent, Long> { | |
List<Agent> findByActive(boolean active); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment