Commit 53166f92 by Oscar Gonzalez

se agrega metodo para filtrar por fecha

parent 6ad4c37e
......@@ -6,8 +6,13 @@ import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;
import java.util.Date;
import java.util.List;
public interface BirthdayRepository extends JpaRepository<Birthday,Long> {
List<Birthday> findAllByFecha(Date publicationDate);
public Page<Birthday> findByNombreCompletoContainingIgnoreCase(String nombre, Pageable pageable);
public boolean existsByNombreCompletoIgnoreCase(String nombre);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment