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

getClientInfo doesn't return system context information [JDBC366] #408

Closed
firebird-automations opened this issue Oct 22, 2014 · 2 comments
Closed

Comments

@firebird-automations
Copy link

Submitted by: @mrotteveel

getClientInfo doesn't return system context information, however the apidoc suggests it should also report connection and system level information

@mrotteveel
Copy link
Member

Re-reading this, I'm not so sure if system context information should be reported, maybe with the exception of - by default, if not explicitly set - mapping ApplicationName to (SYSTEM, CLIENT_PROCESS). The ClientUser and ClientHostname properties seem to be intended for the application itself to map its users (e.g. users of a Web API) and their location to a database, not the (effective) database user and host.

On the other hand, allowing retrieval (and mapping them for example to <property-name>@SYSTEM) would be a simple measure to give access to this information. Similarly, reporting USER_TRANSACTION info as <property-name>@USER_TRANSACTION, and allowing set that way (and mapping sets with <property-name>@USER_SESSION the same as sets with <property-name>)

@mrotteveel
Copy link
Member

Will handle this further as part of #407

@mrotteveel mrotteveel closed this as not planned Won't fix, can't repro, duplicate, stale Jun 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants