Elastic apm - black holes in transactions

Kibana version:
8.14
Elasticsearch version:
8.14
APM Server version:
8.14
APM Agent language and version:
1.50

Hi,
We try to debug slow response in java app using elastic APM.
We got something like a black holes, about 7 secs when nothing is reported and we don't know why this high latency came in.

Any ideas what happened between SELECT FROM dbo.PROCESS_INSTANCES and UPDATE SPRING_SESSION ?

Your transaction likely spends its time in code that is not covered by our supported instrumentations. You can use the inferred spans feature to use profiling to uncover which code causes this latency.