I am trying to delete the images of the user based on fileEntryId from the DLFileEntry table by using following code
DLAppServiceUtil.deleteFileEntry(fileEntryId);
,But when i am trying to get the length of the user images by using finderImpl
SELECT count(*) FROM DLFileEntry
WHERE groupId = groupId_ AND userId = userId_ AND (mimeType LIKE "%image%" );
still it is showing same length,but after refreshing the browser I am able to get the exact length so I thought there was a problem with cache I have used following cahce methods to clear the cache
CacheRegistryUtil.clear();
MultiVMPoolUtil.clear();
WebCachePoolUtil.clear();
but still I did not get the exact solution