We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7518254 commit d919144Copy full SHA for d919144
src/main/java/com/microsoft/sqlserver/jdbc/SQLServerConnection.java
@@ -314,6 +314,7 @@ public String toString() {
314
private static final Lock sLock = new ReentrantLock();
315
316
static final String USER_AGENT_TEMPLATE = "%s|%s|%s|%s|%s|%s|%s";
317
+ static final String USER_AGENT_EXT_VERSION_AND_DRIVER_NAME = "1|MS-JDBC";
318
static final String userAgentStr;
319
320
static {
@@ -333,7 +334,7 @@ static String getUserAgent() {
333
334
getRuntimeDetails()
335
);
336
} catch(Exception e) {
- return "MS-JDBC";
337
+ return USER_AGENT_EXT_VERSION_AND_DRIVER_NAME;
338
}
339
340
0 commit comments