
Any thing wrong in my JPA Query.
TypedQuery<RaBdrRating> uQuery = (TypedQuery<RaBdrRating>) entityManager.createQuery("SELECT activePackage,SUM(duration),SUM(charge),COUNT(activePackage) FROM User WHERE callType = :callType and startDate BETWEEN :startDate AND :endDate GROUP BY activePackage",User.class);
List<RaBdrRating> listOfPackages = uQuery.getResultList();
return listOfPackages;
I am getting the IllegalStatementException.Can any one help me.
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.
