Skip to content

Instantly share code, notes, and snippets.

@parzibyte
Created September 2, 2019 23:38
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 parzibyte/c4e91a47e2789924c6277c2ee781a5e3 to your computer and use it in GitHub Desktop.
Save parzibyte/c4e91a47e2789924c6277c2ee781a5e3 to your computer and use it in GitHub Desktop.
package hello;
import org.springframework.data.repository.CrudRepository;
public interface ProductosRepository extends CrudRepository<Producto, Integer> {
Producto findFirstByCodigo(String codigo);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment