Created
October 16, 2014 15:26
-
-
Save gabanox/e17e5ec229c13b7c1049 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
/** | |
* Created on Oct 18, 2011 | |
*/ | |
package com.company.app.repository; | |
import java.util.List; | |
import org.springframework.data.repository.CrudRepository; | |
import com.company.app.domain.Contact; | |
public interface ContactRepository extends CrudRepository<Contact, Long> { | |
public List<Contact> findByFirstName(String firstName); | |
public List<Contact> findByFirstNameAndLastName(String firstName, String lastName); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment