Zapytanie jpql
select la
from lancamento la
where (:descricao is null or descricao like %:descricao%)
and (:dataDe is null or dataVencimento >= :dataDe)
and (:dataAte is null or dataVencimento <= :dataAte)
Perfect Panther