Adjust expectations regarding OpenTelemetry JDBC operation names after Hibernate ORM bump to 6.5 #1783
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
After quarkusio/quarkus#40102 actual DB query changes as now, during the UPDATE with JDBC MSSQL, the alias is used. The DB statement now looks like this:
update ae1_0 set amount=?,updatedAt=? from account ae1_0 where ae1_0.accountNumber=?
which results in alias being used instead of database name.I could not find anything in OTel specs in this regards, the closes I got is the first link open-telemetry/opentelemetry-java-instrumentation#7821, but it seems like a grey area and I don't think it's a bug.
Please select the relevant options.
run tests
phrase in comment)Checklist: