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.

Logging messages in Transformation Scripts

Gell�rt-OracleMar 4 2020 — edited Mar 5 2020

Hi!

I am migrating one of my old transformation scripts from a previous Data Modeler version with Java7 Rhino Engine to the current 19.4 version with Nashorn. With Rhino I was able to log messages to the log window with the command

model.getAppView().log("Some message...");

On the current version this does not seem to work for me, it gives the error "model.getAppView().log is not a function..."

Is there a way to do this kind of logging in 19.4?

Regards.

Gellért

This post has been answered by Philip Stoyanov-Oracle on Mar 4 2020
Jump to Answer

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 Mar 4 2020
12 comments
357 views