I am trying to delete all the entities of a kind. After deleting i am trying to make query on the same kind. But the thing is, even after deleting all the entities the query is giving the results with some 'n' number of rows.
I know it is the HRD issue where the indexes are not deleted yet. But i want to know from where the query is getting the data though we are deleted the actual data.
Consider the below code,
class CustomReportInfo {
String reportName;
// Setters and getters
}
Here i am trying delete the CustomReportInfo kind entities. In order delete the entities what i am doing is,
List<CustomReportInfo> customReportInfoList= quey(CustomReportInfo.class).list();
delete(customReportInfoList);
List<CustomReportInfo> list = query(CustomReportInfo.class).list();