Erro na cunsulta jpql [RESOLVIDO]

Olá amigos estou com este erro na minha aplicação java swing:

Fri Oct 14 12:21:27 BRT 2022 [ERROR]
in org.openswing.swing.table.client.Grids.loadData():
Error while fetching data.
java.lang.IllegalArgumentException: An exception occurred while creating a query in EntityManager: 
Exception Description: Problem compiling [select e from FluxoCaixa e where e.excluido = false order by 1]. 
[14, 24] The abstract schema type 'FluxoCaixa' is unknown.
[33, 43] The state field path 'e.excluido' cannot be resolved to a valid type.
	at org.eclipse.persistence.internal.jpa.EntityManagerImpl.createQuery(EntityManagerImpl.java:1605)
	at br.com.srvendas.repositoryJPA.FluxoCaixaRepositoryJPA.listaEntidade(FluxoCaixaRepositoryJPA.java:42)
	at br.com.srvendas.serviceJPA.FluxoCaixaServiceJPA.listaEntidade(FluxoCaixaServiceJPA.java:40)
	at br.com.srvendas.controller.fluxocaixa.FluxoCaixaGridFrameController.loadData(FluxoCaixaGridFrameController.java:103)
	at org.openswing.swing.table.client.Grids.loadData(Grids.java:1794)
	at org.openswing.swing.table.client.Grids.access$800(Grids.java:58)
	at org.openswing.swing.table.client.Grids$LoadDataThread.run(Grids.java:4040)
Caused by: Exception [EclipseLink-0] (Eclipse Persistence Services - 2.5.2.v20140319-9ad6abd): org.eclipse.persistence.exceptions.JPQLException
Exception Description: Problem compiling [select e from FluxoCaixa e where e.excluido = false order by 1]. 
[14, 24] The abstract schema type 'FluxoCaixa' is unknown.
[33, 43] The state field path 'e.excluido' cannot be resolved to a valid type.
	at org.eclipse.persistence.internal.jpa.jpql.HermesParser.buildException(HermesParser.java:155)
	at org.eclipse.persistence.internal.jpa.jpql.HermesParser.validate(HermesParser.java:347)
	at org.eclipse.persistence.internal.jpa.jpql.HermesParser.populateQueryImp(HermesParser.java:278)
	at org.eclipse.persistence.internal.jpa.jpql.HermesParser.buildQuery(HermesParser.java:163)
	at org.eclipse.persistence.internal.jpa.EJBQueryImpl.buildEJBQLDatabaseQuery(EJBQueryImpl.java:142)
	at org.eclipse.persistence.internal.jpa.EJBQueryImpl.buildEJBQLDatabaseQuery(EJBQueryImpl.java:116)
	at org.eclipse.persistence.internal.jpa.EJBQueryImpl.<init>(EJBQueryImpl.java:102)
	at org.eclipse.persistence.internal.jpa.EJBQueryImpl.<init>(EJBQueryImpl.java:86)
	at org.eclipse.persistence.internal.jpa.EntityManagerImpl.createQuery(EntityManagerImpl.java:1603)
	... 6 more

Alguém poderia ajudart?

muito obrigado

Olá amigos

consegui resolver colocando:
createNativeQuery("select count(e) from FluxoCaixa e where excluido = false ")

Muito obrigado

1 curtida