Hi, I'm facing the following error and just can't figure out what's the solution for it... I made all configuration like specified but seems that my JPA context is not getting the right class for DataTablesRepository.
@Service
public class AuditoriaProdutoServiceImpl implements AuditoriaProdutoService {
@Autowired
private AuditoriaProdutoRepository auditoriaProdutoRepository;
@Override
public DataTablesOutput<AuditoriaProduto> findAll(DataTablesInput dti) {
return auditoriaProdutoRepository.findAll(dti);
}
}
But when I inspect the repository, it has underlying class of SimpleJPARepository instead of the DataTables repository... then I get the error mentioned.
Hi, I'm facing the following error and just can't figure out what's the solution for it... I made all configuration like specified but seems that my JPA context is not getting the right class for DataTablesRepository.
Here's what I have:
My repository context xml:
My repository declaration:
My service class:
But when I inspect the repository, it has underlying class of SimpleJPARepository instead of the DataTables repository... then I get the error mentioned.
Any ideas of what I'm missing?