Skip to Main Content

Application Development Software

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!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

QUERY EXECUTION LIMITATION

ISHAQ BHATOct 26 2024

Hi every one

I have experienced an issue when i try to find any elements among list of elements and i m trying to execute “in” query and if list of elements is more than 1000, query fails to execxute. e.g if i ahve list of user ids and list is more than 1000 . if i m trying to execute query with where clause and use in(……….) , it fails . Does any one find solution related with this .

e.g select * from tablename where tablename.columnName in (list of elements) //// here list of elements is more than 1000.

Comments

thatJeffSmith-Oracle Feb 13 2025

Your ENTRA users will get authenticated via JSON Web Tokens, and their Entra roles will determine which ORDS REST APIs they can hit.

When they hit an endpoint, it'll execute code in the database as the database user that owns the schema where the REST API is defined, not as Entra defiend end user. In fact, the Entra users won't have accounts in the database (they could, but wont' need to).

The :current_user field as far as ords is concerned would be the corresponding oauth2 client or JWT issued for the authorizied session.

Your prehook should be able to alter the session to set the context that would put your RLS/VPD security policy in play.

1 - 1

Post Details

Added on Oct 26 2024
0 comments
78 views