I am getting Message:Can't Perform Nested Evaluation in a dialouge when querying to DB to fetch some records.Control Stoped there not moving to next breakpoint and it is like hang in eclipse editor screen.How to solve that error?
public int findCount(String countQuery, Object[] params) {
try{
BigDecimal count=(BigDecimal) jpaHelper.findByNativeQuery(countQuery, params);
return count.intValueExact();
}
catch (Exception e) {
return 0;
}
}
Aucun commentaire:
Enregistrer un commentaire