Expected behavior
JDBC telemetry should filter on query with mixed case "SELECT" cmd
Actual behavior
Filtering only on uppercase "SELECT"
To Reproduce
enable jdbc telemetry in AI-Agent.xml. Then create a slow jdbc query with lowercase "select" to activate the explain plan.
Sample Application
See the code from application insights.
https://github.com/Microsoft/ApplicationInsights-Java/blob/master/core/src/main/java/com/microsoft/applicationinsights/internal/agent/CoreAgentNotificationsHandler.java

Expected behavior
JDBC telemetry should filter on query with mixed case "SELECT" cmd
Actual behavior
Filtering only on uppercase "SELECT"
To Reproduce
enable jdbc telemetry in AI-Agent.xml. Then create a slow jdbc query with lowercase "select" to activate the explain plan.
Sample Application
See the code from application insights.
https://github.com/Microsoft/ApplicationInsights-Java/blob/master/core/src/main/java/com/microsoft/applicationinsights/internal/agent/CoreAgentNotificationsHandler.java