In some database middleware libraries it is possible to connect to, and execute queries against, multiple databases in the context of a single query, with the middleware joining the relations from the different sources for consumption by a client. These are known as "heterogeneous joins".
Heterogeneous-services is an overarching category that relates to the ability of broker applications to unite and harmonize disparate systems into a single interface for transparent use by a client.