Hi all,
My scenario is regarding DLFileEntryPersistenceImpl.findByG_F_N() which throws an exception if result is null.
But as this method will be invoked multiple times during a page load, I dont want the code to throw the exception. Instead I want to invoke DLFileEntryPersistenceImpl.fetchByG_F_N() which returns only NULL.
But this method is invoked only in DLFileEntryUtil.java which cannot be directly accessed.
How can we invoke the DLFileEntryPersistenceImpl.fetchByG_F_N() through a service.
Can anyone please clarify.
Thanks,
Siby
Please sign in to flag this as inappropriate.