Mercurial > hg > monetdb-java
diff src/main/java/org/monetdb/jdbc/MonetConnection.java @ 903:778959b2e0a4
Send ClientInfo on startup
Configurable through the client_info=bool, client_application=NAME,
client_remark=MESSAGE properties.
author | Joeri van Ruth <joeri.van.ruth@monetdbsolutions.com> |
---|---|
date | Fri, 14 Jun 2024 15:57:49 +0200 (10 months ago) |
parents | 6e8ff2818fa7 |
children | a52bc2dcdb8c |
line wrap: on
line diff
--- a/src/main/java/org/monetdb/jdbc/MonetConnection.java +++ b/src/main/java/org/monetdb/jdbc/MonetConnection.java @@ -224,6 +224,11 @@ public class MonetConnection throw sqle; } + // send any clientinfo + if (server.hasClientInfo()) { + sendControlCommand("clientinfo " + server.getClientInfo().format()); + } + // Now take care of any options not handled during the handshake curReplySize = defaultFetchSize; if (lang == LANG_SQL) {