Hi Andy,
Thanks for your message.
I think there's a misunderstanding here. The question you linked talks about "databases" in the sense of a MySQL "database", which is really a schema. You probably have a "database" in mind in the sense of an Oracle "instance" or "server", which is really a catalog.
Few databases allow you to write queries across catalogs. SQL Server is the only one I'm aware of that can do it out-of-the-box, whereas in Oracle, you would be specifying a database link.
If your setup requires that you have two separate data sources, there's no reasonable way to join across "databases" over the two data sources, apart from doing that in Java memory (which is a pity, performance wise). However, maybe you can configure a data source to have the necessary grants required to access both "databases" in your server.
I hope this helped more than it contributed to confusion :)
If you have any further question, please feel free to ask, providing some more details about your actual environment.
Thanks,
Lukas