Skip to content

Instantly share code, notes, and snippets.

@bytekast
Created March 25, 2017 20:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bytekast/1aa4d39c68f9cdefa75d8ce2d5323574 to your computer and use it in GitHub Desktop.
Save bytekast/1aa4d39c68f9cdefa75d8ce2d5323574 to your computer and use it in GitHub Desktop.
import com.serverless.persistence.entities.User
import org.springframework.data.repository.CrudRepository
interface UserRepository extends CrudRepository<User, Long> {
List<User> findByLastName(String lastName)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment