erro na classe: ```package br.com.caelum.financas.teste;
import java.util.List;
import javax.management.Query; import javax.persistence.EntityManager;
import br.com.caelum.financas.modelo.Conta; import br.com.caelum.financas.modelo.Movimentacao; import br.com.caelum.financas.util.JPAUtil;
public class TestaConsulta { public static void main(String[] args) {
EntityManager manager = new JPAUtil().getEntityManager();
Conta conta = new Conta(); conta.setId(2);
Query query = (Query) manager .createQuery("select m from Movimentacao m where m.conta.id=" + conta.getId());
List movimentacoes = ((javax.persistence.Query) query).getResultList();
for (Movimentacao m : movimentacoes) { System.out.println("\nDescricao ..: " + m.getDescricao()); System.out.println("Valor ......: R$ " + m.getValor()); }
manager.close(); }}```