@vd I believe it’s the Java Threading OneAgent feature - which can be modified for a process group, but by disabling you may break some existing traces for you.
The (ideal) solution for that would be likely the span linking OpenTelemetry feature. Since in your case you are trying to merge two traces. The second one starts with spinning up the thread, but you want to start it when the thread picks up the record from a database. You cannot tell OneAgent not to start a trace from your code.