Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add client identifier information to JDBC connections #445

Merged
merged 2 commits into from
Oct 16, 2023

Conversation

adamkorynta
Copy link
Collaborator

Adds information to the V$SESSION table for each session. Columns include MODULE, ACTION, CLIENTID

Relevant documentation:
https://docs.oracle.com/en/database/oracle/oracle-database/19/jjdbc/JDBC-standards-support.html#GUID-1987FAC4-E93A-49A5-9EB4-A78B465E6938

From the V$SESSION docs:
https://docs.oracle.com/en/database/oracle/oracle-database/19/refrn/V-SESSION.html#GUID-28E2DC75-E157-4C0A-94AB-117C205789B9

ACTION
VARCHAR2(64)
Name of the currently executing action as set by calling the DBMS_APPLICATION_INFO.SET_ACTION procedure

MODULE
VARCHAR2(64)
Name of the currently executing module as set by calling the DBMS_APPLICATION_INFO.SET_MODULE procedure

CLIENT_IDENTIFIER
VARCHAR2(64)
Client identifier of the session

ECID
VARCHAR2(64)
Execution context identifier (sent by Application Server)

Adds information to the V$SESSION table for each session. Columns include MODULE, ACTION, CLIENTID
MikeNeilson
MikeNeilson previously approved these changes Oct 11, 2023
…ontext

this is only used by unit tests and is throwing null pointers
@adamkorynta adamkorynta merged commit ad5cf6b into USACE:develop Oct 16, 2023
3 checks passed
@adamkorynta adamkorynta deleted the feature/connection_client_info branch October 16, 2023 17:11
@rma-rripken rma-rripken added the W912HQ22F0193-Task8 Related to Task 8 Research label Nov 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
W912HQ22F0193-Task8 Related to Task 8 Research
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants