Details
-
New Feature
-
Status: Closed
-
Critical
-
Resolution: Fixed
-
V2 2.0.6
-
None
-
SAP HANA Cloud Platform
Description
Hi all,
I'm extending class ODataJPAQueryExtensionEntityListener in order to modify the sql query to our needs in getQuery methods. In some cases I like to return no entry / query (e.g. the user has not the sufficient role) which is not possible currently as the default query will be build in case one returns null see
on the other hand there are cases in which I like to throw and error message of type ODataException in method getQuery to propagate this information to the consumer instead of returning an empty list.
Best
Alex