Skip to content

Instantly share code, notes, and snippets.

@sidneydemoraes
Created April 27, 2017 20:54
Show Gist options
  • Save sidneydemoraes/51bb5335a3fdca3c3715bf76babc83b7 to your computer and use it in GitHub Desktop.
Save sidneydemoraes/51bb5335a3fdca3c3715bf76babc83b7 to your computer and use it in GitHub Desktop.
TechTalk - Gradle + Spring Boot + Groovy - Repository com CRUD
import br.com.smc.meurumo.domain.seguranca.entity.TokenResetDeSenha
import org.springframework.data.repository.CrudRepository
interface TokenRepository extends CrudRepository<TokenResetDeSenha, Long> {
TokenResetDeSenha findByHash(String hash)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment