Skip to content

Commit c48dfea

Browse files
authored
Fix tests for hibernate 7.2.0.CR1 (#14921)
1 parent 5514595 commit c48dfea

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

instrumentation/hibernate/hibernate-6.0/javaagent/src/main/java/io/opentelemetry/javaagent/instrumentation/hibernate/v6_0/SessionFactoryInstrumentation.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,8 @@ public void transform(TypeTransformer transformer) {
4545
namedOneOf(
4646
"org.hibernate.Session",
4747
"org.hibernate.StatelessSession",
48-
"org.hibernate.internal.SessionImpl"))),
48+
"org.hibernate.internal.SessionImpl",
49+
"org.hibernate.engine.spi.SessionImplementor"))),
4950
SessionFactoryInstrumentation.class.getName() + "$SessionFactoryAdvice");
5051
}
5152

0 commit comments

Comments
 (0)