Skip to Main Content

SQL Developer Data Modeler

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.

Bug? FK UDP Not Saving

J-Feb 14 2025

SDDM Version 24.3.1.351

Steps to recreate:

  1. Create two tables, with at least one table having a primary key (PK)
  2. In design properties, add one or more UDPs with no default values and select foreign key check box
  3. Draw a foreign key from table 1 to table 2
  4. Right click the foreign key line and select properties
  5. Select UDP from left
  6. Update one of the blank UDP values
  7. Click Apply and OK
  8. Open the foreign key properties again.
  9. No values were saved.

This seems similar to a previous bug on column level UDPs:

https://forums.oracle.com/ords/apexds/post/user-defined-properties-values-at-the-column-level-don-t-sa-1305

Note: setting the FK with a transformation script does save the update.

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 Feb 14 2025
1 comment
42 views