SAP / olingo-jpa-processor-v4

The JPA Processor fills the gap between Olingo V4 and the database, by providing a mapping between JPA metadata and OData metadata, generating queries and supporting the entity manipulations.
Apache License 2.0
122 stars 78 forks source link

Changes to make JPAAbstractExpandQuery available for extension #371

Open VMatyushevski opened 3 weeks ago

VMatyushevski commented 3 weeks ago

Feature added: To support the addition of custom SQL Hint to the search query. Approach considered: Upon trying out different options, we have chosen to extend JPAAbstractExpandQuery and add our custom hint during execute() method call. Overview of the changes: The current design (especially modifiers) of JPAAbstractExpandQuery doesn`t fully support extension since the Class by itself is public, but the important methods that are used within an extention and other dependent classes have package private access. So the changes are specific to the classes or methods that are involved in supporting the mentioned feature. @wog48, Please review the PR. If you have another approach to enabling the above feature, we are open to considering it.

cla-assistant[bot] commented 3 weeks ago

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.


matyushevskiv seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You have signed the CLA already but the status is still pending? Let us recheck it.