add client identifier information to JDBC connections #445
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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)