-
Notifications
You must be signed in to change notification settings - Fork 18
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
jdbc: Support Connection.getClientInfo() and setClientInfo() methods #74
Comments
Docs suggest next standard properties to be supported:
Does Tarantool have any replicated system table where we can keep session data? Anyway, to follow the spec now, we can just say - there're no supported client properties yet. |
@nicktorwald Why session local storage is needed to support properties you listed above?
I would implement those propoerties that can be implemented in more or less correct way driver-side and stop on that for now. |
The session storage is not necessary. It can be any other way to keep the properties in the database.
See API sentence above regarding the storage places. I'm not sure about in-memory (or driver-side) case.
API says:
API: FYI: |
I'm agree. It seems it is better to leave empty properties set for now and wait if there will be real need in this feature. |
At present, the driver doesn't support any properties and must retrieve empty data instead of raising an error with an exception for Statement.setClientInfo which will throw ClientInfoException for any attempts to set a property. Closes: #74
At present, the driver doesn't support any properties and must retrieve empty data instead of raising an error with an exception for Statement.setClientInfo which will throw ClientInfoException for any attempts to set a property. Closes: #74
At present, the driver doesn't support any properties and must retrieve empty data instead of raising an error with an exception for Statement.setClientInfo which will throw ClientInfoException for any attempts to set a property. Closes: #74
At present, the driver doesn't support any properties and must retrieve empty data instead of raising an error with an exception for Statement.setClientInfo which will throw ClientInfoException for any attempts to set a property. Closes: #74
At present, the driver doesn't support any properties and must retrieve empty data instead of raising an error with an exception for Statement.setClientInfo which will throw ClientInfoException for any attempts to set a property. Closes: tarantool#74
It is required by the JDBC standard.
Also need to support DatabaseMetaData.getClientInfoProperties() list of supported properties.
The text was updated successfully, but these errors were encountered: