Skip to Main Content

DevOps, CI/CD and Automation

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

setting Error callback for Collection backed JET paging table.

Smridh Malhotra-OracleJan 29 2022 — edited Feb 1 2022

I have a JET table, which uses PagingDataProviderView as a backing DataProvider. Since this class wraps a CollectionDataProvider, it essentially accepts a Collection to provide for REST endpoint/url to fetch data.
Now I have a case where, the backing table may not be available at DB, and thus the url for Collection is unable to fetch it. In such a case, the JET Table blocks the UX, while its appearing to still load but no execution really takes place from there on with 400 returned as error.
Is there a way to detect such a scenario happening so as to abort the entire process or maybe set an error callback for PagingDataProviderView to trigger an appropriate error response?

Edit: Basic question I am trying to ask is, How to detect/handle unavailabilty from serviceURL in case of PagingDataProviderView? since it blocks the UX with rows loading, rather than showing 'No rows to display.', like it does in case of CollectionDataProvider automatically?

Comments
Post Details
Added on Jan 29 2022
3 comments
296 views